Chicane

Style

Header
Chicane/Grid/Style.hpp
Namespace
Chicane::Grid::Style

Estilização dos componentes UI.

Tipos

TypeNameDescription
std::unordered_map<std::string, std::string>Source
std::unordered_map<std::string, Source>Sources
std::unordered_map<std::string, Style>Styles

Funções

AcessoModificadorTipoNomeDescrição
publicstaticconst Style&empty()
publicstaticSourcesextractStyleFromString(const std::string& inRawData)
publicstaticSourcesextractStyleFromFile(const std::string& inFilePath)
publicstaticvoidaddStyle(const pugi::xml_node& inNode)
publicstaticconst Style&getStyle(const pugi::xml_node& inNode)

Propriedades

AcessoModificadorTipoNomeDescrição
publicconstexpr const char*BACKGROUND_COLOR_TRANSPARENT
publicconstexpr const char*HEX_COLOR_TRANSPARENT
publicDisplaydisplay
publicfloatheight
publicfloatwidth
publicPositionposition
publicAlignmenthorizontalAlignment
publicAlignmentverticalAlignment
publicDirectionalSizegap
publicDirectionalSizemargin
publicListDirectionlistDirection
publicstd::stringbackgroundColor
publicstd::stringforegroundColor