#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.
◆ MapAlign
◆ Enum
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.
◆ Align()
◆ getValue()
int MyGUI::Align::getValue |
( |
| ) |
const |
|
inline |
◆ isBottom()
bool MyGUI::Align::isBottom |
( |
| ) |
const |
|
inline |
◆ isCenter()
bool MyGUI::Align::isCenter |
( |
| ) |
const |
|
inline |
◆ isDefault()
bool MyGUI::Align::isDefault |
( |
| ) |
const |
|
inline |
◆ isHCenter()
bool MyGUI::Align::isHCenter |
( |
| ) |
const |
|
inline |
◆ isHStretch()
bool MyGUI::Align::isHStretch |
( |
| ) |
const |
|
inline |
◆ isLeft()
bool MyGUI::Align::isLeft |
( |
| ) |
const |
|
inline |
◆ isRight()
bool MyGUI::Align::isRight |
( |
| ) |
const |
|
inline |
◆ isStretch()
bool MyGUI::Align::isStretch |
( |
| ) |
const |
|
inline |
◆ isTop()
bool MyGUI::Align::isTop |
( |
| ) |
const |
|
inline |
◆ isVCenter()
bool MyGUI::Align::isVCenter |
( |
| ) |
const |
|
inline |
◆ isVStretch()
bool MyGUI::Align::isVStretch |
( |
| ) |
const |
|
inline |
◆ operator|=()
Align & MyGUI::Align::operator|= |
( |
Align const & |
_other | ) |
|
|
inline |
◆ parse()
static Align MyGUI::Align::parse |
( |
const std::string & |
_value | ) |
|
|
inlinestatic |
◆ print()
std::string MyGUI::Align::print |
( |
| ) |
const |
|
inline |
◆ operator!=
bool operator!= |
( |
Align const & |
a, |
|
|
Align const & |
b |
|
) |
| |
|
friend |
◆ operator<<
std::ostream & operator<< |
( |
std::ostream & |
_stream, |
|
|
const Align & |
_value |
|
) |
| |
|
friend |
◆ operator==
bool operator== |
( |
Align const & |
a, |
|
|
Align const & |
b |
|
) |
| |
|
friend |
◆ operator>>
std::istream & operator>> |
( |
std::istream & |
_stream, |
|
|
Align & |
_value |
|
) |
| |
|
friend |
◆ operator| [1/2]
◆ operator| [2/2]
The documentation for this struct was generated from the following file: