|
FIFE
|
#include <cegui-0inputprocessor.h>
Collaboration diagram for FIFE::CEGui_0InputProcessor:Public Member Functions | |
| CEGui_0InputProcessor () | |
| Constructor. More... | |
| ~CEGui_0InputProcessor () | |
| 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 cegui-0inputprocessor.h.
| FIFE::CEGui_0InputProcessor::CEGui_0InputProcessor | ( | ) |
Constructor.
Definition at line 35 of file cegui-0inputprocessor.cpp.
References initializeKeyMap().
| FIFE::CEGui_0InputProcessor::~CEGui_0InputProcessor | ( | ) |
Destructor.
Definition at line 39 of file cegui-0inputprocessor.cpp.
|
private |
Initialize the key translation map.
Definition at line 157 of file cegui-0inputprocessor.cpp.
References m_keymap.
Referenced by CEGui_0InputProcessor().
Here is the caller graph for this function:| bool FIFE::CEGui_0InputProcessor::onSdlEvent | ( | SDL_Event & | event | ) |
Injects input to the CEGUI system.
Definition at line 42 of file cegui-0inputprocessor.cpp.
References processKeyInput(), processMouseInput(), and processMouseMotion().
Referenced by FIFE::CEGui_0Manager::onSdlEvent().
Here is the caller graph for this function:
|
private |
Process a key input event.
Definition at line 68 of file cegui-0inputprocessor.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 cegui-0inputprocessor.cpp.
Referenced by onSdlEvent().
Here is the caller graph for this function:
|
private |
Process a mouse motion event.
Definition at line 153 of file cegui-0inputprocessor.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 cegui-0inputprocessor.h.
Referenced by initializeKeyMap(), and processKeyInput().