summaryrefslogtreecommitdiff
path: root/apps/main.c
diff options
context:
space:
mode:
authorWilliam Wilgus <wilgus.william@gmail.com>2022-10-09 00:47:44 -0400
committerWilliam Wilgus <wilgus.william@gmail.com>2022-10-09 08:46:51 -0400
commitd73aaf3d9ec0f232c733f9330d38cdec55d9264d (patch)
treeb124e48be4feb16e5d5c551a63714975869eb8a3 /apps/main.c
parente57b4f909901ccc04b596ea817a98100b5f7b33b (diff)
downloadrockbox-d73aaf3d9ec0f232c733f9330d38cdec55d9264d.tar.gz
rockbox-d73aaf3d9ec0f232c733f9330d38cdec55d9264d.zip
add splash_progress
the loading track splash flashes and is ugly add a function to display a progressbar along with the splash message spruce up database commit message as well Change-Id: I2749b958c1ee5dad2631a5f999a4b00ddca7f225
Diffstat (limited to 'apps/main.c')
-rw-r--r--apps/main.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/apps/main.c b/apps/main.c
index 59932d6185..6360267243 100644
--- a/apps/main.c
+++ b/apps/main.c
@@ -288,13 +288,15 @@ static void init_tagcache(void)
288#endif 288#endif
289 if (lang_is_rtl()) 289 if (lang_is_rtl())
290 { 290 {
291 splashf(0, "[%d/%d] %s", ret, tagcache_get_max_commit_step(), 291 splash_progress(ret, tagcache_get_max_commit_step(),
292 str(LANG_TAGCACHE_INIT)); 292 "[%d/%d] %s", ret, tagcache_get_max_commit_step(),
293 str(LANG_TAGCACHE_INIT));
293 } 294 }
294 else 295 else
295 { 296 {
296 splashf(0, "%s [%d/%d]", str(LANG_TAGCACHE_INIT), ret, 297 splash_progress(ret, tagcache_get_max_commit_step(),
297 tagcache_get_max_commit_step()); 298 "%s [%d/%d]", str(LANG_TAGCACHE_INIT), ret,
299 tagcache_get_max_commit_step());
298 } 300 }
299 clear = true; 301 clear = true;
300 } 302 }