GG
Public Member Functions | Static Public Member Functions | List of all members
GG::OgreGUIInputPlugin Class Referenceabstract

#include <OgreGUIInputPlugin.h>

Inheritance diagram for GG::OgreGUIInputPlugin:
OISInput

Public Member Functions

 OgreGUIInputPlugin ()
 
virtual ~OgreGUIInputPlugin ()
 

Static Public Member Functions

static void SetRenderWindow (Ogre::RenderWindow *window)
 
static Ogre::RenderWindow * GetRenderWindow ()
 

Detailed Description

The base class for Ogre plugins that provides input functionality to OgreGUI.

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 64 of file OgreGUIInputPlugin.h.

Member Function Documentation

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.


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