Enumerations | Functions

message_box.h File Reference

#include "../api_gui.h"
#include "../gui_component.h"
#include "../../Core/Signals/callback_v0.h"
#include "../../Display/Render/graphic_context.h"
#include "window.h"
Include dependency graph for message_box.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  CL_MessageBoxButtons { cl_mb_buttons_yes_no, cl_mb_buttons_yes_no_cancel, cl_mb_buttons_ok, cl_mb_buttons_ok_cancel }
enum  CL_MessageBoxIcon {
  cl_mb_icon_none, cl_mb_icon_warning, cl_mb_icon_info, cl_mb_icon_error,
  cl_mb_icon_question
}
enum  CL_MessageBoxResult { cl_mb_result_yes, cl_mb_result_no, cl_mb_result_cancel, cl_mb_result_ok }

Functions

CL_MessageBoxResult cl_message_box (CL_GUIComponent *owner, CL_String title, CL_String detail_text, CL_MessageBoxButtons buttons, CL_MessageBoxIcon icon)
CL_MessageBoxResult cl_message_box (CL_GUIManager *gui_manager, CL_String title, CL_String detail_text, CL_MessageBoxButtons buttons, CL_MessageBoxIcon icon)