CGuiTextSupport: Make enum formatting consistent

This commit is contained in:
Lioncash 2020-04-23 02:41:22 -04:00
parent b700da547e
commit 419d40051d
1 changed files with 17 additions and 3 deletions

View File

@ -19,7 +19,18 @@ class CSimplePool;
class CTextExecuteBuffer; class CTextExecuteBuffer;
class CTextRenderBuffer; class CTextRenderBuffer;
enum class EJustification { Left = 0, Center, Right, Full, NLeft, NCenter, NRight, LeftMono, CenterMono, RightMono }; enum class EJustification {
Left = 0,
Center,
Right,
Full,
NLeft,
NCenter,
NRight,
LeftMono,
CenterMono,
RightMono,
};
enum class EVerticalJustification { enum class EVerticalJustification {
Top = 0, Top = 0,
@ -31,10 +42,13 @@ enum class EVerticalJustification {
NBottom, NBottom,
TopMono, TopMono,
CenterMono, CenterMono,
RightMono RightMono,
}; };
enum class ETextDirection { Horizontal, Vertical }; enum class ETextDirection {
Horizontal,
Vertical,
};
class CGuiTextProperties { class CGuiTextProperties {
friend class CGuiTextSupport; friend class CGuiTextSupport;