|
FifeGUI 0.2.0
A C++ GUI library designed for games.
|
#include <actionlistener.hpp>
Public Member Functions | |
| virtual void | action (ActionEvent const &actionEvent)=0 |
| ActionListener (ActionListener &&)=delete | |
| ActionListener (ActionListener const &)=delete | |
| ActionListener & | operator= (ActionListener &&)=delete |
| ActionListener & | operator= (ActionListener const &)=delete |
Protected Member Functions | |
| ActionListener ()=default | |
Interface for listening to action events from widgets.
Definition at line 23 of file actionlistener.hpp.
|
protecteddefault |
Constructor.
Instances should not be created directly, therefore the constructor is declared protected.
|
pure virtual |
Called when an action is received from a widget.
It is used to receive notifications about actions that have occurred. The actionEvent contains information about the action.
| actionEvent | The event of the action. |
Implemented in fcn::DropDown, and fcn::TabbedArea.