![]() |
Cytopia
0.3
A city building simulation game
|
#include <Layout.hxx>
Public Attributes | |
std::string | alignment |
<mandatory> where the element should be placed. e.g. CENTER More... | |
std::string | layoutType |
<mandatory> how to layout, default = HORIZONTAL More... | |
std::string | layoutParentElementID |
elementID of the parent UiElement this group should be aligned to. More... | |
float | alignmentOffset = 0.0F |
Offset in percent to the screen point. can be negative. More... | |
int | padding = 0 |
padding between elements in pixels More... | |
int | paddingToParent = 0 |
padding between this group and the parent in pixels More... | |
int | groupHeight = 0 |
<internal> height of all elements in group More... | |
int | groupWidth = 0 |
<internal> Width of all elements in group More... | |
uint32_t | fontSize = 20 |
<internal> default font size of all elements in group More... | |
struct ImFont * | font = nullptr |
<internal> font pointer for elements More... | |
Definition at line 7 of file Layout.hxx.
std::string LayoutData::alignment |
<mandatory> where the element should be placed. e.g. CENTER
Definition at line 9 of file Layout.hxx.
float LayoutData::alignmentOffset = 0.0F |
Offset in percent to the screen point. can be negative.
Definition at line 12 of file Layout.hxx.
struct ImFont* LayoutData::font = nullptr |
<internal> font pointer for elements
Definition at line 18 of file Layout.hxx.
uint32_t LayoutData::fontSize = 20 |
<internal> default font size of all elements in group
Definition at line 17 of file Layout.hxx.
int LayoutData::groupHeight = 0 |
<internal> height of all elements in group
Definition at line 15 of file Layout.hxx.
int LayoutData::groupWidth = 0 |
<internal> Width of all elements in group
Definition at line 16 of file Layout.hxx.
std::string LayoutData::layoutParentElementID |
elementID of the parent UiElement this group should be aligned to.
Definition at line 11 of file Layout.hxx.
std::string LayoutData::layoutType |
<mandatory> how to layout, default = HORIZONTAL
Definition at line 10 of file Layout.hxx.
int LayoutData::padding = 0 |
padding between elements in pixels
Definition at line 13 of file Layout.hxx.
int LayoutData::paddingToParent = 0 |
padding between this group and the parent in pixels
Definition at line 14 of file Layout.hxx.