HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
hi::v1::toolbar_tab_button_widget::attributes_type Struct Reference

Public Member Functions

 attributes_type (attributes_type const &) noexcept=default
 
 attributes_type (attributes_type &&) noexcept=default
 
attributes_typeoperator= (attributes_type const &) noexcept=default
 
attributes_typeoperator= (attributes_type &&) noexcept=default
 
template<toolbar_tab_button_widget_attribute... Attributes>
 attributes_type (Attributes &&...attributes) noexcept
 
template<size_t NumLabels>
void set_attributes () noexcept
 
template<size_t NumLabels, toolbar_tab_button_widget_attribute First, toolbar_tab_button_widget_attribute... Rest>
void set_attributes (First &&first, Rest &&...rest) noexcept
 

Data Fields

observer< label > on_label = txt("on")
 The label to show when the button is in the 'on' state.
 
observer< label > off_label = txt("off")
 The label to show when the button is in the 'off' state.
 
observer< semantic_text_style > text_style = semantic_text_style::label
 The text style to button's label.
 
observer< alignmentalignment = alignment::top_center()
 

Field Documentation

◆ off_label

observer<label> hi::v1::toolbar_tab_button_widget::attributes_type::off_label = txt("off")

The label to show when the button is in the 'off' state.

◆ on_label

observer<label> hi::v1::toolbar_tab_button_widget::attributes_type::on_label = txt("on")

The label to show when the button is in the 'on' state.

◆ text_style

observer<semantic_text_style> hi::v1::toolbar_tab_button_widget::attributes_type::text_style = semantic_text_style::label

The text style to button's label.


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