forked from len0rd/rockbox
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
This commit is contained in:
parent
e57b4f9099
commit
d73aaf3d9e
6 changed files with 113 additions and 46 deletions
|
|
@ -241,15 +241,19 @@ static int browser(void* param)
|
|||
{
|
||||
if (lang_is_rtl())
|
||||
{
|
||||
splashf(0, "[%d/%d] %s", stat->commit_step,
|
||||
tagcache_get_max_commit_step(),
|
||||
str(LANG_TAGCACHE_INIT));
|
||||
splash_progress(stat->commit_step,
|
||||
tagcache_get_max_commit_step(),
|
||||
"[%d/%d] %s", stat->commit_step,
|
||||
tagcache_get_max_commit_step(),
|
||||
str(LANG_TAGCACHE_INIT));
|
||||
}
|
||||
else
|
||||
{
|
||||
splashf(0, "%s [%d/%d]", str(LANG_TAGCACHE_INIT),
|
||||
stat->commit_step,
|
||||
tagcache_get_max_commit_step());
|
||||
splash_progress(stat->commit_step,
|
||||
tagcache_get_max_commit_step(),
|
||||
"%s [%d/%d]", str(LANG_TAGCACHE_INIT),
|
||||
stat->commit_step,
|
||||
tagcache_get_max_commit_step());
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue