|
HikoGUI
A low latency retained GUI
|
Public Member Functions | |
| virtual void | init (abstract_button_widget &sender) noexcept |
| virtual void | deinit (abstract_button_widget &sender) noexcept |
| auto | subscribe (abstract_button_widget &sender, std::invocable<> auto &&callback) noexcept |
| Subscribe a callback for notifying the widget of a data change. | |
| virtual void | activate (abstract_button_widget &sender) noexcept |
| Called when the button is pressed by the user. | |
| virtual button_state | state (abstract_button_widget const &sender) const noexcept |
| Used by the widget to check the state of the button. | |
|
inlinevirtualnoexcept |
Called when the button is pressed by the user.
|
inlinevirtualnoexcept |
Used by the widget to check the state of the button.
|
inlinenoexcept |
Subscribe a callback for notifying the widget of a data change.