SDL++
C++wrapperfortheSDLlibrary.

sdl::event::KeyPress< Keys > Struct Template Reference

Represents a key press event. More...

#include <KeyboardEvents.h>

Inheritance diagram for sdl::event::KeyPress< Keys >:
Collaboration diagram for sdl::event::KeyPress< Keys >:

List of all members.

Public Member Functions

 KeyPress (const SDL_Event *event=0)

Detailed Description

template<int... Keys>
struct sdl::event::KeyPress< Keys >

Represents a key press event.

Template Parameters:
KeysThe keys that compose this key press event.

Definition at line 69 of file KeyboardEvents.h.


Constructor & Destructor Documentation

template<int... Keys>
sdl::event::KeyPress< Keys >::KeyPress ( const SDL_Event *  event = 0) [inline, explicit]

Constructs a KeyPress event from a SDL_Event structure.

Parameters:
eventThe SDL_Event structure.

Definition at line 75 of file KeyboardEvents.h.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs