Test for STM32F4
Fork of RGB_OLED_SSD1331 by
Diff: include/SSD1331.h
- Revision:
- 8:ff74bd4d94d6
- Parent:
- 7:5250c825c7bb
- Child:
- 9:5a7bf0ce8518
diff -r 5250c825c7bb -r ff74bd4d94d6 include/SSD1331.h --- a/include/SSD1331.h Sun Nov 15 23:07:48 2015 +0000 +++ b/include/SSD1331.h Tue Nov 17 08:43:15 2015 +0000 @@ -172,11 +172,13 @@ virtual void drawPixel(uint8_t x, uint8_t y, uint16_t color); virtual void drawLine(uint8_t x0, uint8_t y0, uint8_t x1, uint8_t y1, uint16_t color); + virtual void drawRect(uint8_t left_x, uint8_t top_y, uint8_t width, uint8_t height, uint16_t color); void drawFrame(uint8_t x0, uint8_t y0, uint8_t x1, uint8_t y1, uint16_t outColor, uint16_t fillColor); void copyArea(uint8_t x0, uint8_t y0, uint8_t x1, uint8_t y1, uint8_t x2, uint8_t y2); void dimArea(uint8_t x0, uint8_t y0, uint8_t x1, uint8_t y1); void clearArea(uint8_t x0, uint8_t y0, uint8_t x1, uint8_t y1); void moveArea(uint8_t x0, uint8_t y0, uint8_t x1, uint8_t y1, uint8_t x2, uint8_t y2); + virtual void fillScreen(uint16_t color); void setScolling(ScollingDirection direction, uint8_t rowAddr, uint8_t rowNum, uint8_t timeInterval); void enableScolling(bool enable); void setDisplayMode(DisplayMode mode);