neoGFX
Cross-platform C++ app/game engine
|
#include <i_action.hpp>
Public Types | |
typedef i_action | abstract_type |
Public Member Functions | |
virtual bool | is_enabled () const =0 |
virtual bool | is_disabled () const =0 |
virtual bool | is_checkable () const =0 |
virtual bool | is_checked () const =0 |
virtual bool | is_unchecked () const =0 |
virtual uuid const & | group () const =0 |
virtual bool | is_separator () const =0 |
virtual i_string const & | text () const =0 |
virtual i_string const & | menu_text () const =0 |
virtual i_string const & | button_text () const =0 |
virtual i_string const & | tool_tip_text () const =0 |
virtual i_string const & | help_text () const =0 |
virtual i_texture const & | image () const =0 |
virtual i_texture const & | checked_image () const =0 |
virtual optional_key_sequence const & | shortcut () const =0 |
virtual i_action & | set_enabled (bool aEnabled)=0 |
virtual i_action & | set_checkable (bool aCheckable=true)=0 |
virtual i_action & | set_checked (bool aChecked)=0 |
virtual i_action & | set_group (uuid const &aGroup)=0 |
virtual i_action & | set_separator (bool aIsSeparator)=0 |
virtual i_action & | set_text (i_optional< i_string > const &aText)=0 |
virtual i_action & | set_menu_text (i_optional< i_string > const &aMenuText)=0 |
virtual i_action & | set_button_text (i_optional< i_string > const &aButtonText)=0 |
virtual i_action & | set_tool_tip_text (i_optional< i_string > const &aToolTipText)=0 |
virtual i_action & | set_help_text (i_optional< i_string > const &aHelpText)=0 |
virtual i_action & | set_image (i_texture const &aTexture)=0 |
virtual i_action & | set_checked_image (i_texture const &aTexture)=0 |
virtual i_action & | set_shortcut (optional_key_sequence const &aShortcut)=0 |
virtual i_action & | set_shortcut (i_string const &aShortcut)=0 |
i_action & | enable (bool aEnabled=true) |
i_action & | disable (bool aDisabled=true) |
i_action & | check (bool aChecked=true) |
i_action & | uncheck (bool aUnchecked=true) |
i_action & | toggle () |
i_action & | set_text (optional_text const &aText=optional_text{}) |
i_action & | set_menu_text (optional_text const &aMenuText=optional_text{}) |
i_action & | set_button_text (optional_text const &aButtonText=optional_text{}) |
i_action & | set_tool_tip_text (optional_text const &aToolTipText=optional_text{}) |
i_action & | set_help_text (optional_text const &aHelpText=optional_text{}) |
i_action & | set_image (std::string const &aUri, dimension aDpiScaleFactor=1.0, texture_sampling aSampling=texture_sampling::Scaled) |
i_action & | set_image (i_image const &aImage) |
i_action & | set_checked_image (std::string const &aUri, dimension aDpiScaleFactor=1.0, texture_sampling aSampling=texture_sampling::Scaled) |
i_action & | set_checked_image (i_image const &aImage) |
i_action & | set_shortcut (std::string const &aShortcut) |
Public Member Functions inherited from neolib::i_reference_counted | |
virtual | ~i_reference_counted ()=default |
virtual void | add_ref () const noexcept=0 |
virtual void | release () const =0 |
virtual int32_t | use_count () const noexcept=0 |
virtual const i_reference_counted * | release_and_take_ownership () const =0 |
virtual i_reference_counted * | release_and_take_ownership ()=0 |
virtual void | pin () const noexcept=0 |
virtual void | unpin () const =0 |
virtual i_ref_control_block & | control_block ()=0 |
Definition at line 31 of file i_action.hpp.
Definition at line 34 of file i_action.hpp.
|
pure virtual |
|
inline |
Definition at line 84 of file i_action.hpp.
|
pure virtual |
|
inline |
Definition at line 80 of file i_action.hpp.
|
inline |
Definition at line 76 of file i_action.hpp.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
inline |
Definition at line 107 of file i_action.hpp.
|
pure virtual |
|
pure virtual |
Definition at line 131 of file i_action.hpp.
|
inline |
Definition at line 127 of file i_action.hpp.
|
pure virtual |
|
pure virtual |
|
inline |
Definition at line 115 of file i_action.hpp.
Definition at line 123 of file i_action.hpp.
|
inline |
Definition at line 119 of file i_action.hpp.
|
pure virtual |
|
inline |
Definition at line 103 of file i_action.hpp.
|
pure virtual |
|
pure virtual |
|
inline |
Definition at line 135 of file i_action.hpp.
|
pure virtual |
|
inline |
Definition at line 99 of file i_action.hpp.
|
pure virtual |
|
inline |
Definition at line 111 of file i_action.hpp.
|
pure virtual |
|
pure virtual |
|
inline |
Definition at line 92 of file i_action.hpp.
|
pure virtual |
|
inline |
Definition at line 88 of file i_action.hpp.