Foundation classes for a basic GUI implementing simple widgets and events
Dependents: TouchScreenGUIDemo
Events/EventType.h
- Committer:
- duncanFrance
- Date:
- 2016-05-28
- Revision:
- 18:d849f3ada858
- Parent:
- 12:63db16fea709
File content as of revision 18:d849f3ada858:
#ifndef SIMPLEGUI_EVENT_TYPE_H #define SIMPLEGUI_EVENT_TYPE_H // Defines core event types which can be used/re-used by other packages enum EventType { TOUCH_START = 1 << 0, TOUCH_END = 1 << 1, TOUCH_MOVE = 1 << 2, TOUCH_TAP = 1 << 3, TOUCH_DOUBLE_TAP = 1 << 4, MOUSE_DOWN = 1 << 5, MOUSE_UP = 1 << 6, MOUSE_MOVE = 1 << 7, MOUSE_DRAG = 1 << 8, MOUSE_CLICK = 1 << 9, MOUSE_DOUBLE_CLICK = 1 << 10 }; #endif