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

Revision:
9:680f6c9940b3
Parent:
8:a569bc50b552
Child:
10:a640680b5309
diff -r a569bc50b552 -r 680f6c9940b3 SPI_TFT_ILI9225.h
--- a/SPI_TFT_ILI9225.h	Wed Nov 23 11:31:45 2016 +0000
+++ b/SPI_TFT_ILI9225.h	Wed Nov 23 11:57:11 2016 +0000
@@ -194,16 +194,16 @@
     /// Draw hline, rectangle coordinates
     /// @param  x1 top left coordinate, x-axis
     /// @param  x2 bottom right coordinate, x-axis
-    /// @param  y2 bottom right coordinate, y-axis
+    /// @param  y bottom right coordinate, y-axis
     /// @param  color 16-bit color
-    void hline(uint16_t x0, uint16_t x1, uint16_t y, uint16_t color);
+    void hline(uint16_t x1, uint16_t x2, uint16_t y, uint16_t color);
 
     /// Draw vline, rectangle coordinates
-    /// @param  x1 top left coordinate, x-axis
+    /// @param  x top left coordinate, x-axis
     /// @param  y1 top left coordinate, y-axis
     /// @param  y2 bottom right coordinate, y-axis
     /// @param  color 16-bit color
-    void vline(uint16_t x, uint16_t y0, uint16_t y1, uint16_t color);
+    void vline(uint16_t x, uint16_t y1, uint16_t y2, uint16_t color);
 
     /// Draw rectangle, rectangle coordinates
     /// @param  x1 top left coordinate, x-axis
@@ -354,6 +354,8 @@
 
     float _brightness;
 
+    uint16_t _entryMode;
+
     uint16_t _maxX, _maxY;
 
     DigitalOut _rst;