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)