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:
@@ -93,6 +93,7 @@ bool draw_confirm(const char* conf_msg, Entry_List_s* list);
|
||||
void draw_preview(ssize_t previewID, int preview_offset);
|
||||
|
||||
void draw_install(InstallType type);
|
||||
void draw_loading_bar(u32 current, u32 max, InstallType type);
|
||||
|
||||
void draw_base_interface(void);
|
||||
void draw_grid_interface(Entry_List_s* list, Instructions_s instructions);
|
||||
|
||||
@@ -28,6 +28,7 @@
|
||||
#define REMOTE_H
|
||||
|
||||
#include "common.h"
|
||||
#include "draw.h"
|
||||
|
||||
#define THEMEPLAZA_BASE_URL "https://themeplaza.eu"
|
||||
#define THEMEPLAZA_API_URL "/api/anemone/v1"
|
||||
@@ -50,6 +51,6 @@
|
||||
#define CACHE_PATH_FORMAT "/3ds/" APP_TITLE "/cache/%" JSON_INTEGER_FORMAT
|
||||
|
||||
bool themeplaza_browser(EntryMode mode);
|
||||
u32 http_get(const char *url, char ** filename, char ** buf);
|
||||
u32 http_get(const char *url, char ** filename, char ** buf, InstallType install_type);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user