|
@@ -235,7 +235,6 @@ void DWIN_Frame_AreaMove(uint8_t mode, uint8_t dir, uint16_t dis,
|
235
|
235
|
// rlimit: To limit the drawn string length
|
236
|
236
|
void DWIN_Draw_String(bool bShow, uint8_t size, uint16_t color, uint16_t bColor, uint16_t x, uint16_t y, const char * const string, uint16_t rlimit/*=0xFFFF*/) {
|
237
|
237
|
DWIN_Draw_Rectangle(1, bColor, x, y, x + (fontWidth(size) * strlen_P(string)), y + fontHeight(size));
|
238
|
|
- DWIN_UpdateLCD();
|
239
|
238
|
constexpr uint8_t widthAdjust = 0;
|
240
|
239
|
size_t i = 0;
|
241
|
240
|
DWIN_Byte(i, 0x11);
|
|
@@ -250,7 +249,6 @@ void DWIN_Draw_String(bool bShow, uint8_t size, uint16_t color, uint16_t bColor,
|
250
|
249
|
DWIN_Word(i, y);
|
251
|
250
|
DWIN_Text(i, string, rlimit);
|
252
|
251
|
DWIN_Send(i);
|
253
|
|
- DWIN_UpdateLCD();
|
254
|
252
|
}
|
255
|
253
|
|
256
|
254
|
// Draw a positive integer
|
|
@@ -297,7 +295,6 @@ void DWIN_Draw_IntValue(uint8_t bShow, bool zeroFill, uint8_t zeroMode, uint8_t
|
297
|
295
|
#endif
|
298
|
296
|
|
299
|
297
|
DWIN_Send(i);
|
300
|
|
- DWIN_UpdateLCD();
|
301
|
298
|
}
|
302
|
299
|
|
303
|
300
|
// Draw a floating point number
|
|
@@ -332,7 +329,6 @@ void DWIN_Draw_FloatValue(uint8_t bShow, bool zeroFill, uint8_t zeroMode, uint8_
|
332
|
329
|
DWIN_Byte(i, fvalue[0]);
|
333
|
330
|
*/
|
334
|
331
|
DWIN_Send(i);
|
335
|
|
- DWIN_UpdateLCD();
|
336
|
332
|
}
|
337
|
333
|
|
338
|
334
|
// Draw a floating point number
|