message_box.h
1 /*
2 ** ClanLib SDK
3 ** Copyright (c) 1997-2013 The ClanLib Team
4 **
5 ** This software is provided 'as-is', without any express or implied
6 ** warranty. In no event will the authors be held liable for any damages
7 ** arising from the use of this software.
8 **
9 ** Permission is granted to anyone to use this software for any purpose,
10 ** including commercial applications, and to alter it and redistribute it
11 ** freely, subject to the following restrictions:
12 **
13 ** 1. The origin of this software must not be misrepresented; you must not
14 ** claim that you wrote the original software. If you use this software
15 ** in a product, an acknowledgment in the product documentation would be
16 ** appreciated but is not required.
17 ** 2. Altered source versions must be plainly marked as such, and must not be
18 ** misrepresented as being the original software.
19 ** 3. This notice may not be removed or altered from any source distribution.
20 **
21 ** Note: Some of the libraries ClanLib may link to may have additional
22 ** requirements or restrictions.
23 **
24 ** File Author(s):
25 **
26 ** Harry Storbacka
27 */
28 
29 
30 #pragma once
31 
32 #include "../api_gui.h"
33 #include "../gui_component.h"
34 #include "../../Core/Signals/callback_v0.h"
35 #include "../../Display/Render/graphic_context.h"
36 
37 namespace clan
38 {
41 
43 {
48 };
49 
51 {
56 };
57 
59 {
65 };
66 
68  GUIComponent *owner,
69  std::string title,
70  std::string detail_text,
71  MessageBoxButtons buttons,
72  MessageBoxIcon icon);
73 
75  GUIManager *gui_manager,
76  std::string title,
77  std::string detail_text,
78  MessageBoxButtons buttons,
79  MessageBoxIcon icon);
80 
81 }
82 
Definition: message_box.h:45
MessageBoxIcon
Definition: message_box.h:58
Definition: message_box.h:53
Definition: message_box.h:63
MessageBoxResult message_box(GUIComponent *owner, std::string title, std::string detail_text, MessageBoxButtons buttons, MessageBoxIcon icon)
MessageBoxButtons
Definition: message_box.h:50
Definition: message_box.h:52
Definition: message_box.h:47
MessageBoxResult
Definition: message_box.h:42
Definition: message_box.h:55
Definition: message_box.h:44
Definition: message_box.h:62
Definition: message_box.h:54
Definition: message_box.h:60
Definition: message_box.h:61
Definition: message_box.h:46
Definition: message_box.h:64