Foundation classes for a basic GUI implementing simple widgets and events
Dependents: TouchScreenGUIDemo
Events/EventType.h@12:63db16fea709, 2016-05-08 (annotated)
- Committer:
- duncanFrance
- Date:
- Sun May 08 14:42:08 2016 +0000
- Revision:
- 12:63db16fea709
- Parent:
- 11:b485561aa112
- Child:
- 18:d849f3ada858
Update to handle dirty pixels and geometric change/damage
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
duncanFrance | 11:b485561aa112 | 1 | #ifndef SIMPLEGUI_EVENT_TYPE_H |
duncanFrance | 11:b485561aa112 | 2 | #define SIMPLEGUI_EVENT_TYPE_H |
duncanFrance | 11:b485561aa112 | 3 | |
duncanFrance | 11:b485561aa112 | 4 | // Defines core event types which can be used/re-used by other packages |
duncanFrance | 11:b485561aa112 | 5 | |
duncanFrance | 11:b485561aa112 | 6 | enum EventType { |
duncanFrance | 11:b485561aa112 | 7 | |
duncanFrance | 11:b485561aa112 | 8 | TOUCH_START, |
duncanFrance | 11:b485561aa112 | 9 | TOUCH_END, |
duncanFrance | 11:b485561aa112 | 10 | TOUCH_MOVE, |
duncanFrance | 11:b485561aa112 | 11 | TOUCH_TAP, |
duncanFrance | 11:b485561aa112 | 12 | TOUCH_DOUBLE_TAP, |
duncanFrance | 11:b485561aa112 | 13 | |
duncanFrance | 11:b485561aa112 | 14 | MOUSE_DOWN, |
duncanFrance | 11:b485561aa112 | 15 | MOUSE_UP, |
duncanFrance | 11:b485561aa112 | 16 | MOUSE_MOVE, |
duncanFrance | 11:b485561aa112 | 17 | MOUSE_DRAG, |
duncanFrance | 11:b485561aa112 | 18 | MOUSE_CLICK, |
duncanFrance | 11:b485561aa112 | 19 | MOUSE_DOUBLE_CLICK |
duncanFrance | 11:b485561aa112 | 20 | |
duncanFrance | 11:b485561aa112 | 21 | }; |
duncanFrance | 11:b485561aa112 | 22 | #endif |