Foundation classes for a basic GUI implementing simple widgets and events
Dependents: TouchScreenGUIDemo
Diff: Events/EventSource.h
- Revision:
- 18:d849f3ada858
- Parent:
- 12:63db16fea709
diff -r 5184762fda6c -r d849f3ada858 Events/EventSource.h --- a/Events/EventSource.h Sun May 22 16:35:23 2016 +0000 +++ b/Events/EventSource.h Sat May 28 14:50:14 2016 +0000 @@ -1,7 +1,7 @@ #ifndef SIMPLEGUI_EVENT_SOURCE_H #define SIMPLEGUI_EVENT_SOURCE_H -#include "GUI.h" +#include "EventDispatcher.h" /** * Interface defining a class which sources events @@ -10,11 +10,11 @@ public: - EventSource(GUI* gui) : _gui(gui) {} + EventSource(EventDispatcher* dispatcher) : _eventDispatcher(dispatcher) {} protected: - GUI* _gui; + EventDispatcher* _eventDispatcher; };