MCPcopy Create free account
hub / github.com/MyGUI/mygui / Enum

Enum Enum

MyGUIEngine/include/MyGUI_Align.h:21–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19 struct MYGUI_EXPORT Align
20 {
21 enum Enum
22 {
23 HCenter = MYGUI_FLAG_NONE, /**< center horizontally */
24 VCenter = MYGUI_FLAG_NONE, /**< center vertically */
25 Center = HCenter | VCenter, /**< center in the dead center */
26
27 Left = MYGUI_FLAG(1), /**< value from the left (and center vertically) */
28 Right = MYGUI_FLAG(2), /**< value from the right (and center vertically) */
29 HStretch = Left | Right, /**< stretch horizontally proportionate to parent window (and center vertically) */
30
31 Top = MYGUI_FLAG(3), /**< value from the top (and center horizontally) */
32 Bottom = MYGUI_FLAG(4), /**< value from the bottom (and center horizontally) */
33 VStretch = Top | Bottom, /**< stretch vertically proportionate to parent window (and center horizontally) */
34
35 Stretch = HStretch | VStretch, /**< stretch proportionate to parent window */
36 Default = Left | Top /**< default value (value from left and top) */
37 };
38
39 Align(Enum _value = Default) :
40 mValue(_value)

Callers 14

operator|Function · 0.70
parseFunction · 0.70
MyGUI_Align.hFile · 0.70
FromMethod · 0.50
FromMethod · 0.50
FromMethod · 0.50
FromMethod · 0.50
FromMethod · 0.50
FromMethod · 0.50
FromMethod · 0.50
FromMethod · 0.50
FromMethod · 0.50

Calls 1

MYGUI_FLAGFunction · 0.85

Tested by

no test coverage detected