diff options
author | Tectu <joel@unormal.org> | 2012-05-29 22:24:49 +0200 |
---|---|---|
committer | Tectu <joel@unormal.org> | 2012-05-29 22:24:49 +0200 |
commit | 045cc3cac75c7dcd0be8343cdd53c10610271eb0 (patch) | |
tree | e4f5cfcdf40ba294a2c142562e6fb94fc8d35b64 /glcd.h | |
parent | b629274f713518175a49ac8c17d8da440e317d3d (diff) | |
download | uGFX-045cc3cac75c7dcd0be8343cdd53c10610271eb0.tar.gz uGFX-045cc3cac75c7dcd0be8343cdd53c10610271eb0.tar.bz2 uGFX-045cc3cac75c7dcd0be8343cdd53c10610271eb0.zip |
added lcdDrawRectString()
Diffstat (limited to 'glcd.h')
-rwxr-xr-x | glcd.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -51,12 +51,13 @@ void lcdSetOrientation(uint8_t newOrientation); void lcdDrawPixel(uint16_t x,uint16_t y,uint16_t point);
void lcdDrawLine(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1, uint16_t color);
void lcdDrawRect(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1, uint8_t filled, uint16_t color);
+void lcdDrawRectString(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1, uint8_t* str, uint16_t fontColor, uint16_t bkColor);
void lcdDrawCircle(uint16_t x, uint16_t y, uint16_t radius, uint8_t filled, uint16_t color);
void lcdFillArea(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1, uint16_t color);
void lcdFillArea2(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1, uint16_t color);
void lcdSetWindows(uint16_t xStart,uint16_t yStart,uint16_t xLong,uint16_t yLong);
-void lcdString(uint16_t x, uint16_t y, uint8_t *str,uint16_t color, uint16_t bkcolor);
-void lcdChar(uint16_t x, uint16_t y, unsigned char c, uint16_t charcolor, uint16_t bkcolor);
+void lcdDrawString(uint16_t x, uint16_t y, uint8_t *str,uint16_t color, uint16_t bkColor);
+void lcdDrawChar(uint16_t x, uint16_t y, unsigned char c, uint16_t charcolor, uint16_t bkColor);
uint16_t lcdGetHeight(void);
uint16_t lcdGetWidth(void);
uint16_t lcdBGR2RGB(uint16_t color);
|