diff options
Diffstat (limited to 'apps/gui/splash.h')
-rw-r--r-- | apps/gui/splash.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/apps/gui/splash.h b/apps/gui/splash.h index bb3c8727d1..1bbb9e9e49 100644 --- a/apps/gui/splash.h +++ b/apps/gui/splash.h | |||
@@ -25,20 +25,17 @@ | |||
25 | #include "screen_access.h" | 25 | #include "screen_access.h" |
26 | 26 | ||
27 | /* | 27 | /* |
28 | * Puts a splash message centered on the given screen for a given period | 28 | * Puts a splash message centered on all the screens for a given period |
29 | * - screen : the screen to put the splash on | ||
30 | * - ticks : how long the splash is displayed (in rb ticks) | 29 | * - ticks : how long the splash is displayed (in rb ticks) |
31 | * - fmt : what to say *printf style | 30 | * - fmt : what to say *printf style |
32 | */ | 31 | */ |
33 | extern void gui_splash(struct screen * screen, int ticks, | 32 | extern void splashf(int ticks, const char *fmt, ...) ATTRIBUTE_PRINTF(2, 3); |
34 | const char *fmt, ...) ATTRIBUTE_PRINTF(3, 4); | ||
35 | 33 | ||
36 | /* | 34 | /* |
37 | * Puts a splash message centered on all the screens for a given period | 35 | * Puts a splash message centered on all the screens for a given period |
38 | * - ticks : how long the splash is displayed (in rb ticks) | 36 | * - ticks : how long the splash is displayed (in rb ticks) |
39 | * - fmt : what to say *printf style | 37 | * - str : what to say, if this is a LANG_* string (from ID2P) |
38 | * it will be voiced | ||
40 | */ | 39 | */ |
41 | extern void gui_syncsplash(int ticks, const char *fmt, ...) | 40 | extern void splash(int ticks, const char *str); |
42 | ATTRIBUTE_PRINTF(2, 3); | ||
43 | |||
44 | #endif /* _GUI_ICON_H_ */ | 41 | #endif /* _GUI_ICON_H_ */ |