|
FIFE
|
#include <ceguiinputprocessor.h>
Collaboration diagram for FIFE::CEGuiInputProcessor:Public Member Functions | |
| CEGuiInputProcessor () | |
| Constructor. More... | |
| ~CEGuiInputProcessor () | |
| Destructor. More... | |
| bool | onSdlEvent (SDL_Event &event) |
| Injects input to the CEGUI system. More... | |
Private Member Functions | |
| bool | processKeyInput (SDL_Event &event) |
| Process a key input event. More... | |
| bool | processMouseInput (SDL_Event &event) |
| Process a mouse input event. More... | |
| bool | processMouseMotion (SDL_Event &event) |
| Process a mouse motion event. More... | |
| void | initializeKeyMap () |
| Initialize the key translation map. More... | |
Private Attributes | |
| std::map< SDLKey, CEGUI::Key::Scan > | m_keymap |
| Holds translation of key scancodes from SDL to CEGUI. More... | |
Definition at line 37 of file ceguiinputprocessor.h.
| FIFE::CEGuiInputProcessor::CEGuiInputProcessor | ( | ) |
| FIFE::CEGuiInputProcessor::~CEGuiInputProcessor | ( | ) |
Destructor.
Definition at line 39 of file ceguiinputprocessor.cpp.
|
private |
Initialize the key translation map.
Definition at line 157 of file ceguiinputprocessor.cpp.
References m_keymap.
Referenced by CEGuiInputProcessor().
Here is the caller graph for this function:| bool FIFE::CEGuiInputProcessor::onSdlEvent | ( | SDL_Event & | event | ) |
Injects input to the CEGUI system.
Definition at line 42 of file ceguiinputprocessor.cpp.
References processKeyInput(), processMouseInput(), and processMouseMotion().
Referenced by FIFE::CEGuiManager::onSdlEvent().
Here is the caller graph for this function:
|
private |
Process a key input event.
Definition at line 68 of file ceguiinputprocessor.cpp.
References m_keymap.
Referenced by onSdlEvent().
Here is the caller graph for this function:
|
private |
Process a mouse input event.
Definition at line 90 of file ceguiinputprocessor.cpp.
Referenced by onSdlEvent().
Here is the caller graph for this function:
|
private |
Process a mouse motion event.
Definition at line 153 of file ceguiinputprocessor.cpp.
Referenced by onSdlEvent().
Here is the caller graph for this function:
|
private |
Holds translation of key scancodes from SDL to CEGUI.
Definition at line 74 of file ceguiinputprocessor.h.
Referenced by initializeKeyMap(), and processKeyInput().