diff options
Diffstat (limited to 'apps/plugins/clock.c')
-rw-r--r-- | apps/plugins/clock.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/apps/plugins/clock.c b/apps/plugins/clock.c index 032344263a..6a1d306339 100644 --- a/apps/plugins/clock.c +++ b/apps/plugins/clock.c | |||
@@ -89,6 +89,7 @@ Original release, featuring analog / digital modes and a few options. | |||
89 | *****************************/ | 89 | *****************************/ |
90 | #include "plugin.h" | 90 | #include "plugin.h" |
91 | #include "time.h" | 91 | #include "time.h" |
92 | #include "checkbox.h" | ||
92 | #include <pluginbitmaps/clock_logo.h> | 93 | #include <pluginbitmaps/clock_logo.h> |
93 | 94 | ||
94 | PLUGIN_HEADER | 95 | PLUGIN_HEADER |
@@ -2386,7 +2387,7 @@ void draw_extras(int year, int day, int month, int hour, int minute, int second) | |||
2386 | rb->lcd_putsxy((LCDWIDTH/2)-(w/2), 5, buf); | 2387 | rb->lcd_putsxy((LCDWIDTH/2)-(w/2), 5, buf); |
2387 | } | 2388 | } |
2388 | else if(settings.digital[digital_seconds] == 2) /* Second progressbar */ | 2389 | else if(settings.digital[digital_seconds] == 2) /* Second progressbar */ |
2389 | rb->scrollbar(0, 0, LCD_WIDTH, 4, 60, 0, second, HORIZONTAL); | 2390 | rb->gui_scrollbar_draw(rb->screens[SCREEN_MAIN],0, 0, LCD_WIDTH, 4, 60, 0, second, HORIZONTAL); |
2390 | else if(settings.digital[digital_seconds] == 3) /* Invert the LCD as seconds pass */ | 2391 | else if(settings.digital[digital_seconds] == 3) /* Invert the LCD as seconds pass */ |
2391 | { | 2392 | { |
2392 | rb->lcd_set_drawmode(DRMODE_COMPLEMENT); | 2393 | rb->lcd_set_drawmode(DRMODE_COMPLEMENT); |
@@ -2417,7 +2418,7 @@ void draw_extras(int year, int day, int month, int hour, int minute, int second) | |||
2417 | } | 2418 | } |
2418 | else if(settings.lcd[lcd_seconds] == 2) /* Second progressbar */ | 2419 | else if(settings.lcd[lcd_seconds] == 2) /* Second progressbar */ |
2419 | { | 2420 | { |
2420 | rb->scrollbar(0, 0, LCD_WIDTH, 4, 60, 0, second, HORIZONTAL); | 2421 | rb->gui_scrollbar_draw(rb->screens[SCREEN_MAIN],0, 0, LCD_WIDTH, 4, 60, 0, second, HORIZONTAL); |
2421 | } | 2422 | } |
2422 | else if(settings.lcd[lcd_seconds] == 3) /* Invert the LCD as seconds pass */ | 2423 | else if(settings.lcd[lcd_seconds] == 3) /* Invert the LCD as seconds pass */ |
2423 | { | 2424 | { |
@@ -2727,8 +2728,8 @@ void counter_settings(void) | |||
2727 | rb->lcd_puts(0, 7, "OFF: Return"); | 2728 | rb->lcd_puts(0, 7, "OFF: Return"); |
2728 | 2729 | ||
2729 | /* tell user what mode is selected */ | 2730 | /* tell user what mode is selected */ |
2730 | rb->checkbox(1, 17, 8, 6, counting_up); | 2731 | checkbox(rb,1, 17, 8, 6, counting_up); |
2731 | rb->checkbox(1, 25, 8, 6, !counting_up); | 2732 | checkbox(rb,1, 25, 8, 6, !counting_up); |
2732 | 2733 | ||
2733 | switch(cursorpos) | 2734 | switch(cursorpos) |
2734 | { | 2735 | { |