summaryrefslogtreecommitdiffstats
path: root/apps/gui/splash.h
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2007-03-16 21:56:08 +0000
committerJens Arnold <amiconn@rockbox.org>2007-03-16 21:56:08 +0000
commit4d6374c9236b93e0bd457f99944164fc493d1120 (patch)
treeff9630fcef66e63c61cc0a74e97f21220e668f75 /apps/gui/splash.h
parent2c643b9f3e22ee07f7949a5471f726758dc40841 (diff)
downloadrockbox-4d6374c9236b93e0bd457f99944164fc493d1120.tar.gz
rockbox-4d6374c9236b93e0bd457f99944164fc493d1120.tar.bz2
rockbox-4d6374c9236b93e0bd457f99944164fc493d1120.zip
Get rid of the 'center' parameter for splashes. There were only 2 of almost 500 splashes which were not centered.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12807 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/splash.h')
-rw-r--r--apps/gui/splash.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/apps/gui/splash.h b/apps/gui/splash.h
index b1ac15c537..589be95033 100644
--- a/apps/gui/splash.h
+++ b/apps/gui/splash.h
@@ -22,24 +22,19 @@
#include "screen_access.h"
/*
- * Puts a splash message on the given screen for a given period
+ * Puts a splash message centered on the given screen for a given period
* - screen : the screen to put the splash on
* - ticks : how long the splash is displayed (in rb ticks)
- * - center : FALSE means left-justified, TRUE means
- * horizontal and vertical center
* - fmt : what to say *printf style
*/
extern void gui_splash(struct screen * screen, int ticks,
- bool center, const char *fmt, ...);
+ const char *fmt, ...);
/*
- * Puts a splash message on all the screens for a given period
+ * Puts a splash message centered on all the screens for a given period
* - ticks : how long the splash is displayed (in rb ticks)
- * - center : FALSE means left-justified, TRUE means
- * horizontal and vertical center
* - fmt : what to say *printf style
*/
-extern void gui_syncsplash(int ticks, bool center,
- const unsigned char *fmt, ...);
+extern void gui_syncsplash(int ticks, const unsigned char *fmt, ...);
#endif /* _GUI_ICON_H_ */