modify

Dependents:   ThingPlug_Ethernet_Example_temp_V2

Fork of Adafruit_GFX by justin kim

Revision:
5:d533c761006e
Parent:
4:256d9b541ab0
--- a/Adafruit_GFX.cpp	Thu Jul 30 05:20:08 2015 +0000
+++ b/Adafruit_GFX.cpp	Sat Aug 15 23:25:09 2015 +0000
@@ -34,7 +34,7 @@
 #include "mbed.h"
 #include "Adafruit_GFX.h"
 #include "glcdfont.h"
-
+LocateDef LOC;
 Adafruit_GFX::Adafruit_GFX(int16_t w, int16_t h): WIDTH(w), HEIGHT(h) {
  
   _width = WIDTH;
@@ -233,7 +233,7 @@
 
 
 void Adafruit_GFX::fillScreen(uint16_t color) {
-  fillRect(0, 0, _width, _height, color);
+  fillRect(0,0, _width, _height, color);
 }
 
 // draw a rounded rectangle!
@@ -425,6 +425,16 @@
   cursor_x = x;
   cursor_y = y;
 }
+ 
+
+
+void Adafruit_GFX::getCursor(LocateDef *LOC)
+{
+    
+    LOC->x_data=cursor_x;
+    LOC->y_data=cursor_y;
+ 
+}
 
 
 void Adafruit_GFX::setTextSize(uint8_t s) {