Преглед изворни кода

New overload for drawBitmap to support background color.

schlammbad пре 12 година
родитељ
комит
01273c2ad2
1 измењених фајлова са 3 додато и 0 уклоњено
  1. 3 0
      Adafruit_GFX.h

+ 3 - 0
Adafruit_GFX.h

@@ -66,6 +66,9 @@ class Adafruit_GFX : public Print {
   void drawBitmap(int16_t x, int16_t y, 
 		  const uint8_t *bitmap, int16_t w, int16_t h,
 		  uint16_t color);
+  void drawBitmap(int16_t x, int16_t y,
+		  const uint8_t *bitmap, int16_t x, int16_t h,
+		  uint16_t color, uint16_t bg);
   void drawChar(int16_t x, int16_t y, unsigned char c,
 		uint16_t color, uint16_t bg, uint8_t size);
 #if ARDUINO >= 100