- Redistribució de gràfics en diferents GIFs

This commit is contained in:
2023-06-07 12:20:18 +02:00
parent 2c52af98a1
commit a9e2b00c4d
11 changed files with 95 additions and 38 deletions

View File

@@ -14,9 +14,9 @@ namespace ui
const int txt_size = strlen(label)*4;
const int txt_x = x+(w-txt_size)/2;
draw::color(inside?(btnDown?15:13):5);
draw::color(inside?(btnDown?15:LIGHT+TEAL):TEAL);
draw::fillrect(x, y, w, h);
draw::print(label, 1+txt_x, y+3, 15, 8);
draw::print(label, 1+txt_x, y+3, LIGHT+WHITE, PAPER);
if (inside)
{