Foundation classes for a basic GUI implementing simple widgets and events
Dependents: TouchScreenGUIDemo
Diff: Widgets/Window.h
- Revision:
- 18:d849f3ada858
- Parent:
- 12:63db16fea709
--- a/Widgets/Window.h Sun May 22 16:35:23 2016 +0000 +++ b/Widgets/Window.h Sat May 28 14:50:14 2016 +0000 @@ -24,6 +24,10 @@ virtual void detach(Widget *widget); virtual void dirtyAll(); + virtual void handleEvent(Event e); + virtual void _reenumerateHandledEvents(); + virtual uint16_t _getHandledEvents(); + protected: /** @@ -32,6 +36,7 @@ virtual void _draw(); LinkedList<Widget> _widgets; + uint16_t _childHandledEvents; void _dirtyIntersected(Widget *w); };