add a loading bar (#159)

- when loading icons
- when downloading via QR
- when loading list in the browser
- when loading preview/BGM in the browser
- when downloading from the browser
This commit is contained in:
LiquidFenrir
2018-05-11 15:53:38 +02:00
committed by Alex Taber
parent fe58e2d938
commit 403453c3fc
6 changed files with 39 additions and 13 deletions

View File

@@ -230,6 +230,9 @@ void load_icons_first(Entry_List_s * list, bool silent)
for(int i = starti; i < endi; i++, id++)
{
if(!silent)
draw_loading_bar(i - starti, endi-starti, INSTALL_LOADING_ICONS);
int offset = i;
if(offset < 0)
offset += list->entries_count;