HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes
hi::v1::theme_variable< T, Tag > Class Template Reference

Public Types

using value_type = T
 

Public Member Functions

 theme_variable (theme_variable const &)=delete
 
 theme_variable (theme_variable &&)=delete
 
theme_variableoperator= (theme_variable const &)=delete
 
theme_variableoperator= (theme_variable &&)=delete
 
 theme_variable (theme_selector const &selector) noexcept
 
value_type const & operator* () const noexcept
 
template<typename... Args>
decltype(auto) operator() (Args const &... args) const noexcept
 
template<typename Arg >
decltype(auto) operator[] (Arg const &arg) const noexcept
 

Static Public Member Functions

static void set (theme_selector const &needle, value_type const &value) noexcept
 Set the value for all variables matching a selector.
 

Static Public Attributes

static constexpr auto tag = Tag
 

Member Function Documentation

◆ set()

template<typename T , fixed_string Tag>
static void hi::v1::theme_variable< T, Tag >::set ( theme_selector const & needle,
value_type const & value )
inlinestaticnoexcept

Set the value for all variables matching a selector.

Parameters
needleA theme-selector for searching variables.
valueThe value to set.

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