diff options
Diffstat (limited to 'apps/gui/splash.h')
-rw-r--r-- | apps/gui/splash.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/gui/splash.h b/apps/gui/splash.h index 76b4c16d0c..4002af5296 100644 --- a/apps/gui/splash.h +++ b/apps/gui/splash.h @@ -39,4 +39,13 @@ extern void splashf(int ticks, const char *fmt, ...) ATTRIBUTE_PRINTF(2, 3); * it will be voiced */ extern void splash(int ticks, const char *str); + +/* + * Puts a splash message centered on all the screens with a progressbar + * - current : current progress increment + * - total : total increments + * - fmt : what to say *printf style + * updates limited internally to 20 fps - call repeatedly to update progress + */ +extern void splash_progress(int current, int total, const char *fmt, ...) ATTRIBUTE_PRINTF(3, 4); #endif /* _GUI_ICON_H_ */ |