|
FifeGUI 0.2.0
A C++ GUI library designed for games.
|
#include <deathlistener.hpp>
Public Member Functions | |
| virtual void | death (Event const &event)=0 |
| DeathListener (DeathListener &&)=delete | |
| DeathListener (DeathListener const &)=delete | |
| DeathListener & | operator= (DeathListener &&)=delete |
| DeathListener & | operator= (DeathListener const &)=delete |
Protected Member Functions | |
| DeathListener ()=default | |
Interface for listening to widget destruction events.
Definition at line 22 of file deathlistener.hpp.
|
protecteddefault |
Constructor.
Instances should not be created directly, therefore the constructor is declared protected.
|
pure virtual |
Called when a widget dies.
It is used to be able to receive a notification when a death of a widget occurs.
| event | The event of the death. |
Implemented in fcn::GuiDeathListener.