Test for STM32F4
Fork of RGB_OLED_SSD1331 by
Diff: include/SGL.h
- Revision:
- 4:1707ca53e7d5
- Parent:
- 3:af00512c9694
- Child:
- 8:ff74bd4d94d6
diff -r af00512c9694 -r 1707ca53e7d5 include/SGL.h --- a/include/SGL.h Thu Nov 12 23:23:33 2015 +0000 +++ b/include/SGL.h Thu Nov 12 23:53:58 2015 +0000 @@ -145,7 +145,7 @@ public: SGL(uint16_t width, uint16_t height); virtual void drawPixel(uint8_t x, uint8_t y, uint16_t color) = 0; // implemented by subclass - virtual void drawLine(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1, uint16_t color); + virtual void drawLine(uint8_t x0, uint8_t y0, uint8_t x1, uint8_t y1, uint16_t color); virtual void drawVerticalLine(uint16_t x, uint16_t y, uint16_t height,uint16_t color); virtual void drawHorizontalLine(uint16_t x, uint16_t y, uint16_t width, uint16_t color); virtual void drawRectangle(uint16_t x, uint16_t y, uint16_t width, uint16_t height, uint16_t color);