|
Inherits Event.
Inherited by KeyEventImpl.
List of all members.
Detailed Description
Description of a keyboard event.
Member Function Documentation
| virtual int KeyEvent::getCode |
( |
|
) |
const [pure virtual] |
|
|
|
Retrieve the key code. -
Scripted as:
-
[r/o int] code
|
| virtual const Char* KeyEvent::getDescription |
( |
|
) |
const [pure virtual] |
|
|
|
Retrieve the key description. -
Scripted as:
-
[r/o string] description
|
| virtual bool KeyEvent::initialize |
( |
int |
code, |
|
|
bool |
pressed, |
|
|
bool |
repeat |
|
) |
[pure virtual] |
|
|
|
Initialize a new event. -
Scripted as:
-
[method]
|
| virtual bool KeyEvent::isPressed |
( |
|
) |
const [pure virtual] |
|
|
|
Returns true if the button is currently pressed. -
Scripted as:
-
[r/o bool] pressed
|
| virtual bool KeyEvent::isRepeat |
( |
|
) |
const [pure virtual] |
|
|
|
Is this an auto-repeat event? (Not yet implemented) -
Scripted as:
-
[r/o bool] repeat
|
The documentation for this struct was generated from the following file:
Flat Four Engine
Copyright (C) 2001 by 379, Inc.
|
This page generated by Doxygen
|
|