|
HikoGUI
A low latency retained GUI
|
#include <hikogui/theme/theme_model.hpp>
Public Member Functions | |
| theme_model_base (std::string_view tag) noexcept | |
| theme_sub_model & | operator[] (theme_state state) noexcept |
| theme_sub_model const & | operator[] (theme_state state) const noexcept |
| theme_sub_model const & | get_model (theme_delegate auto const *delegate) const noexcept |
| std::pair< theme_sub_model const &, int > | get_model_and_scale (theme_delegate auto const *delegate) const noexcept |
| hi::text_theme | text_theme (theme_delegate auto const *delegate) const noexcept |
| Get the text theme for this widget's model. | |
| color | background_color (theme_delegate auto const *delegate) const noexcept |
| color | fill_color (theme_delegate auto const *delegate) const noexcept |
| color | caret_primary_color (theme_delegate auto const *delegate) const noexcept |
| color | caret_secondary_color (theme_delegate auto const *delegate) const noexcept |
| color | caret_overwrite_color (theme_delegate auto const *delegate) const noexcept |
| color | caret_compose_color (theme_delegate auto const *delegate) const noexcept |
| color | selection_color (theme_delegate auto const *delegate) const noexcept |
| color | border_color (theme_delegate auto const *delegate) const noexcept |
| int | border_bottom_left_radius (theme_delegate auto const *delegate) const noexcept |
| int | border_bottom_right_radius (theme_delegate auto const *delegate) const noexcept |
| int | border_top_left_radius (theme_delegate auto const *delegate) const noexcept |
| int | border_top_right_radius (theme_delegate auto const *delegate) const noexcept |
| corner_radiii | border_radius (theme_delegate auto const *delegate) const noexcept |
| int | border_width (theme_delegate auto const *delegate) const noexcept |
| int | width (theme_delegate auto const *delegate) const noexcept |
| int | height (theme_delegate auto const *delegate) const noexcept |
| extent2i | size (theme_delegate auto const *delegate) const noexcept |
| int | margin_bottom (theme_delegate auto const *delegate) const noexcept |
| int | margin_left (theme_delegate auto const *delegate) const noexcept |
| int | margin_top (theme_delegate auto const *delegate) const noexcept |
| int | margin_right (theme_delegate auto const *delegate) const noexcept |
| marginsi | margin (theme_delegate auto const *delegate) const noexcept |
| int | spacing_vertical (theme_delegate auto const *delegate) const noexcept |
| int | spacing_horizontal (theme_delegate auto const *delegate) const noexcept |
| int | font_x_height (theme_delegate auto const *delegate) const noexcept |
| int | font_cap_height (theme_delegate auto const *delegate) const noexcept |
| int | font_line_height (theme_delegate auto const *delegate) const noexcept |
Static Public Member Functions | |
| static std::vector< std::string > | model_keys () noexcept |
| static theme_model_base & | model_by_key (std::string const &key) noexcept |
The theme models for all states for a specific widget component.
|
inlinenoexcept |
Get the text theme for this widget's model.
This function copies the text-theme of the model and scales the text-size. This should be moved into the text-shaper to reduce the amount of copies and allocations being done.