Skip to content

Commit 33a4bdf

Browse files
committed
Add XBitmap (*.xbm) support
add XBitmap(*.xbm) support, to directly use exported GIMP xbm files. (Rename the file to *.c and open in editor.)
1 parent 82e71e0 commit 33a4bdf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Adafruit_GFX.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ class Adafruit_GFX : public Print {
4848
int16_t radius, uint16_t color),
4949
drawBitmap(int16_t x, int16_t y, const uint8_t *bitmap,
5050
int16_t w, int16_t h, uint16_t color),
51+
drawXBitmap(int16_t x, int16_t y, const uint8_t *bitmap,
52+
int16_t w, int16_t h, uint16_t color),
5153
drawChar(int16_t x, int16_t y, unsigned char c, uint16_t color,
5254
uint16_t bg, uint8_t size),
5355
setCursor(int16_t x, int16_t y),

0 commit comments

Comments
 (0)