|
HikoGUI
A low latency retained GUI
|
Public Types | |
| enum class | widget_state : uin8_t |
Public Member Functions | |
| theme_widget_values & | set_selector (std::string const &selector) noexcept |
| Set the widget's selector, so that the values can be looked up from the theme. | |
| theme_widget_values & | set_pixel_density (pixel_density const &pixel_density) noexcept |
| theme_widget_values & | set_widget_state (widget_state const &state) noexcept |
|
inlinenoexcept |
Set the widget's selector, so that the values can be looked up from the theme.
The selector syntax is designed so that it is easy to concatonate the selectors of the parent widget and to append an user-specified selector.
Each widget will have a default selector which starts with a '/' which is the separator for each widget. It is followed by the name of the widget and is then followed by a ' '.
The syntax for a selector is as follows: