From 14380ca946e95c68a25c3e42b502ca8ab6e55ed9 Mon Sep 17 00:00:00 2001 From: KTOWN Date: Tue, 8 Oct 2013 17:41:22 +0200 Subject: [PATCH] Adafruit_GFX support --- Adafruit_RA8875.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Adafruit_RA8875.h b/Adafruit_RA8875.h index 3d7ca90..7598cb5 100644 --- a/Adafruit_RA8875.h +++ b/Adafruit_RA8875.h @@ -28,8 +28,14 @@ class Adafruit_RA8875 : public Adafruit_GFX { void setXY(uint16_t x, uint16_t y); void fillRect(void); - /* Mandatory Adafruit_GFX functions */ + /* Adafruit_GFX functions */ void drawPixel(int16_t x, int16_t y, uint16_t color); + //void drawLine(int16_t x0, int16_t y0, int16_t x1, int16_t y1, uint16_t color); + //void drawFastVLine(int16_t x, int16_t y, int16_t h, uint16_t color); + //void drawFastHLine(int16_t x, int16_t y, int16_t w, uint16_t color); + //void drawRect(int16_t x, int16_t y, int16_t w, int16_t h, uint16_t color); + //void fillRect(int16_t x, int16_t y, int16_t w, int16_t h, uint16_t color); + //void fillScreen(uint16_t color); /* HW accelerated wrapper functions */ void drawCircle(int16_t x0, int16_t y0, int16_t r, uint16_t color);