Duncan McIntyre / UniGraphic

Dependents:   TouchScreenCalibrate TouchScreenGUIDemo

Fork of UniGraphic by GraphicsDisplay

Revision:
33:5743f9c16aa2
Parent:
4:12ba0ecc2c1f
Child:
34:091b954c3205
diff -r f5f3df66420e -r 5743f9c16aa2 Graphics/TextDisplay.h
--- a/Graphics/TextDisplay.h	Mon Mar 28 10:48:45 2016 +0000
+++ b/Graphics/TextDisplay.h	Mon Apr 11 16:54:35 2016 +0000
@@ -77,14 +77,16 @@
     * @note this method may be overridden in a derived class.
     * @param color is color to use for foreground drawing.
     */
-    virtual void foreground(uint16_t colour);
+    virtual void setForeground(uint16_t colour);
 
     /** set the background color
     * @note this method may be overridden in a derived class.
     * @param color is color to use for background drawing.
     */
-    virtual void background(uint16_t colour);
-
+    virtual void setBackground(uint16_t colour);
+    virtual uint16_t getForeground();
+    virtual uint16_t getBackground();
+    
     // putc (from Stream)
     // printf (from Stream)