HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
Public Member Functions
v1::theme_book Class Reference

#include <hikogui/GUI/theme_book.hpp>

Public Member Functions

 theme_book (theme_book const &)=delete
 
 theme_book (theme_book &&)=delete
 
theme_bookoperator= (theme_book const &)=delete
 
theme_bookoperator= (theme_book &&)=delete
 
 theme_book (hi::font_book const &font_book, std::vector< std::filesystem::path > const &theme_directories) noexcept
 
std::vector< std::stringtheme_names () const noexcept
 
theme const & find (std::string name, theme_mode mode) const noexcept
 Find a theme matching the name and mode.
 

Detailed Description

theme_book keeps track of multiple themes.

Member Function Documentation

◆ find()

theme const & v1::theme_book::find ( std::string name,
theme_mode mode ) const
noexcept

Find a theme matching the name and mode.

Parameters
nameThe name of the theme to select.
modeThe mode of the theme to select.
Returns
A theme most closely matching the requested theme.

The documentation for this class was generated from the following file: