diff options
author | William Wilgus <wilgus.william@gmail.com> | 2022-10-13 00:05:34 -0400 |
---|---|---|
committer | William Wilgus <wilgus.william@gmail.com> | 2022-10-13 00:10:25 -0400 |
commit | f9ea1fc79d6aaff9949a5b11ae011b4e04e0e9d9 (patch) | |
tree | acef9a442d685e930b9d7435c72d634c841dc795 /apps/gui/splash.h | |
parent | c607bfac6feb6bb915f3133a5c70ba871f5112ed (diff) | |
download | rockbox-f9ea1fc79d6aaff9949a5b11ae011b4e04e0e9d9.tar.gz rockbox-f9ea1fc79d6aaff9949a5b11ae011b4e04e0e9d9.zip |
splash_progress add delay function
I figure this is a better way to allow a delay before showing the
progress meter
Change-Id: I909902a52619023b0b87635d2eb94ed00cb4bcec
Diffstat (limited to 'apps/gui/splash.h')
-rw-r--r-- | apps/gui/splash.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/gui/splash.h b/apps/gui/splash.h index 4002af5296..f7ff44e00b 100644 --- a/apps/gui/splash.h +++ b/apps/gui/splash.h | |||
@@ -40,6 +40,8 @@ extern void splashf(int ticks, const char *fmt, ...) ATTRIBUTE_PRINTF(2, 3); | |||
40 | */ | 40 | */ |
41 | extern void splash(int ticks, const char *str); | 41 | extern void splash(int ticks, const char *str); |
42 | 42 | ||
43 | /* set a delay before displaying the progress meter the first time */ | ||
44 | extern void splash_progress_set_delay(long delay_ticks); | ||
43 | /* | 45 | /* |
44 | * Puts a splash message centered on all the screens with a progressbar | 46 | * Puts a splash message centered on all the screens with a progressbar |
45 | * - current : current progress increment | 47 | * - current : current progress increment |