OGRE  1.9
Object-Oriented Graphics Rendering Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Ogre::WindowEventListener Class Reference

#include <OgreWindowEventUtilities.h>

Public Member Functions

virtual ~WindowEventListener ()
 
virtual void windowClosed (RenderWindow *rw)
 
virtual bool windowClosing (RenderWindow *rw)
 
virtual void windowFocusChange (RenderWindow *rw)
 
virtual void windowMoved (RenderWindow *rw)
 
virtual void windowResized (RenderWindow *rw)
 

Detailed Description

Remarks
Callback class used to send out window events to client app

Definition at line 62 of file OgreWindowEventUtilities.h.

Constructor & Destructor Documentation

virtual Ogre::WindowEventListener::~WindowEventListener ( )
inlinevirtual

Definition at line 65 of file OgreWindowEventUtilities.h.

Member Function Documentation

virtual void Ogre::WindowEventListener::windowClosed ( RenderWindow rw)
inlinevirtual
Remarks
Window has been closed (Only triggered if user pressed the [X] button)
Parameters
rwThe 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.

Definition at line 105 of file OgreWindowEventUtilities.h.

virtual bool Ogre::WindowEventListener::windowClosing ( RenderWindow rw)
inlinevirtual
Remarks
Window is closing (Only triggered if user pressed the [X] button)
Parameters
rwThe RenderWindow which created this events
Returns
True will close the window(default).

Definition at line 92 of file OgreWindowEventUtilities.h.

virtual void Ogre::WindowEventListener::windowFocusChange ( RenderWindow rw)
inlinevirtual
Remarks
Window has lost/gained focus
Parameters
rwThe RenderWindow which created this events

Definition at line 114 of file OgreWindowEventUtilities.h.

virtual void Ogre::WindowEventListener::windowMoved ( RenderWindow rw)
inlinevirtual
Remarks
Window has moved position
Parameters
rwThe RenderWindow which created this events

Definition at line 73 of file OgreWindowEventUtilities.h.

virtual void Ogre::WindowEventListener::windowResized ( RenderWindow rw)
inlinevirtual
Remarks
Window has resized
Parameters
rwThe RenderWindow which created this events

Definition at line 82 of file OgreWindowEventUtilities.h.


The documentation for this class was generated from the following file: