|
FifeGUI 0.3.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 26 of file focuslistener.hpp.
|
protecteddefault |
Protected default 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 41 of file focuslistener.hpp.
|
inlinevirtual |
Called when a widget loses focus.
| event | Describes the event. |
Reimplemented in fcn::Button, fcn::DropDown, and fcn::MenuPopup.
Definition at line 50 of file focuslistener.hpp.