[]Jimmy's World.org
Not Left, nor right. Just correct.
[]
Jimmy's World Games
Not a Member? - Login or Create an Account
[] Monday the 5th of January 2009 @ 05:17pm
News Journal Creative Writing Projects Your JW About

LibN2L-4 Library Code Reference

Classes
Compounds
Files
Members
Method Index
Full Reference

n2l::cKeyEvent Class Reference

An event generated whenever a key is pressed or released on the keyboard. More...

#include <cKeyEvent.h>

Inheritance diagram for n2l::cKeyEvent:

Inheritance graph
[legend]
Collaboration diagram for n2l::cKeyEvent:

Collaboration graph
[legend]
List of all members.

Public Member Functions


Detailed Description

An event generated whenever a key is pressed or released on the keyboard.

Definition at line 40 of file cKeyEvent.h.


Constructor & Destructor Documentation

n2l::cKeyEvent::cKeyEvent const SDL_KeyboardEvent &  iEvent  ) 
 

Definition at line 31 of file cKeyEvent.cpp.

n2l::cKeyEvent::cKeyEvent const tKey  iKey,
const tKeyMods  iMods,
const tBool  iPressed
 

Definition at line 40 of file cKeyEvent.cpp.

n2l::cKeyEvent::~cKeyEvent  )  [virtual]
 

Definition at line 50 of file cKeyEvent.cpp.


Member Function Documentation

const tKey n2l::cKeyEvent::key  )  const [virtual]
 

Definition at line 55 of file cKeyEvent.cpp.

Referenced by n2l::cGuiInteractive::keystroke().

const tKeyMods n2l::cKeyEvent::mods  )  const [virtual]
 

Definition at line 61 of file cKeyEvent.cpp.

Referenced by n2l::cGuiInteractive::keystroke().

const tBool n2l::cKeyEvent::pressed  )  const [virtual]
 

Definition at line 67 of file cKeyEvent.cpp.

Referenced by n2l::cGuiInteractive::keystroke().

const tEventType n2l::cKeyEvent::type  )  const [virtual]
 

Implements n2l::cEventInterface.

Definition at line 73 of file cKeyEvent.cpp.

References n2l::EventType_Key.


The documentation for this class was generated from the following files:
©2009 Aaron Cameron
Benchmarks