SDL++
C++wrapperfortheSDLlibrary.
|
Base for keyboard events that exposes the SDL_KeyboardEvent structure. More...
#include <KeyboardEvents.h>
Public Member Functions | |
KeyBase (const SDL_Event *event) | |
const SDL_KeyboardEvent & | get () const |
const SDL_KeyboardEvent & | get () |
Base for keyboard events that exposes the SDL_KeyboardEvent structure.
Definition at line 39 of file KeyboardEvents.h.
sdl::event::KeyBase::KeyBase | ( | const SDL_Event * | event | ) | [inline] |
Constructs an KeyBase from a SDL_Event structure.
event | The SDL_Event structure. |
Definition at line 45 of file KeyboardEvents.h.
const SDL_KeyboardEvent& sdl::event::KeyBase::get | ( | ) | const [inline] |
Exposes the SDL_KeyboardEvent structure.
Definition at line 52 of file KeyboardEvents.h.
const SDL_KeyboardEvent& sdl::event::KeyBase::get | ( | ) | [inline] |
Exposes the SDL_KeyboardEvent structure.
Definition at line 59 of file KeyboardEvents.h.