|
HikoGUI
A low latency retained GUI
|
#include <hikogui/GUI/theme_book.hpp>
Public Member Functions | |
| theme_book (theme_book const &)=delete | |
| theme_book (theme_book &&)=delete | |
| theme_book & | operator= (theme_book const &)=delete |
| theme_book & | operator= (theme_book &&)=delete |
| void | register_directory (std::filesystem::path path) noexcept |
| void | reload () noexcept |
| std::vector< std::string > | names () const noexcept |
| theme const & | find (std::string_view name, theme_mode mode) const noexcept |
| Find a theme matching the name and mode. | |
Static Public Member Functions | |
| static theme_book & | global () noexcept |
Data Fields | |
| observer< std::string > | selected_theme = "default" |
| The name of the selected theme. | |
theme_book keeps track of multiple themes.
|
inlinenoexcept |
Find a theme matching the name and mode.
| name | The name of the theme to select. |
| mode | The mode of the theme to select. |
| observer<std::string> v1::theme_book::selected_theme = "default" |
The name of the selected theme.