|
FifeGUI 0.2.0
A C++ GUI library designed for games.
|
#include <focuslistener.hpp>
Public Member Functions | |
| virtual void | focusGained (Event const &event) |
| FocusListener (FocusListener &&)=delete | |
| FocusListener (FocusListener const &)=delete | |
| virtual void | focusLost (Event const &event) |
| FocusListener & | operator= (FocusListener &&)=delete |
| FocusListener & | operator= (FocusListener const &)=delete |
Protected Member Functions | |
| FocusListener ()=default | |
Interface for listening to focus gain/loss events.
Definition at line 22 of file focuslistener.hpp.
|
protecteddefault |
Constructor.
Instances should not be created directly, therefore the constructor is declared protected.
|
inlinevirtual |
Called when a widget gains focus.
| event | Describes the event. |
Definition at line 37 of file focuslistener.hpp.
|
inlinevirtual |
Called when a widget loses focus.
| event | Describes the event. |
Reimplemented in fcn::Button, and fcn::DropDown.
Definition at line 44 of file focuslistener.hpp.