From f9ea1fc79d6aaff9949a5b11ae011b4e04e0e9d9 Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Thu, 13 Oct 2022 00:05:34 -0400 Subject: splash_progress add delay function I figure this is a better way to allow a delay before showing the progress meter Change-Id: I909902a52619023b0b87635d2eb94ed00cb4bcec --- apps/gui/splash.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/gui/splash.h') 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); */ extern void splash(int ticks, const char *str); +/* set a delay before displaying the progress meter the first time */ +extern void splash_progress_set_delay(long delay_ticks); /* * Puts a splash message centered on all the screens with a progressbar * - current : current progress increment -- cgit v1.2.3