Adafruit GFX Library

Dependents:   Adafruit_TFT_Shieldv1_graphicstest Adafruit_TFT_Shieldv1_rotationtest Adafruit_TFT_Shieldv1_shieldtest Solar_Powered_Smart_Camera ... more

Fork of Adafruit_GFX by Andrew Lindsay

Revision:
3:04b9498d00d8
Parent:
2:a7d4ac7ed08a
Child:
4:256d9b541ab0
--- a/Adafruit_GFX.h	Fri Jul 17 09:37:26 2015 +0000
+++ b/Adafruit_GFX.h	Mon Jul 27 23:09:51 2015 +0000
@@ -51,16 +51,16 @@
     //void constructor(int16_t w, int16_t h);
 
     virtual void drawPixel(int16_t x, int16_t y, uint16_t color) = 0;
-    virtual void invertDisplay(boolean i);
+    void invertDisplay(boolean i);
 
     // these are 'generic' drawing functions, so we can share them!
-    void drawLine(int16_t x0, int16_t y0, int16_t x1, int16_t y1,uint16_t color);
+    virtual void drawLine(int16_t x0, int16_t y0, int16_t x1, int16_t y1,uint16_t color);
     virtual void drawFastVLine(int16_t x, int16_t y, int16_t h, uint16_t color);
     virtual void drawFastHLine(int16_t x, int16_t y, int16_t w, uint16_t color);
     virtual void drawRect(int16_t x, int16_t y, int16_t w, int16_t h, uint16_t color);
     virtual void fillRect(int16_t x, int16_t y, int16_t w, int16_t h, uint16_t color);
     virtual void fillScreen(uint16_t color);
-
+    
     void drawCircle(int16_t x0, int16_t y0, int16_t r, uint16_t color);
     void drawCircleHelper(int16_t x0, int16_t y0, int16_t r, uint8_t cornername, uint16_t color);
     void fillCircle(int16_t x0, int16_t y0, int16_t r, uint16_t color);