#include <MyGUI_Align.h>
|
enum | Enum {
HCenter = 0,
VCenter = 0,
Center = HCenter | VCenter,
Left = (1<<( 1 )),
Right = (1<<( 2 )),
HStretch = Left | Right,
Top = (1<<( 3 )),
Bottom = (1<<( 4 )),
VStretch = Top | Bottom,
Stretch = HStretch | VStretch,
Default = Left | Top
} |
|
typedef std::map< std::string,
int > | MapAlign |
|
Definition at line 19 of file MyGUI_Align.h.
Enumerator |
---|
HCenter |
center horizontally
|
VCenter |
center vertically
|
Center |
center in the dead center
|
Left |
value from the left (and center vertically)
|
Right |
value from the right (and center vertically)
|
HStretch |
stretch horizontally proportionate to parent window (and center vertically)
|
Top |
value from the top (and center horizontally)
|
Bottom |
value from the bottom (and center horizontally)
|
VStretch |
stretch vertically proportionate to parent window (and center horizontally)
|
Stretch |
stretch proportionate to parent window
|
Default |
default value (value from left and top)
|
Definition at line 21 of file MyGUI_Align.h.
int MyGUI::Align::getValue |
( |
| ) |
const |
|
inline |
bool MyGUI::Align::isBottom |
( |
| ) |
const |
|
inline |
bool MyGUI::Align::isCenter |
( |
| ) |
const |
|
inline |
bool MyGUI::Align::isDefault |
( |
| ) |
const |
|
inline |
bool MyGUI::Align::isHCenter |
( |
| ) |
const |
|
inline |
bool MyGUI::Align::isHStretch |
( |
| ) |
const |
|
inline |
bool MyGUI::Align::isLeft |
( |
| ) |
const |
|
inline |
bool MyGUI::Align::isRight |
( |
| ) |
const |
|
inline |
bool MyGUI::Align::isStretch |
( |
| ) |
const |
|
inline |
bool MyGUI::Align::isTop |
( |
| ) |
const |
|
inline |
bool MyGUI::Align::isVCenter |
( |
| ) |
const |
|
inline |
bool MyGUI::Align::isVStretch |
( |
| ) |
const |
|
inline |
Align& MyGUI::Align::operator|= |
( |
Align const & |
_other | ) |
|
|
inline |
static Align MyGUI::Align::parse |
( |
const std::string & |
_value | ) |
|
|
inlinestatic |
std::string MyGUI::Align::print |
( |
| ) |
const |
|
inline |
bool operator!= |
( |
Align const & |
a, |
|
|
Align const & |
b |
|
) |
| |
|
friend |
std::ostream& operator<< |
( |
std::ostream & |
_stream, |
|
|
const Align & |
_value |
|
) |
| |
|
friend |
bool operator== |
( |
Align const & |
a, |
|
|
Align const & |
b |
|
) |
| |
|
friend |
std::istream& operator>> |
( |
std::istream & |
_stream, |
|
|
Align & |
_value |
|
) |
| |
|
friend |
The documentation for this struct was generated from the following file: