Foundation classes for a basic GUI implementing simple widgets and events. (Fork for custom changes.)

Fork of SimpleGUI by Duncan McIntyre

Revision:
7:303850a4b30c
Parent:
4:27546fb8b670
Child:
8:a460cabc85ac
--- a/Widgets/TextWidget.h	Mon Mar 28 12:59:37 2016 +0000
+++ b/Widgets/TextWidget.h	Sun Apr 10 16:48:44 2016 +0000
@@ -4,12 +4,11 @@
 #include "Widget.h"
 #include "Font.h"
 #include "FontRenderer.h"
-
 class TextWidget : public Widget {
     
     public:
     
-        TextWidget(GraphicsDisplay* display);
+        TextWidget(GraphicsDisplay& display, FontRenderer* renderer);
                 
         // Ccncrete methods for this class
         virtual void setFont(Font* font);
@@ -23,7 +22,7 @@
     
         char *_text;
         Font* _font;
-        FontRenderer _renderer;
+        FontRenderer* _renderer;
 };
 
 #endif
\ No newline at end of file