Callback class used to send out window events to client app.
More...
#include <OgreWindowEventUtilities.h>
Callback class used to send out window events to client app.
◆ ~WindowEventListener()
virtual OgreBites::WindowEventListener::~WindowEventListener |
( |
| ) |
|
|
inlinevirtual |
◆ windowMoved()
Window has moved position.
- Parameters
-
rw | The RenderWindow which created this events |
◆ windowResized()
Window has resized.
- Parameters
-
rw | The RenderWindow which created this events |
◆ windowClosing()
Window is closing (Only triggered if user pressed the [X] button)
- Parameters
-
rw | The RenderWindow which created this events |
- Returns
- True will close the window(default).
◆ windowClosed()
Window has been closed (Only triggered if user pressed the [X] button)
- Parameters
-
rw | The RenderWindow which created this events |
- Note
- The window has not actually close yet when this event triggers. It's only closed after all windowClosed events are triggered. This allows apps to deinitialise properly if they have services that needs the window to exist when deinitialising.
◆ windowFocusChange()
Window has lost/gained focus.
- Parameters
-
rw | The RenderWindow which created this events |
The documentation for this class was generated from the following file: