Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

KeyboardMessage Class Reference

#include <keyboardmessage.hh>

Inheritance diagram for KeyboardMessage:

Inheritance graph
[legend]
Collaboration diagram for KeyboardMessage:

Collaboration graph
[legend]
List of all members.

Public Methods

void setKey (SDL_keysym &keysym)
SDL_keysym getKey ()
void setUp ()
void setDown ()
bool getUp ()
bool getDown ()
 KeyboardMessage ()

Private Attributes

SDL_keysym sym
bool up

Constructor & Destructor Documentation

KeyboardMessage::KeyboardMessage  
 

Definition at line 3 of file keyboardmessage.cc.

References anoid::base::Event::type.


Member Function Documentation

bool KeyboardMessage::getDown   [inline]
 

Definition at line 17 of file keyboardmessage.hh.

References up.

SDL_keysym KeyboardMessage::getKey   [inline]
 

Definition at line 13 of file keyboardmessage.hh.

References sym.

Referenced by anoid::plugin::anoid::Pad::receive().

bool KeyboardMessage::getUp   [inline]
 

Definition at line 16 of file keyboardmessage.hh.

References up.

Referenced by anoid::plugin::anoid::Pad::receive().

void KeyboardMessage::setDown   [inline]
 

Definition at line 15 of file keyboardmessage.hh.

References up.

Referenced by anoid::main::Anoid::handleKeyDown().

void KeyboardMessage::setKey SDL_keysym &    keysym [inline]
 

Definition at line 12 of file keyboardmessage.hh.

References sym.

Referenced by anoid::main::Anoid::handleKeyDown(), and anoid::main::Anoid::handleKeyUp().

void KeyboardMessage::setUp   [inline]
 

Definition at line 14 of file keyboardmessage.hh.

References up.

Referenced by anoid::main::Anoid::handleKeyUp().


Member Data Documentation

SDL_keysym KeyboardMessage::sym [private]
 

Definition at line 9 of file keyboardmessage.hh.

Referenced by getKey(), and setKey().

bool KeyboardMessage::up [private]
 

Definition at line 10 of file keyboardmessage.hh.

Referenced by getDown(), getUp(), setDown(), and setUp().


The documentation for this class was generated from the following files:
Anoid NG © Michael Westergaard, Martin Stig Stissing, Ronni Michael Laursen, and Kristian Bisgaard Lassen