Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00031
00032 #pragma once
00033
00034 #include "../api_gui.h"
00035 #include "../gui_component.h"
00036 #include "../../Core/Signals/callback_v0.h"
00037 #include "../../Display/Render/graphic_context.h"
00038 #include "window.h"
00039
00040 enum CL_MessageBoxResult
00041 {
00042 cl_mb_result_yes,
00043 cl_mb_result_no,
00044 cl_mb_result_cancel,
00045 cl_mb_result_ok,
00046 };
00047
00048 enum CL_MessageBoxButtons
00049 {
00050 cl_mb_buttons_yes_no,
00051 cl_mb_buttons_yes_no_cancel,
00052 cl_mb_buttons_ok,
00053 cl_mb_buttons_ok_cancel
00054 };
00055
00056 enum CL_MessageBoxIcon
00057 {
00058 cl_mb_icon_none,
00059 cl_mb_icon_warning,
00060 cl_mb_icon_info,
00061 cl_mb_icon_error,
00062 cl_mb_icon_question,
00063 };
00064
00065 CL_MessageBoxResult cl_message_box(
00066 CL_GUIComponent *owner,
00067 CL_String title,
00068 CL_String detail_text,
00069 CL_MessageBoxButtons buttons,
00070 CL_MessageBoxIcon icon);
00071
00072 CL_MessageBoxResult cl_message_box(
00073 CL_GUIManager *gui_manager,
00074 CL_String title,
00075 CL_String detail_text,
00076 CL_MessageBoxButtons buttons,
00077 CL_MessageBoxIcon icon);
00078