Uses the same fonts as the SPI_TFT_ILI9341 Library (I have many, and a html/php font editor for that)

Revision:
8:a569bc50b552
Parent:
7:2616ae4dd315
Child:
9:680f6c9940b3
--- a/SPI_TFT_ILI9225.h	Wed Nov 23 11:05:33 2016 +0000
+++ b/SPI_TFT_ILI9225.h	Wed Nov 23 11:31:45 2016 +0000
@@ -255,6 +255,16 @@
     /// @param  color 16-bit color
     void filltriangle(uint16_t x1, uint16_t y1, uint16_t x2, uint16_t y2, uint16_t x3, uint16_t y3, uint16_t color);
 
+    /// Draw line/filled rectangle, rectangle coordinates
+    /// @param  x1 top left coordinate, x-axis
+    /// @param  y1 top left coordinate, y-axis
+    /// @param  x2 bottom right coordinate, x-axis
+    /// @param  y2 bottom right coordinate, y-axis
+    /// @param  rad defines the redius of the circle
+    /// @param  fill fill yes or no
+    /// @param  color 16-bit color
+    void roundrect(uint16_t x1, uint16_t y1, uint16_t x2, uint16_t y2, uint16_t rad, bool fill, uint16_t color);
+
     /// Calculate 16-bit color from 8-bit Red-Green-Blue components
     /// @param  red red component, 0x00..0xff
     /// @param  green green component, 0x00..0xff
@@ -315,7 +325,6 @@
     virtual int rows(void);
 
     void unicode2ascii(char *uni_str, char *ascii_str); 
-    void roundRectangle(int x0, int y0, int x1, int y1, int rad, bool fill, int color);
 
 void window (unsigned int x, unsigned int y, unsigned int w, unsigned int h);