#include <hikogui/GUI/theme_book.hpp>
theme_book keeps track of multiple themes.
◆ find()
theme const & v1::theme_book::find |
( |
std::string_view | name, |
|
|
theme_mode | mode ) const |
|
inlinenoexcept |
Find a theme matching the name and mode.
- Parameters
-
name | The name of the theme to select. |
mode | The mode of the theme to select. |
- Returns
- A theme most closely matching the requested theme.
◆ selected_theme
observer<std::string> v1::theme_book::selected_theme = "default" |
The name of the selected theme.
The documentation for this class was generated from the following file: