20 lines
1.0 KiB
C
20 lines
1.0 KiB
C
struct ui_style_stacks
|
|
{
|
|
ui_box * ParentStack[64]; s32 ParentStackUsed; b32 AutoPopParent;
|
|
ui_size WidthStack[64]; s32 WidthStackUsed; b32 AutoPopWidth;
|
|
ui_size HeightStack[64]; s32 HeightStackUsed; b32 AutoPopHeight;
|
|
r32 FixedXStack[64]; s32 FixedXStackUsed; b32 AutoPopFixedX;
|
|
r32 FixedYStack[64]; s32 FixedYStackUsed; b32 AutoPopFixedY;
|
|
v4 TextColorStack[64]; s32 TextColorStackUsed; b32 AutoPopTextColor;
|
|
v4 BackgroundColorStack[64]; s32 BackgroundColorStackUsed; b32 AutoPopBackgroundColor;
|
|
v4 BorderColorStack[64]; s32 BorderColorStackUsed; b32 AutoPopBorderColor;
|
|
r32 BorderThicknessStack[64]; s32 BorderThicknessStackUsed; b32 AutoPopBorderThickness;
|
|
axis2 LayoutAxisStack[64]; s32 LayoutAxisStackUsed; b32 AutoPopLayoutAxis;
|
|
r32 CornerRadiusStack[64]; s32 CornerRadiusStackUsed; b32 AutoPopCornerRadius;
|
|
font_id FontStack[64]; s32 FontStackUsed; b32 AutoPopFont;
|
|
r32 FontSizeStack[64]; s32 FontSizeStackUsed; b32 AutoPopFontSize;
|
|
r32 OffsetXStack[64]; s32 OffsetXStackUsed; b32 AutoPopOffsetX;
|
|
r32 OffsetYStack[64]; s32 OffsetYStackUsed; b32 AutoPopOffsetY;
|
|
};
|
|
|