#include <input.h>
List of all members.
Detailed Description
Generic event class. Events are the object type used to dispatch events such as button presses or touchscreen taping to applications. An Event has an associated type, which is implementation-defined depending on the board on which mxgui is ported (different boards have different number of buttons), and a point used to represent touchscreen point of touch for boards that have a touchscreen.
Constructor & Destructor Documentation
mxgui::Event::Event |
( |
|
) |
[inline] |
mxgui::Event::Event |
( |
EventType::E |
e |
) |
[inline, explicit] |
Constructor for events without a position information
- Parameters:
-
mxgui::Event::Event |
( |
EventType::E |
e, |
|
|
Point |
p | |
|
) |
| | [inline] |
Constructor for events that also carry a position information
- Parameters:
-
Member Function Documentation
EventType::E mxgui::Event::getEvent |
( |
|
) |
const [inline] |
- Returns:
- the event information
Point mxgui::Event::getPoint |
( |
|
) |
const [inline] |
- Returns:
- the point information
bool mxgui::Event::hasValidPoint |
( |
|
) |
const [inline] |
- Returns:
- true if the event has a valid point associated with it
The documentation for this class was generated from the following file: