![]() |
Public API Reference |
#include <csevent.h>
Inheritance diagram for csEvent:
Public Methods | |
csEvent () | |
Empty initializer. More... | |
csEvent (csEvent const &) | |
Cloning constructor. More... | |
csEvent (csTicks, int type, int kcode, int kchar, int modifiers) | |
Create a keyboard event object. More... | |
csEvent (csTicks, int type, int x, int y, int button, int modifiers) | |
Create a mouse event object. More... | |
csEvent (csTicks, int type, int n, int x, int y, int button, int modifiers) | |
Create a joystick event object. More... | |
csEvent (csTicks, int type, int code, void *info=NULL) | |
Create a command event object. More... | |
virtual | ~csEvent () |
Destructor. More... |
Events can be generated by hardware (keyboard, mouse) as well as by software. There are so much constructors of this class as much different types of events exists.
Definition at line 51 of file csevent.h.
|
Empty initializer.
|
|
Cloning constructor. Note that for command style events, this performs only a shallow copy of the `Info' attribute. |
|
Create a keyboard event object.
|
|
Create a mouse event object.
|
|
Create a joystick event object.
|
|
Create a command event object.
|
|
Destructor.
|