shadowing fix
This commit is contained in:
parent
2c95af7413
commit
3ada10d048
1 changed files with 2 additions and 2 deletions
4
gui.c
4
gui.c
|
@ -160,8 +160,8 @@ uint8_t guiDrawButton(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1, char *
|
||||||
|
|
||||||
if(shadow != 0) {
|
if(shadow != 0) {
|
||||||
for(i = 0; i < shadow; i++) {
|
for(i = 0; i < shadow; i++) {
|
||||||
lcdDrawLine(x1+i, y0-i, x1+i, y1-i-1, Black);
|
lcdDrawLine(x0+shadow, y1+i, x1+shadow-1, y1+i, Black);
|
||||||
lcdDrawLine(x0+i, y0-i, x1+i, y0-i, Black);
|
lcdDrawLine(x1+i, y0+shadow, x1+i, y1+shadow-1, Black);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue