HikoGUI
Select Version: ⚠️ This documents the main development branch of HikoGUI. It might differ from release versions.
A low latency retained GUI
|
Public Member Functions | |
attributes_type (attributes_type const &) noexcept=default | |
attributes_type (attributes_type &&) noexcept=default | |
attributes_type & | operator= (attributes_type const &) noexcept=default |
attributes_type & | operator= (attributes_type &&) noexcept=default |
template<menu_button_widget_attribute... Attributes> | |
attributes_type (Attributes &&...attributes) noexcept | |
template<size_t I> | |
void | set_attributes () noexcept |
template<size_t I, menu_button_widget_attribute First, menu_button_widget_attribute... Rest> | |
void | set_attributes (First &&first, Rest &&...rest) noexcept |
Data Fields | |
observer< hi::label > | label = txt("on") |
The label to show when the button is in the 'on' state. | |
observer< hi::label > | shortcut = hi::label{} |
The label to for the shortcut. | |
observer< alignment > | alignment = hi::alignment::middle_left() |
The alignment of the button and on/off/other label. | |
observer< semantic_text_style > | text_style = semantic_text_style::label |
The text style to button's label. | |
observer<alignment> hi::v1::menu_button_widget< ButtonWidget >::attributes_type::alignment = hi::alignment::middle_left() |
The alignment of the button and on/off/other label.
observer<hi::label> hi::v1::menu_button_widget< ButtonWidget >::attributes_type::label = txt("on") |
The label to show when the button is in the 'on' state.
observer<hi::label> hi::v1::menu_button_widget< ButtonWidget >::attributes_type::shortcut = hi::label{} |
The label to for the shortcut.
observer<semantic_text_style> hi::v1::menu_button_widget< ButtonWidget >::attributes_type::text_style = semantic_text_style::label |
The text style to button's label.