IMG_SELECTED_ALPHAMASK,
IMG_TAB_SEL,
IMG_TAB_UNSEL,
+ IMG_TAB_LINE,
+ IMG_TAB_LINEL,
+ IMG_TAB_LINER,
IMG_ICON_MISSING,
IMG_SELECTED_HILITE,
IMG_PREVIEW_MISSING,
IMG_ARROW_UP,
IMG_ARROW_DOWN,
IMG_ARROW_SCROLLBAR,
+ IMG_HOURGLASS,
IMG_MAX, // before this point is loaded; after is generated
IMG_TRUEMAX
} mm_imgcache_e;
void ui_loadscreen ( void ); // show screen while loading the menu
void ui_discoverscreen ( unsigned char clearscreen ); // screen to show while scanning for apps
void ui_cachescreen ( unsigned char clearscreen, char *filename ); // while caching icons, categories and preview-pics-Now-mode
+void ui_show_hourglass ( unsigned char updaterect );
+void ui_post_scan ( void );
+
+/* internal functions follow
+ */
// show a menu, return when selection made; -1 means no selection. Enter is pick.
int ui_modal_single_menu ( char *argv[], unsigned int argc, char *title, char *footer );
// run a forked app (ie: not wait for it to return)
unsigned char ui_forkexec ( char *argv[] ); // argv[0] is proggy to exec; argv last entry must be NULLptr
-/* internal functions follow
- */
+// create a thread of this guy, and it'll try to load the preview pic in background and then signal the app
+unsigned char ui_threaded_defered_preview ( pnd_disco_t *p );
+unsigned char ui_threaded_defered_icon ( void * );
// change the focus
void ui_process_input ( unsigned char block_p );