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

Callback class used to send out window events to client app More...

#include <OgreWindowEventUtilities.h>

Public Member Functions

virtual ~WindowEventListener ()
 
virtual void windowClosed (RenderWindow *rw)
 Window has been closed (Only triggered if user pressed the [X] button) More...
 
virtual bool windowClosing (RenderWindow *rw)
 Window is closing (Only triggered if user pressed the [X] button) More...
 
virtual void windowFocusChange (RenderWindow *rw)
 Window has lost/gained focus More...
 
virtual void windowMoved (RenderWindow *rw)
 Window has moved position More...
 
virtual void windowResized (RenderWindow *rw)
 Window has resized More...
 

Detailed Description

Callback class used to send out window events to client app

Definition at line 58 of file OgreWindowEventUtilities.h.

Constructor & Destructor Documentation

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

Definition at line 61 of file OgreWindowEventUtilities.h.

Member Function Documentation

virtual void Ogre::WindowEventListener::windowClosed ( RenderWindow rw)
inlinevirtual

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 101 of file OgreWindowEventUtilities.h.

virtual bool Ogre::WindowEventListener::windowClosing ( RenderWindow rw)
inlinevirtual

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 88 of file OgreWindowEventUtilities.h.

virtual void Ogre::WindowEventListener::windowFocusChange ( RenderWindow rw)
inlinevirtual

Window has lost/gained focus

Parameters
rwThe RenderWindow which created this events

Definition at line 110 of file OgreWindowEventUtilities.h.

virtual void Ogre::WindowEventListener::windowMoved ( RenderWindow rw)
inlinevirtual

Window has moved position

Parameters
rwThe RenderWindow which created this events

Definition at line 69 of file OgreWindowEventUtilities.h.

virtual void Ogre::WindowEventListener::windowResized ( RenderWindow rw)
inlinevirtual

Window has resized

Parameters
rwThe RenderWindow which created this events

Definition at line 78 of file OgreWindowEventUtilities.h.


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