diff options
| author | Tectu <joel@unormal.org> | 2012-07-17 02:30:18 +0200 |
|---|---|---|
| committer | Tectu <joel@unormal.org> | 2012-07-17 02:30:18 +0200 |
| commit | 7db1dfd26bbc50371c9af2a601deb8818152ca26 (patch) | |
| tree | 1a85068d6bfdcb8f0a0c5c70896eed90a770b9e5 | |
| parent | 7b2e2d0d82ecbaf1cbb464db87588fb63f32a423 (diff) | |
| download | uGFX-7db1dfd26bbc50371c9af2a601deb8818152ca26.tar.gz uGFX-7db1dfd26bbc50371c9af2a601deb8818152ca26.tar.bz2 uGFX-7db1dfd26bbc50371c9af2a601deb8818152ca26.zip | |
cleanup
| -rw-r--r-- | glcd.c | 2 | ||||
| -rw-r--r-- | glcd.h | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -307,7 +307,7 @@ void lcdDrawLine(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1, uint16_t co } } -int lcdDrawChar(uint16_t cx, uint16_t cy, char c, font_t font, uint16_t color, uint16_t bkcolor, bool_t tpText) { +uint16_t lcdDrawChar(uint16_t cx, uint16_t cy, char c, font_t font, uint16_t color, uint16_t bkcolor, bool_t tpText) { /* Working pointer */ const uint8_t* ptr; uint8_t x, y; @@ -71,7 +71,7 @@ void lcdDrawCircle(uint16_t x, uint16_t y, uint16_t radius, uint8_t filled, uint void lcdDrawEllipse(uint16_t x, uint16_t y, uint16_t a, uint16_t b, uint8_t filled, uint16_t color); /* Text Rendering Functions */ -int lcdDrawChar(uint16_t cx, uint16_t cy, char c, font_t font, uint16_t color, uint16_t bkcolor, bool_t tpText); +uint16_t lcdDrawChar(uint16_t cx, uint16_t cy, char c, font_t font, uint16_t color, uint16_t bkcolor, bool_t tpText); void lcdDrawString(uint16_t x, uint16_t y, const char *str, font_t font, uint16_t color, uint16_t bkcolor, bool_t tpText); /* Character measuring functions */ |
