|
@@ -4128,6 +4128,12 @@ void DWIN_StatusChanged(const char *text) {
|
4128
|
4128
|
DWIN_UpdateLCD();
|
4129
|
4129
|
}
|
4130
|
4130
|
|
|
4131
|
+void DWIN_StatusChanged_P(PGM_P const pstr) {
|
|
4132
|
+ char str[strlen_P((const char*)pstr) + 1];
|
|
4133
|
+ strcpy_P(str, (const char*)pstr);
|
|
4134
|
+ DWIN_StatusChanged(str);
|
|
4135
|
+}
|
|
4136
|
+
|
4131
|
4137
|
// GUI extension
|
4132
|
4138
|
void DWIN_Draw_Checkbox(uint16_t color, uint16_t bcolor, uint16_t x, uint16_t y, bool mode=false) {
|
4133
|
4139
|
DWIN_Draw_String(false,true,font8x16,Select_Color,bcolor,x+4,y,F(mode ? "x" : " "));
|