Removed SetLcd

This commit is contained in:
eshifri
2021-06-20 07:46:35 -07:00
parent 487d371314
commit 15a5b6e4cb
+2 -4
View File
@@ -89,16 +89,14 @@ void Layout2x4::paint(BitmapBuffer* dc)
rect_t fullScreen = Layout::getMainZone();
fullScreen.w /= 2;
if (getOptionValue(OPTION_PANEL1_BACKGROUND)->boolValue) {
lcdSetColor(getOptionValue(OPTION_PANEL1_COLOR)->unsignedValue);
dc->drawSolidFilledRect(fullScreen.x, fullScreen.y, fullScreen.w,
fullScreen.h, CUSTOM_COLOR);
fullScreen.h, COLOR2FLAGS(getOptionValue(OPTION_PANEL1_COLOR)->unsignedValue));
}
if (getOptionValue(OPTION_PANEL2_BACKGROUND)->boolValue) {
fullScreen.x += fullScreen.w;
lcdSetColor(getOptionValue(OPTION_PANEL2_COLOR)->unsignedValue);
dc->drawSolidFilledRect(fullScreen.x, fullScreen.y, fullScreen.w,
fullScreen.h, CUSTOM_COLOR);
fullScreen.h, COLOR2FLAGS(getOptionValue(OPTION_PANEL2_COLOR)->unsignedValue));
}
}