Google

Main Page   Class Hierarchy   Compound List   File List   Compound Members  

csKeyboardAccelerator Class Reference

A keyboard accelerator is a invisible component which monitors all events and if it sees a keyboard event which matches one of the predefined combinations it emmits a corresponding event. More...

#include <cskeyacc.h>

Inheritance diagram for csKeyboardAccelerator:

csComponent List of all members.

Public Methods

 csKeyboardAccelerator (csComponent *iParent)
 Create keyboard accelerator object.

virtual ~csKeyboardAccelerator ()
 Destroy keyboard accelerator object.

void Event (int iKey, int iShifts, csEvent &iEv)
 Insert a key->event conversion table element.

void Command (int iKey, int iShifts, int iCommand, void *iInfo=NULL)
 Insert a key->command event conversion table element.

void Broadcast (int iKey, int iShifts, int iCommand, void *iInfo=NULL)
 Insert a key->broadcast event conversion table element.

virtual bool PostHandleEvent (iEvent &Event)
 The "core" function.


Detailed Description

A keyboard accelerator is a invisible component which monitors all events and if it sees a keyboard event which matches one of the predefined combinations it emmits a corresponding event.


The documentation for this class was generated from the following file:
Generated for Crystal Space by doxygen 1.2.5 written by Dimitri van Heesch, ©1997-2000