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.
Revision 19:156e65966dbf, committed 2021-12-11
- Comitter:
- markospremic
- Date:
- Sat Dec 11 15:57:15 2021 +0000
- Parent:
- 18:3112550cc6a3
- Commit message:
- Marko Spremic 2020/0066 Test3
Changed in this revision
--- a/Adafruit_GFX.cpp Tue Jun 23 09:49:01 2015 +0000
+++ b/Adafruit_GFX.cpp Sat Dec 11 15:57:15 2021 +0000
@@ -452,3 +452,8 @@
break;
}
}
+
+void Adafruit_GFX::resetCoordinate()
+{
+ cursor_x = 0; cursor_y = 0;
+}
--- a/Adafruit_GFX.h Tue Jun 23 09:49:01 2015 +0000
+++ b/Adafruit_GFX.h Sat Dec 11 15:57:15 2021 +0000
@@ -167,6 +167,8 @@
/// Set the display rotation, 1, 2, 3, or 4
void setRotation(uint8_t r);
+ ///reset coordinate
+ void resetCoordinate();
/// Get the current rotation
inline uint8_t getRotation(void) { rotation %= 4; return rotation; };
--- a/Adafruit_GFX_Config.h Tue Jun 23 09:49:01 2015 +0000 +++ b/Adafruit_GFX_Config.h Sat Dec 11 15:57:15 2021 +0000 @@ -5,10 +5,10 @@ #define NO_SPLASH_ADAFRUIT // Uncomment this to enable all functionality -//#define GFX_WANT_ABSTRACTS +#define GFX_WANT_ABSTRACTS // Uncomment this to enable only runtime font scaling, without all the rest of the Abstracts -//#define GFX_SIZEABLE_TEXT +#define GFX_SIZEABLE_TEXT #endif \ No newline at end of file