ugfx_release_2.6
Tectu 2012-06-13 22:32:14 +02:00
parent 4d4acdd9d1
commit b0b85efa18
2 changed files with 4 additions and 4 deletions

6
glcd.c
View File

@ -119,8 +119,8 @@ void lcdSetFont(uint8_t *fnt) {
font = fnt;
}
void lcdEnableTransparentText(uint8_t en) {
tpText = en;
void lcdEnableTransparentText(uint8_t transparency) {
tpText = transparency;
}
void lcdDrawChar(char c) {
@ -132,7 +132,7 @@ void lcdDrawChar(char c) {
// No support for nongraphic characters, so just ignore them
if(c < 0x20 || c > 0x7F) {
if(c=='\n')
if(c == '\n')
lcdLineBreak();
return;
}

2
glcd.h
View File

@ -53,7 +53,7 @@ void lcdDrawRect(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1, uint8_t fil
void lcdDrawRectString(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1, const char* 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 lcdEnableTransparentText(uint8_t en);
void lcdEnableTransparentText(uint8_t transparency);
void lcdSetFont(uint8_t *fnt);
void lcdDrawChar(char c);
void lcdPutString(const char *str);