Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages
csKeyboardAccelerator Class Reference
[Keyboard accelerator]
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 <csws/cskeyacc.h>
Inheritance diagram for csKeyboardAccelerator:

Public Member Functions | |
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=0) |
Insert a key->command event conversion table element. | |
void | Broadcast (int iKey, int iShifts, int iCommand, void *iInfo=0) |
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.
Definition at line 44 of file cskeyacc.h.
Constructor & Destructor Documentation
|
Create keyboard accelerator object.
|
|
Destroy keyboard accelerator object.
|
Member Function Documentation
|
Insert a key->broadcast event conversion table element.
|
|
Insert a key->command event conversion table element.
|
|
Insert a key->event conversion table element.
|
|
The "core" function.
Reimplemented from csComponent. |
The documentation for this class was generated from the following file:
- csws/cskeyacc.h
Generated for Crystal Space by doxygen 1.3.9.1