694e5030b0e9 — David Douard 4 years ago
foldme
1 files changed, 2 insertions(+), 0 deletions(-)

M lib/unigraphic/TextDisplay.h
M lib/unigraphic/TextDisplay.h +2 -0
@@ 80,12 80,14 @@ public:
     * @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)