summaryrefslogtreecommitdiff
path: root/apps/status.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/status.c')
-rw-r--r--apps/status.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/apps/status.c b/apps/status.c
index 2218768451..ac11c17e1b 100644
--- a/apps/status.c
+++ b/apps/status.c
@@ -187,7 +187,9 @@ void status_draw(bool force_redraw)
187 info.redraw_volume || 187 info.redraw_volume ||
188 memcmp(&info, &lastinfo, sizeof(struct status_info))) 188 memcmp(&info, &lastinfo, sizeof(struct status_info)))
189 { 189 {
190 lcd_clearrect(0,0,LCD_WIDTH,8); 190 lcd_set_drawmode(DRMODE_SOLID|DRMODE_INVERSEVID);
191 lcd_fillrect(0,0,LCD_WIDTH,8);
192 lcd_set_drawmode(DRMODE_SOLID);
191#else 193#else
192 /* players always "redraw" */ 194 /* players always "redraw" */
193 { 195 {
@@ -326,7 +328,9 @@ static void draw_buttonbar_btn(int num, const char* caption)
326 lcd_putsxy(xpos + (button_width - text_width)/2, ypos, caption); 328 lcd_putsxy(xpos + (button_width - text_width)/2, ypos, caption);
327 } 329 }
328 330
329 lcd_invertrect(xpos, ypos, button_width - 1, fh); 331 lcd_set_drawmode(DRMODE_COMPLEMENT);
332 lcd_fillrect(xpos, ypos, button_width - 1, fh);
333 lcd_set_drawmode(DRMODE_SOLID);
330} 334}
331 335
332static char stored_caption1[8]; 336static char stored_caption1[8];
@@ -363,7 +367,9 @@ void buttonbar_unset(void)
363 367
364void buttonbar_draw(void) 368void buttonbar_draw(void)
365{ 369{
366 lcd_clearrect(0, LCD_HEIGHT-8, LCD_WIDTH, 8); 370 lcd_set_drawmode(DRMODE_SOLID|DRMODE_INVERSEVID);
371 lcd_fillrect(0, LCD_HEIGHT-8, LCD_WIDTH, 8);
372 lcd_set_drawmode(DRMODE_SOLID);
367 draw_buttonbar_btn(0, stored_caption1); 373 draw_buttonbar_btn(0, stored_caption1);
368 draw_buttonbar_btn(1, stored_caption2); 374 draw_buttonbar_btn(1, stored_caption2);
369 draw_buttonbar_btn(2, stored_caption3); 375 draw_buttonbar_btn(2, stored_caption3);