You.i Engine
YiAnchor.h
Go to the documentation of this file.
1 // © You i Labs Inc. 2000-2020. All rights reserved.
2 #ifndef _YI_ANCHOR_H_
3 #define _YI_ANCHOR_H_
4 
5 #include "utility/YiString.h"
6 
7 enum class EYIAnchorType
8 {
9  Scale = 0,
44  NoScaleTop,
46  NoScaleLeft,
48  NoScaleRight,
52  StaticMargin,
53  Sizing,
56 };
57 
59 {
60  TopLeft = 0,
61  Top,
62  TopRight,
63  Left,
64  Center,
65  Right,
66  BottomLeft,
67  Bottom,
69 
71 };
72 
73 enum class EYIAnchorGroup
74 {
75  Scale = 0,
76  ScaleWidth,
81  NoScale,
83  Sizing
84 };
85 
87 {
88  YI_ANCHOR_PROPERTY(const char *Name, const EYIAnchorPosition Position, const EYIAnchorGroup Group);
92 };
93 
95 
96 #endif // _YI_ANCHOR_H_
Container class for Unicode strings. Conceptually, a CYIString object is a sequence of Unicode charac...
Definition: YiString.h:36
EYIAnchorPosition m_Position
Definition: YiAnchor.h:90
Definition: YiAnchor.h:86
EYIAnchorPosition
Definition: YiAnchor.h:58
EYIAnchorGroup m_Group
Definition: YiAnchor.h:91
unsigned long size_t
Definition: YiPredefApple.h:117
EYIAnchorGroup
Definition: YiAnchor.h:73
CYIString m_Name
Definition: YiAnchor.h:89
EYIAnchorType
Definition: YiAnchor.h:7
const YI_ANCHOR_PROPERTY YiAnchorProperty[(size_t) EYIAnchorType::AnchorTypesCount]