Om
1.0.0
A universal framework for multimedia simulation
|
A class that contains function objects that recieve button events. More...
#include <omGraphicsGUIButton.h>
Public Attributes | |
Function< void(Button &)> | select |
A function object that is called whenever an attached button is selected by the user. More... | |
Function< void(Button &)> | unselect |
A function object that is called whenever an attached button is unselected by the user. More... | |
Function< void(Button &)> | press |
A function object that is called whenever an attached button is pressed by the user. More... | |
Function< void(Button &)> | release |
A function object that is called whenever an attached button is released by the user. More... | |
UserData | data |
An object that stores an opaque pointer to delegate data. More... | |
A class that contains function objects that recieve button events.
Any button-related event that might be processed has an appropriate callback function object. Each callback function is called by the button whenever such an event is received. If a callback function in the delegate is not initialized, a button ignores it.
A function object that is called whenever an attached button is selected by the user.
This means that the user has put the button into its 'on' state.
A function object that is called whenever an attached button is unselected by the user.
This means that the user has put the button into its 'off' state.
A function object that is called whenever an attached button is pressed by the user.
A function object that is called whenever an attached button is released by the user.
UserData om::graphics::gui::objects::Button::Delegate::data |
An object that stores an opaque pointer to delegate data.