Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: TouchScreenCalibrate TouchScreenGUIDemo
Fork of UniGraphic by
Diff: Graphics/TextDisplay.h
- Revision:
- 33:5743f9c16aa2
- Parent:
- 4:12ba0ecc2c1f
- Child:
- 34:091b954c3205
--- 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)
