#include <InputManager.hpp>
Public Types | |
enum | ShiftKeys { LSHIFT, RSHIFT, LCTRL, RCTRL, ALT, ALT_GR, WIN, MODIFIER_COUNT } |
Public Member Functions | |
InputManager () | |
~InputManager () | |
InputHandler * | active () |
InputHandler * | below () |
void | setModifier (ShiftKeys key, bool state) |
Protected Member Functions | |
void | add (InputHandler *h) |
void | remove (InputHandler *h) |
void | push (const char *name) |
void | pop () |
InputHandler * | handler (const char *name) |
void | push (InputHandler *h) |
bool | hasHandler (const char *name) |
int | count () |
InputHandler * | handler (int index) |
bool | isShiftDown () const |
bool | isAltDown () const |
bool | isControlDown () const |
bool | isWinDown () const |
Protected Attributes | |
int | handlerCount_ |
int | handlerStackPos_ |
InputHandler * | handlerStack_ [MAX_STACK_SIZE] |
InputHandler * | handlers_ [MAX_HANDLER_COUNT] |
bool | isModifierDown_ [MODIFIER_COUNT] |
Static Protected Attributes | |
const int | MAX_STACK_SIZE = 64 |
const int | MAX_HANDLER_COUNT = 32 |
Friends | |
class | InputHandler |
|
Definition at line 36 of file InputManager.hpp. |
|
Definition at line 29 of file InputManager.cpp. |
|
Definition at line 36 of file InputManager.cpp. |
|
|
Definition at line 93 of file InputManager.cpp. References Assert, and se_ogre::InputHandler::name(). Referenced by se_ogre::InputHandler::InputHandler(). |
|
Definition at line 51 of file InputManager.cpp. Referenced by se_ogre::InputHandler::below(). |
|
Definition at line 51 of file InputManager.hpp. |
|
Definition at line 52 of file InputManager.hpp. |
|
Definition at line 112 of file InputManager.cpp. |
|
Definition at line 123 of file InputManager.cpp. |
|
Definition at line 55 of file InputManager.hpp. Referenced by se_ogre::InputHandler::isAltDown(). |
|
Definition at line 56 of file InputManager.hpp. Referenced by se_ogre::InputHandler::isControlDown(). |
|
Definition at line 54 of file InputManager.hpp. Referenced by se_ogre::InputHandler::isShiftDown(). |
|
Definition at line 57 of file InputManager.hpp. Referenced by se_ogre::InputHandler::isWinDown(). |
|
Definition at line 81 of file InputManager.cpp. References Assert, se_ogre::InputHandler::grabbedFocusEvent(), LogWarning, and se_ogre::InputHandler::lostFocusEvent(). Referenced by se_ogre::InputHandler::loseFocus(). |
|
Definition at line 60 of file InputManager.cpp. References Assert, se_ogre::InputHandler::grabbedFocusEvent(), LogWarning, and se_ogre::InputHandler::name(). |
|
Definition at line 73 of file InputManager.cpp. References Assert. Referenced by se_ogre::InputHandler::grabFocus(). |
|
Definition at line 101 of file InputManager.cpp. Referenced by se_ogre::InputHandler::~InputHandler(). |
|
Definition at line 37 of file InputManager.hpp. Referenced by se_ogre::O3dInputBridge::keyPressed(), and se_ogre::O3dInputBridge::keyReleased(). |
|
Definition at line 41 of file InputManager.hpp. |
|
Definition at line 61 of file InputManager.hpp. |
|
Definition at line 64 of file InputManager.hpp. |
|
Definition at line 63 of file InputManager.hpp. |
|
Definition at line 62 of file InputManager.hpp. |
|
Definition at line 65 of file InputManager.hpp. |
|
Definition at line 60 of file InputManager.hpp. |
|
Definition at line 59 of file InputManager.hpp. |
Home Page | SagaEngine trunk (updated nightly) reference generated Sun Dec 2 20:06:32 2007 by Doxygen version 1.3.9.1.