瀏覽代碼

Added invertDisplay requirement

ladyada 13 年之前
父節點
當前提交
2187ebacca
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      Adafruit_GFX.h

+ 1 - 0
Adafruit_GFX.h

@@ -34,6 +34,7 @@ class Adafruit_GFX : public Print {
 
   // this must be defined by the subclass
   virtual void drawPixel(uint16_t x, uint16_t y, uint16_t color);
+  virtual void invertDisplay(boolean i);
 
   // these are 'generic' drawing functions, so we can share them!
   virtual void drawLine(int16_t x0, int16_t y0, int16_t x1, int16_t y1,