Foundation classes for a basic GUI implementing simple widgets and events

Dependents:   TouchScreenGUIDemo

Events/EventSource.h

Committer:
duncanFrance
Date:
2016-05-08
Revision:
12:63db16fea709
Parent:
1:48796b602c86
Child:
18:d849f3ada858

File content as of revision 12:63db16fea709:

#ifndef SIMPLEGUI_EVENT_SOURCE_H
#define SIMPLEGUI_EVENT_SOURCE_H

#include "GUI.h"

/**
* Interface defining a class which sources events
**/
class EventSource {
    
    public:
    
    EventSource(GUI* gui) : _gui(gui) {}

    protected:
    
    GUI* _gui; 
};


#endif