foldme draft

Tue, 17 Nov 2020 20:20:13 +0100

author
David Douard <david.douard@sdf3.org>
date
Tue, 17 Nov 2020 20:20:13 +0100
changeset 55
694e5030b0e9
parent 54
f6774bd0d570
child 56
c296edace64a

foldme

lib/unigraphic/TextDisplay.h file | annotate | diff | comparison | revisions
--- 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