Foundation classes for a basic GUI implementing simple widgets and events
Dependents: TouchScreenGUIDemo
Diff: Core/GUI.h
- Revision:
- 18:d849f3ada858
- Parent:
- 12:63db16fea709
--- a/Core/GUI.h Sun May 22 16:35:23 2016 +0000 +++ b/Core/GUI.h Sat May 28 14:50:14 2016 +0000 @@ -3,8 +3,6 @@ class GUI; -#include "rtos.h" - #include "GraphicsContext.h" #include "Window.h" @@ -21,14 +19,12 @@ GraphicsContext* getGraphicsContext(); Window *rootWindow(); - void queueEvent(const Event e); - void pumpEvents(); - void updateWindow(); + void run(); private: GraphicsContext* _context; - Mail<Event, 64> _mailbox; Window _rootWindow; + }; #endif \ No newline at end of file