lib/unigraphic/TextDisplay.h

changeset 55
694e5030b0e9
parent 28
424d792fea4f
--- a/lib/unigraphic/TextDisplay.h	Fri Nov 13 19:35:46 2020 +0100
+++ b/lib/unigraphic/TextDisplay.h	Tue Nov 17 20:20:13 2020 +0100
@@ -80,12 +80,14 @@
     * @param color is color to use for foreground drawing.
     */
     virtual void foreground(uint16_t colour);
+    virtual uint16_t foreground() {return _foreground;};
 
     /** 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 uint16_t background() {return _background;};
 
     // putc (from Stream)
     // printf (from Stream)

mercurial