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

Files

file  async_delegate.hpp
 Defines async_delegate and some default async delegates.
 
file  button_delegate.hpp
 Defines button_delegate and some default button 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.
 

Data Structures

class  hi::v1::async_delegate
 A button delegate controls the state of a button widget. More...
 
class  hi::v1::default_async_delegate< ResultType >
 A default async button delegate. More...
 
class  hi::v1::button_delegate
 A button delegate controls the state of a button widget. More...
 
class  hi::v1::radio_delegate
 A radio delegate controls the state of a radio button widget. More...
 
class  hi::v1::default_radio_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< char const * >
 A default text delegate specialization for std::string. More...
 
class  hi::v1::default_text_delegate< std::string >
 A default text delegate specialization for std::string. More...
 
class  hi::v1::default_text_delegate< gstring >
 A default text delegate specialization for gstring. More...
 
class  hi::v1::default_text_delegate< txt >
 A default text delegate specialization for translate. 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 button delegate controls the state of a button widget. More...
 
class  hi::v1::default_toggle_delegate< T >
 A default toggle button delegate. More...
 

Functions

template<typename Value >
requires requires { default_tab_delegate<observer_decay_t<Value>>{std::forward<Value>(value)}; }
std::shared_ptr< tab_delegatehi::v1::make_default_tab_delegate (Value &&value) noexcept
 Create a shared pointer to a default tab delegate.
 
template<typename Value >
requires requires { default_text_delegate<observer_decay_t<Value>>{std::forward<Value>(value)}; }
std::shared_ptr< text_delegatehi::v1::make_default_text_delegate (Value &&value) noexcept
 Create a shared pointer to a default text delegate.
 
template<typename Value >
requires requires { default_text_field_delegate<observer_decay_t<decltype(value)>>{std::forward<Value>(value)}; }
std::shared_ptr< text_field_delegatehi::v1::make_default_text_field_delegate (Value &&value) noexcept
 Create a shared pointer to a default text delegate.
 

Detailed Description

Widget delegates used to control the state of widgets.

Function Documentation

◆ make_default_tab_delegate()

template<typename Value >
requires requires { default_tab_delegate<observer_decay_t<Value>>{std::forward<Value>(value)}; }
std::shared_ptr< tab_delegate > hi::v1::make_default_tab_delegate ( Value && 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()

template<typename Value >
requires requires { default_text_delegate<observer_decay_t<Value>>{std::forward<Value>(value)}; }
std::shared_ptr< text_delegate > hi::v1::make_default_text_delegate ( Value && 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()

template<typename Value >
requires requires { default_text_field_delegate<observer_decay_t<decltype(value)>>{std::forward<Value>(value)}; }
std::shared_ptr< text_field_delegate > hi::v1::make_default_text_field_delegate ( Value && 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