made background of characters transparent
This commit is contained in:
parent
4f9fe2a24d
commit
bc29e0c6b7
@ -161,8 +161,6 @@ public:
|
|||||||
for (uint8_t x = 0; x < DISPLAY_CHAR_WIDTH; ++x) {
|
for (uint8_t x = 0; x < DISPLAY_CHAR_WIDTH; ++x) {
|
||||||
if (*(symbolBit++)) {
|
if (*(symbolBit++)) {
|
||||||
set(xPos + x, yPos + y, color);
|
set(xPos + x, yPos + y, color);
|
||||||
} else {
|
|
||||||
set(xPos + x, yPos + y, BLACK);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -182,8 +180,6 @@ public:
|
|||||||
for (int x = 0; x < countof(sym[0]); ++x) {
|
for (int x = 0; x < countof(sym[0]); ++x) {
|
||||||
if (sym[y][x]) {
|
if (sym[y][x]) {
|
||||||
set(xPos + x, yPos + y, color);
|
set(xPos + x, yPos + y, color);
|
||||||
} else {
|
|
||||||
set(xPos + x, yPos + y, BLACK);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user