added the WANT_ABSTRACTS define so the library works with text sizes greater than 1
Fork of Adafruit_GFX by
Diff: Adafruit_GFX.h
- Revision:
- 4:232e3d1d47bc
- Parent:
- 2:7bcea45e60d8
--- a/Adafruit_GFX.h Wed Jan 23 02:43:38 2013 +0000
+++ b/Adafruit_GFX.h Sun Oct 12 04:42:13 2014 +0000
@@ -35,6 +35,9 @@
#define BLACK 0
#define WHITE 1
+// The WANT_AVSTRACTS define allows text sizes other than 1 to be selected
+#define WANT_ABSTRACTS
+
class Adafruit_GFX : public Stream
{
public:
@@ -96,7 +99,7 @@
void setTextWrap(bool w) { wrap = w; };
void setRotation(uint8_t r);
- uint8_t getRotation(void) { rotation %= 4; return rotation; };
+ uint8_t getRotation(void) { rotation %= 4; return rotation; };
protected:
int16_t _rawWidth, _rawHeight; // this is the 'raw' display w/h - never changes
