HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
Files | Data Structures | Functions

Files

file  button_delegate.hpp
 Defines button_delegate and some default button delegates.
 
file  checkbox_delegate.hpp
 Defines checkbox_delegate and some default checkbox_delegate delegates.
 
file  radio_button_delegate.hpp
 Defines radio_button_delegate and some default radio_button_delegate delegates.
 
file  selection_delegate.hpp
 Defines delegate_delegate and some default selection delegates.
 
file  tab_delegate.hpp
 Defines delegate_delegate and some default tab delegates.
 
file  text_delegate.hpp
 Defines delegate_delegate and some default text delegates.
 
file  text_field_delegate.hpp
 Defines delegate_field_delegate and some default text field delegates.
 
file  toggle_delegate.hpp
 Defines toggle_delegate and some default toggle_delegate delegates.
 

Data Structures

class  hi::v1::button_delegate
 A button delegate controls the state of a button widget. More...
 
class  hi::v1::checkbox_delegate
 A toggle delegate controls the state of a toggle widget. More...
 
class  hi::v1::default_checkbox_delegate< T >
 A default toggle delegate. More...
 
class  hi::v1::radio_button_delegate
 A radio button delegate controls the state of a radio button widget. More...
 
class  hi::v1::default_radio_button_delegate< T >
 A default radio button delegate. More...
 
class  hi::v1::selection_delegate
 A delegate that controls the state of a selection_widget. More...
 
class  hi::v1::default_selection_delegate< T >
 A delegate that control the state of a selection_widget. More...
 
class  hi::v1::tab_delegate
 A delegate that controls the state of a tab_widget. More...
 
class  hi::v1::default_tab_delegate< T >
 A delegate that control the state of a tab_widget. More...
 
class  hi::v1::text_delegate
 A delegate that controls the state of a text_widget. More...
 
class  hi::v1::default_text_delegate< T >
 A default text delegate. More...
 
class  hi::v1::default_text_delegate< text >
 A default text delegate specialization for gstring. More...
 
class  hi::v1::default_text_delegate< translate >
 A default text delegate specialization for translate. More...
 
class  hi::v1::default_text_delegate< text_variant >
 A default text delegate specialization for text. More...
 
class  hi::v1::text_field_delegate
 A delegate that controls the state of a text_field_widget. More...
 
class  hi::v1::default_text_field_delegate< T >
 A default text delegate. More...
 
class  hi::v1::default_text_field_delegate< T >
 A default text delegate specialization for std::integral<T>. More...
 
class  hi::v1::toggle_delegate
 A toggle delegate controls the state of a toggle widget. More...
 
class  hi::v1::default_toggle_delegate< T >
 A default toggle delegate. More...
 

Functions

std::shared_ptr< checkbox_delegatehi::v1::make_default_checkbox_delegate (auto &&value, auto &&...args) noexcept
 Make a shared pointer to a toggle-button delegate.
 
std::shared_ptr< radio_button_delegatehi::v1::make_default_radio_button_delegate (auto &&value, auto &&...args) noexcept
 Make a shared pointer to a toggle-button delegate.
 
std::shared_ptr< selection_delegatehi::v1::make_default_selection_delegate (auto &&value, auto &&options, auto &&...off_value) noexcept
 Create a shared pointer to a default selection delegate.
 
std::shared_ptr< tab_delegatehi::v1::make_default_tab_delegate (auto &&value) noexcept
 Create a shared pointer to a default tab delegate.
 
std::shared_ptr< text_delegatehi::v1::make_default_text_delegate (auto &&value) noexcept
 Create a shared pointer to a default text delegate.
 
std::shared_ptr< text_field_delegatehi::v1::make_default_text_field_delegate (auto &&value) noexcept
 Create a shared pointer to a default text delegate.
 
std::shared_ptr< toggle_delegatehi::v1::make_default_toggle_delegate (auto &&value, auto &&...args) noexcept
 Make a shared pointer to a toggle-button delegate.
 

Detailed Description

Widget delegates used to control the state of widgets.

Function Documentation

◆ make_default_checkbox_delegate()

std::shared_ptr< checkbox_delegate > hi::v1::make_default_checkbox_delegate ( auto && value,
auto &&... args )
noexcept

Make a shared pointer to a toggle-button delegate.

See also
default_checkbox_button_delegate
Parameters
valueA value or observer-value used as a representation of the state.
argsan optional on-value followed by an optional off-value.
Returns
A shared_ptr to a button delegate.

◆ make_default_radio_button_delegate()

std::shared_ptr< radio_button_delegate > hi::v1::make_default_radio_button_delegate ( auto && value,
auto &&... args )
noexcept

Make a shared pointer to a toggle-button delegate.

See also
default_checkbox_button_delegate
Parameters
valueA value or observer-value used as a representation of the state.
argsan optional on-value followed by an optional off-value.
Returns
A shared_ptr to a button delegate.

◆ make_default_selection_delegate()

std::shared_ptr< selection_delegate > hi::v1::make_default_selection_delegate ( auto && value,
auto && options,
auto &&... off_value )
noexcept

Create a shared pointer to a default selection delegate.

See also
default_selection_delegate
Parameters
valueThe observer value which represents the selected option.
optionsAn observer std::vector<std::pair<value_type,label>> of all possible options.
off_valueThe optional off-value used when none of the available options are selected.
Returns
shared pointer to a selection delegate

◆ make_default_tab_delegate()

std::shared_ptr< tab_delegate > hi::v1::make_default_tab_delegate ( auto && value)
noexcept

Create a shared pointer to a default tab delegate.

See also
default_tab_delegate
Parameters
valueThe observer value which represents the selected tab.
Returns
shared pointer to a tab delegate

◆ make_default_text_delegate()

std::shared_ptr< text_delegate > hi::v1::make_default_text_delegate ( auto && value)
noexcept

Create a shared pointer to a default text delegate.

See also
default_text_delegate
Parameters
valueThe observer value which represents the displayed text.
Returns
shared pointer to a text delegate

◆ make_default_text_field_delegate()

std::shared_ptr< text_field_delegate > hi::v1::make_default_text_field_delegate ( auto && value)
noexcept

Create a shared pointer to a default text delegate.

See also
default_text_field_delegate
Parameters
valueThe observer value which is editable by the text field widget.
Returns
shared pointer to a text field delegate

◆ make_default_toggle_delegate()

std::shared_ptr< toggle_delegate > hi::v1::make_default_toggle_delegate ( auto && value,
auto &&... args )
noexcept

Make a shared pointer to a toggle-button delegate.

See also
default_toggle_button_delegate
Parameters
valueA value or observer-value used as a representation of the state.
argsan optional on-value followed by an optional off-value.
Returns
A shared_ptr to a button delegate.