#include <MyGUI_Align.h>
|
| 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
} |
| using | MapAlign = std::map<std::string, Align> |
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()
| Align MyGUI::Align::parse |
( |
std::string_view | _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: