#include <MyGUI_Align.h>
Public Types | |
| enum | Enum { HCenter = MYGUI_FLAG_NONE, VCenter = MYGUI_FLAG_NONE, Center = HCenter | VCenter, Left = MYGUI_FLAG(1), Right = MYGUI_FLAG(2), HStretch = Left | Right, Top = MYGUI_FLAG(3), Bottom = MYGUI_FLAG(4), VStretch = Top | Bottom, Stretch = HStretch | VStretch, Default = Left | Top, HRelative = MYGUI_FLAG(5), VRelative = MYGUI_FLAG(6), Relative = HRelative | VRelative } |
| typedef std::map< std::string, int > | MapAlign |
Public Member Functions | |
| Align (Enum _value=Default) | |
| bool | isHCenter () const |
| bool | isVCenter () const |
| bool | isCenter () const |
| bool | isLeft () const |
| bool | isRight () const |
| bool | isHStretch () const |
| bool | isTop () const |
| bool | isBottom () const |
| bool | isVStretch () const |
| bool | isStretch () const |
| bool | isDefault () const |
| bool | isHRelative () const |
| bool | isVRelative () const |
| bool | isRelative () const |
| Align & | operator|= (Align const &_other) |
| std::string | print () const |
Static Public Member Functions | |
| static Align | parse (const std::string &_value) |
Friends | |
| Align | operator| (Enum const &a, Enum const &b) |
| Align | operator| (Align const &a, Align const &b) |
| bool | operator== (Align const &a, Align const &b) |
| bool | operator!= (Align const &a, Align const &b) |
| std::ostream & | operator<< (std::ostream &_stream, const Align &_value) |
| std::istream & | operator>> (std::istream &_stream, Align &_value) |
Definition at line 34 of file MyGUI_Align.h.
| typedef std::map<std::string, int> MyGUI::Align::MapAlign |
Definition at line 86 of file MyGUI_Align.h.
| enum MyGUI::Align::Enum |
Definition at line 36 of file MyGUI_Align.h.
| MyGUI::Align::Align | ( | Enum | _value = Default |
) | [inline] |
Definition at line 58 of file MyGUI_Align.h.
| bool MyGUI::Align::isBottom | ( | ) | const [inline] |
Definition at line 69 of file MyGUI_Align.h.
| bool MyGUI::Align::isCenter | ( | ) | const [inline] |
Definition at line 62 of file MyGUI_Align.h.
| bool MyGUI::Align::isDefault | ( | ) | const [inline] |
Definition at line 73 of file MyGUI_Align.h.
| bool MyGUI::Align::isHCenter | ( | ) | const [inline] |
Definition at line 60 of file MyGUI_Align.h.
| bool MyGUI::Align::isHRelative | ( | ) | const [inline] |
Definition at line 75 of file MyGUI_Align.h.
| bool MyGUI::Align::isHStretch | ( | ) | const [inline] |
Definition at line 66 of file MyGUI_Align.h.
| bool MyGUI::Align::isLeft | ( | ) | const [inline] |
Definition at line 64 of file MyGUI_Align.h.
| bool MyGUI::Align::isRelative | ( | ) | const [inline] |
Definition at line 77 of file MyGUI_Align.h.
| bool MyGUI::Align::isRight | ( | ) | const [inline] |
Definition at line 65 of file MyGUI_Align.h.
| bool MyGUI::Align::isStretch | ( | ) | const [inline] |
Definition at line 72 of file MyGUI_Align.h.
| bool MyGUI::Align::isTop | ( | ) | const [inline] |
Definition at line 68 of file MyGUI_Align.h.
| bool MyGUI::Align::isVCenter | ( | ) | const [inline] |
Definition at line 61 of file MyGUI_Align.h.
| bool MyGUI::Align::isVRelative | ( | ) | const [inline] |
Definition at line 76 of file MyGUI_Align.h.
| bool MyGUI::Align::isVStretch | ( | ) | const [inline] |
Definition at line 70 of file MyGUI_Align.h.
Definition at line 79 of file MyGUI_Align.h.
| static Align MyGUI::Align::parse | ( | const std::string & | _value | ) | [inline, static] |
Definition at line 88 of file MyGUI_Align.h.
| std::string MyGUI::Align::print | ( | ) | const [inline] |
Definition at line 104 of file MyGUI_Align.h.
Definition at line 84 of file MyGUI_Align.h.
| std::ostream& operator<< | ( | std::ostream & | _stream, | |
| const Align & | _value | |||
| ) | [friend] |
Definition at line 127 of file MyGUI_Align.h.
Definition at line 83 of file MyGUI_Align.h.
| std::istream& operator>> | ( | std::istream & | _stream, | |
| Align & | _value | |||
| ) | [friend] |
Definition at line 133 of file MyGUI_Align.h.
Definition at line 81 of file MyGUI_Align.h.
Definition at line 80 of file MyGUI_Align.h.
1.6.3