UI Component styling.
Types
Type | Name | Description |
---|---|---|
std::unordered_map<std::string, std::string> | Source | |
std::unordered_map<std::string, Source> | Sources | |
std::unordered_map<std::string, Style> | Styles |
Functions
Access | Modifier | Type | Name | Description |
---|---|---|---|---|
public | static | const Style& | empty() | |
public | static | Sources | extractStyleFromString(const std::string& inRawData) | |
public | static | Sources | extractStyleFromFile(const std::string& inFilePath) | |
public | static | void | addStyle(const pugi::xml_node& inNode) | |
public | static | const Style& | getStyle(const pugi::xml_node& inNode) |
Properties
Access | Modifier | Type | Name | Description |
---|---|---|---|---|
public | constexpr const char* | BACKGROUND_COLOR_TRANSPARENT | ||
public | constexpr const char* | HEX_COLOR_TRANSPARENT | ||
public | Display | display | ||
public | float | height | ||
public | float | width | ||
public | Position | position | ||
public | Alignment | horizontalAlignment | ||
public | Alignment | verticalAlignment | ||
public | DirectionalSize | gap | ||
public | DirectionalSize | margin | ||
public | ListDirection | listDirection | ||
public | std::string | backgroundColor | ||
public | std::string | foregroundColor |