summaryrefslogtreecommitdiff
path: root/apps/plugins/clock.c
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2005-09-02 05:39:09 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2005-09-02 05:39:09 +0000
commit60895bc107f5689f19de61828d8ffe0f2f1f59b5 (patch)
tree0141dc6cada785f2c7c6b6655820567432c353ec /apps/plugins/clock.c
parent58e9412bff9947e4514c0d55152bfad91049a60c (diff)
downloadrockbox-60895bc107f5689f19de61828d8ffe0f2f1f59b5.zip
rockbox-60895bc107f5689f19de61828d8ffe0f2f1f59b5.tar.gz
rockbox-60895bc107f5689f19de61828d8ffe0f2f1f59b5.tar.bz2
rockbox-60895bc107f5689f19de61828d8ffe0f2f1f59b5.tar.xz
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.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/plugins/clock.c b/apps/plugins/clock.c
index 6830c74..6b06b1a 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.
/************
* Prototypes
***********/
-void show_logo(bool animate, bool show_clock_text);
+void show_clock_logo(bool animate, bool show_clock_text);
void exit_logo(void);
void save_settings(bool interface);
@@ -461,7 +461,7 @@ void save_settings(bool interface)
rb->snprintf(buf, sizeof(buf), "Saving Settings");
rb->lcd_getstringsize(buf, &buf_w, &buf_h);
rb->lcd_putsxy(LCD_WIDTH/2-buf_w/2, 56, buf);
- show_logo(true, true);
+ show_clock_logo(true, true);
rb->lcd_update();
}
@@ -523,7 +523,7 @@ void load_settings(void)
rb->snprintf(buf, sizeof(buf), "Loading Settings");
rb->lcd_getstringsize(buf, &buf_w, &buf_h);
rb->lcd_putsxy(LCD_WIDTH/2-buf_w/2, 56, buf);
- show_logo(true, true);
+ show_clock_logo(true, true);
rb->lcd_update();
if(fd >= 0) /* does file exist? */
@@ -1020,7 +1020,7 @@ void binary(int hour, int minute, int second)
/****************
* Shows the logo
***************/
-void show_logo(bool animate, bool show_clock_text)
+void show_clock_logo(bool animate, bool show_clock_text)
{
int y_position;
@@ -1151,7 +1151,7 @@ bool roll_credits(void)
{
rb->lcd_clear_display();
- show_logo(false, false);
+ show_clock_logo(false, false);
rb->snprintf(elapsednames, sizeof(elapsednames), "[Credits] %02d/%02d", j+1, numnames);
rb->lcd_putsxy(credits_pos-1, 0, elapsednames);
@@ -1299,7 +1299,7 @@ bool show_credits(void)
rb->lcd_putsxy(LCD_WIDTH/2-buf_w/2, 56, buf);
/* show the logo with an animation and the clock version text */
- show_logo(true, true);
+ show_clock_logo(true, true);
rb->lcd_update();