MyGUI 3.0.1
|
#include <MyGUI_MessageStyle.h>
Public Types | |
enum | Enum { None = MYGUI_FLAG_NONE, Ok = MYGUI_FLAG(0), Yes = MYGUI_FLAG(1), No = MYGUI_FLAG(2), Abort = MYGUI_FLAG(3), Retry = MYGUI_FLAG(4), Ignore = MYGUI_FLAG(5), Cancel = MYGUI_FLAG(6), Try = MYGUI_FLAG(7), Continue = MYGUI_FLAG(8), _IndexUserButton1 = 9, Button1 = MYGUI_FLAG(_IndexUserButton1), Button2 = MYGUI_FLAG(_IndexUserButton1 + 1), Button3 = MYGUI_FLAG(_IndexUserButton1 + 2), Button4 = MYGUI_FLAG(_IndexUserButton1 + 3), _CountUserButtons = 4, _IndexIcon1 = _IndexUserButton1 + _CountUserButtons, IconDefault = MYGUI_FLAG(_IndexIcon1), IconInfo = MYGUI_FLAG(_IndexIcon1), IconQuest = MYGUI_FLAG(_IndexIcon1 + 1), IconError = MYGUI_FLAG(_IndexIcon1 + 2), IconWarning = MYGUI_FLAG(_IndexIcon1 + 3), Icon1 = MYGUI_FLAG(_IndexIcon1), Icon2 = MYGUI_FLAG(_IndexIcon1 + 1), Icon3 = MYGUI_FLAG(_IndexIcon1 + 2), Icon4 = MYGUI_FLAG(_IndexIcon1 + 3), Icon5 = MYGUI_FLAG(_IndexIcon1 + 4), Icon6 = MYGUI_FLAG(_IndexIcon1 + 5), Icon7 = MYGUI_FLAG(_IndexIcon1 + 6), Icon8 = MYGUI_FLAG(_IndexIcon1 + 7) } |
typedef std::map< std::string, int > | MapAlign |
Public Member Functions | |
MessageBoxStyle (Enum _value=None) | |
MessageBoxStyle & | operator|= (MessageBoxStyle const &_other) |
MessageBoxStyle | operator| (Enum const &a) |
size_t | getIconIndex () |
size_t | getButtonIndex () |
std::vector< MessageBoxStyle > | getButtons () |
Static Public Member Functions | |
static MessageBoxStyle | parse (const std::string &_value) |
Friends | |
MessageBoxStyle | operator| (Enum const &a, Enum const &b) |
bool | operator== (MessageBoxStyle const &a, MessageBoxStyle const &b) |
bool | operator!= (MessageBoxStyle const &a, MessageBoxStyle const &b) |
std::ostream & | operator<< (std::ostream &_stream, const MessageBoxStyle &_value) |
std::istream & | operator>> (std::istream &_stream, MessageBoxStyle &_value) |
Definition at line 32 of file MyGUI_MessageStyle.h.
typedef std::map<std::string, int> MyGUI::MessageBoxStyle::MapAlign |
Definition at line 153 of file MyGUI_MessageStyle.h.
Definition at line 35 of file MyGUI_MessageStyle.h.
MyGUI::MessageBoxStyle::MessageBoxStyle | ( | Enum | _value = None | ) | [inline] |
Definition at line 75 of file MyGUI_MessageStyle.h.
size_t MyGUI::MessageBoxStyle::getButtonIndex | ( | ) | [inline] |
Definition at line 116 of file MyGUI_MessageStyle.h.
std::vector<MessageBoxStyle> MyGUI::MessageBoxStyle::getButtons | ( | ) | [inline] |
Definition at line 133 of file MyGUI_MessageStyle.h.
size_t MyGUI::MessageBoxStyle::getIconIndex | ( | ) | [inline] |
Definition at line 99 of file MyGUI_MessageStyle.h.
MessageBoxStyle MyGUI::MessageBoxStyle::operator| | ( | Enum const & | a | ) | [inline] |
Definition at line 79 of file MyGUI_MessageStyle.h.
MessageBoxStyle& MyGUI::MessageBoxStyle::operator|= | ( | MessageBoxStyle const & | _other | ) | [inline] |
Definition at line 77 of file MyGUI_MessageStyle.h.
static MessageBoxStyle MyGUI::MessageBoxStyle::parse | ( | const std::string & | _value | ) | [inline, static] |
Definition at line 155 of file MyGUI_MessageStyle.h.
bool operator!= | ( | MessageBoxStyle const & | a, |
MessageBoxStyle const & | b | ||
) | [friend] |
Definition at line 82 of file MyGUI_MessageStyle.h.
std::ostream& operator<< | ( | std::ostream & | _stream, |
const MessageBoxStyle & | _value | ||
) | [friend] |
Definition at line 84 of file MyGUI_MessageStyle.h.
bool operator== | ( | MessageBoxStyle const & | a, |
MessageBoxStyle const & | b | ||
) | [friend] |
Definition at line 81 of file MyGUI_MessageStyle.h.
std::istream& operator>> | ( | std::istream & | _stream, |
MessageBoxStyle & | _value | ||
) | [friend] |
Definition at line 90 of file MyGUI_MessageStyle.h.
MessageBoxStyle operator| | ( | Enum const & | a, |
Enum const & | b | ||
) | [friend] |
Definition at line 78 of file MyGUI_MessageStyle.h.