#include <OgreGUIInputPlugin.h>
Inheritance diagram for GG::OgreGUIInputPlugin:
Public Member Functions | |
OgreGUIInputPlugin () | |
virtual | ~OgreGUIInputPlugin () |
Static Public Member Functions | |
static void | SetRenderWindow (Ogre::RenderWindow *window) |
static Ogre::RenderWindow * | GetRenderWindow () |
Derived classes must implement HandleWindowResize(), HandleWindowClose(), and HandleSystemEvents(). The last of these is where the input-system specific code resides. This function must obtain mouse moves and clicks, keyboard events, etc., from the underlying system and translate them to the associated GG events. Derived classes must also call ConnectHandlers() sometime in their contructors. See OISInput for a sample implementation.
Definition at line 60 of file OgreGUIInputPlugin.h.
GG::OgreGUIInputPlugin::OgreGUIInputPlugin | ( | ) |
Default ctor.
virtual GG::OgreGUIInputPlugin::~OgreGUIInputPlugin | ( | ) | [virtual] |
Dtor.
static void GG::OgreGUIInputPlugin::SetRenderWindow | ( | Ogre::RenderWindow * | window | ) | [static] |
Overrides the use of the Ogre::Root-autocreated window.
static Ogre::RenderWindow* GG::OgreGUIInputPlugin::GetRenderWindow | ( | ) | [static] |
Returns the Ogre::RenderWindow in which the OgreGUI is operating.