Foundation classes for a basic GUI implementing simple widgets and events
Dependents: TouchScreenGUIDemo
Core/GUI.h
- Committer:
- duncanFrance
- Date:
- 2016-05-28
- Revision:
- 18:d849f3ada858
- Parent:
- 12:63db16fea709
File content as of revision 18:d849f3ada858:
#ifndef SIMPLEGUI_GUI_H #define SIMPLEGUI_GUI_H class GUI; #include "GraphicsContext.h" #include "Window.h" /** * A singleton class to hold the framework components **/ class GUI { public: GUI(GraphicsContext* context); GraphicsContext* getGraphicsContext(); Window *rootWindow(); void run(); private: GraphicsContext* _context; Window _rootWindow; }; #endif