aboutsummaryrefslogtreecommitdiffstats
path: root/glcd.h
diff options
context:
space:
mode:
authorTectu <joel@unormal.org>2012-05-29 22:24:49 +0200
committerTectu <joel@unormal.org>2012-05-29 22:24:49 +0200
commit045cc3cac75c7dcd0be8343cdd53c10610271eb0 (patch)
treee4f5cfcdf40ba294a2c142562e6fb94fc8d35b64 /glcd.h
parentb629274f713518175a49ac8c17d8da440e317d3d (diff)
downloaduGFX-045cc3cac75c7dcd0be8343cdd53c10610271eb0.tar.gz
uGFX-045cc3cac75c7dcd0be8343cdd53c10610271eb0.tar.bz2
uGFX-045cc3cac75c7dcd0be8343cdd53c10610271eb0.zip
added lcdDrawRectString()
Diffstat (limited to 'glcd.h')
-rwxr-xr-xglcd.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/glcd.h b/glcd.h
index f2202319..811b5179 100755
--- a/glcd.h
+++ b/glcd.h
@@ -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);