diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2005-09-02 05:39:09 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2005-09-02 05:39:09 +0000 |
commit | 60895bc107f5689f19de61828d8ffe0f2f1f59b5 (patch) | |
tree | 0141dc6cada785f2c7c6b6655820567432c353ec /apps/plugins/clock.c | |
parent | 58e9412bff9947e4514c0d55152bfad91049a60c (diff) | |
download | rockbox-60895bc107f5689f19de61828d8ffe0f2f1f59b5.tar.gz rockbox-60895bc107f5689f19de61828d8ffe0f2f1f59b5.zip |
Patch #1272052 by Henrik Backe - Move credits to a plugin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7450 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/clock.c')
-rw-r--r-- | apps/plugins/clock.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/plugins/clock.c b/apps/plugins/clock.c index 6830c74d53..6b06b1a74e 100644 --- a/apps/plugins/clock.c +++ b/apps/plugins/clock.c | |||
@@ -91,7 +91,7 @@ Original release, featuring analog / digital modes and a few options. | |||
91 | /************ | 91 | /************ |
92 | * Prototypes | 92 | * Prototypes |
93 | ***********/ | 93 | ***********/ |
94 | void show_logo(bool animate, bool show_clock_text); | 94 | void show_clock_logo(bool animate, bool show_clock_text); |
95 | void exit_logo(void); | 95 | void exit_logo(void); |
96 | void save_settings(bool interface); | 96 | void save_settings(bool interface); |
97 | 97 | ||
@@ -461,7 +461,7 @@ void save_settings(bool interface) | |||
461 | rb->snprintf(buf, sizeof(buf), "Saving Settings"); | 461 | rb->snprintf(buf, sizeof(buf), "Saving Settings"); |
462 | rb->lcd_getstringsize(buf, &buf_w, &buf_h); | 462 | rb->lcd_getstringsize(buf, &buf_w, &buf_h); |
463 | rb->lcd_putsxy(LCD_WIDTH/2-buf_w/2, 56, buf); | 463 | rb->lcd_putsxy(LCD_WIDTH/2-buf_w/2, 56, buf); |
464 | show_logo(true, true); | 464 | show_clock_logo(true, true); |
465 | 465 | ||
466 | rb->lcd_update(); | 466 | rb->lcd_update(); |
467 | } | 467 | } |
@@ -523,7 +523,7 @@ void load_settings(void) | |||
523 | rb->snprintf(buf, sizeof(buf), "Loading Settings"); | 523 | rb->snprintf(buf, sizeof(buf), "Loading Settings"); |
524 | rb->lcd_getstringsize(buf, &buf_w, &buf_h); | 524 | rb->lcd_getstringsize(buf, &buf_w, &buf_h); |
525 | rb->lcd_putsxy(LCD_WIDTH/2-buf_w/2, 56, buf); | 525 | rb->lcd_putsxy(LCD_WIDTH/2-buf_w/2, 56, buf); |
526 | show_logo(true, true); | 526 | show_clock_logo(true, true); |
527 | rb->lcd_update(); | 527 | rb->lcd_update(); |
528 | 528 | ||
529 | if(fd >= 0) /* does file exist? */ | 529 | if(fd >= 0) /* does file exist? */ |
@@ -1020,7 +1020,7 @@ void binary(int hour, int minute, int second) | |||
1020 | /**************** | 1020 | /**************** |
1021 | * Shows the logo | 1021 | * Shows the logo |
1022 | ***************/ | 1022 | ***************/ |
1023 | void show_logo(bool animate, bool show_clock_text) | 1023 | void show_clock_logo(bool animate, bool show_clock_text) |
1024 | { | 1024 | { |
1025 | int y_position; | 1025 | int y_position; |
1026 | 1026 | ||
@@ -1151,7 +1151,7 @@ bool roll_credits(void) | |||
1151 | { | 1151 | { |
1152 | rb->lcd_clear_display(); | 1152 | rb->lcd_clear_display(); |
1153 | 1153 | ||
1154 | show_logo(false, false); | 1154 | show_clock_logo(false, false); |
1155 | 1155 | ||
1156 | rb->snprintf(elapsednames, sizeof(elapsednames), "[Credits] %02d/%02d", j+1, numnames); | 1156 | rb->snprintf(elapsednames, sizeof(elapsednames), "[Credits] %02d/%02d", j+1, numnames); |
1157 | rb->lcd_putsxy(credits_pos-1, 0, elapsednames); | 1157 | rb->lcd_putsxy(credits_pos-1, 0, elapsednames); |
@@ -1299,7 +1299,7 @@ bool show_credits(void) | |||
1299 | rb->lcd_putsxy(LCD_WIDTH/2-buf_w/2, 56, buf); | 1299 | rb->lcd_putsxy(LCD_WIDTH/2-buf_w/2, 56, buf); |
1300 | 1300 | ||
1301 | /* show the logo with an animation and the clock version text */ | 1301 | /* show the logo with an animation and the clock version text */ |
1302 | show_logo(true, true); | 1302 | show_clock_logo(true, true); |
1303 | 1303 | ||
1304 | rb->lcd_update(); | 1304 | rb->lcd_update(); |
1305 | 1305 | ||