modify
Dependents: ThingPlug_Ethernet_Example_temp_V2
Fork of Adafruit_GFX by
Diff: Adafruit_GFX.h
- Revision:
- 5:d533c761006e
- Parent:
- 4:256d9b541ab0
--- a/Adafruit_GFX.h Thu Jul 30 05:20:08 2015 +0000 +++ b/Adafruit_GFX.h Sat Aug 15 23:25:09 2015 +0000 @@ -40,6 +40,11 @@ #define swap(a, b) { int16_t t = a; a = b; b = t; } #define boolean bool +struct LocateDef +{ + uint16_t x_data; + uint16_t y_data; +}; class Adafruit_GFX : public Stream { @@ -80,6 +85,7 @@ void setCursor(int16_t x, int16_t y); void setTextColor(uint16_t c); void setTextColor(uint16_t c, uint16_t bg); + void getCursor(LocateDef* LOC); void setTextSize(uint8_t s); void setTextWrap(boolean w); @@ -102,5 +108,6 @@ boolean wrap; // If set, 'wrap' text at right edge of display }; + #endif