IMG_HOURGLASS,
IMG_FOLDER,
IMG_EXECBIN,
+ IMG_SUBCATFOLDER,
+ IMG_DOTDOTFOLDER,
IMG_MAX, // before this point is loaded; after is generated
+ IMG_LIST_ALPHAMASK,
+ IMG_LIST_ALPHAMASK_W,
IMG_TRUEMAX
} mm_imgcache_e;
typedef struct {
mm_imgcache_e id;
char *confname;
+ char *alt_confname;
void /*SDL_Surface*/ *i;
+ void /*SDL_Surface*/ *itiny;
} mm_imgcache_t;
/* ui stuff
uisb_max
} ui_sdl_button_e;
+typedef enum {
+ uiv_icons = 0,
+ uiv_list,
+ uiv_max
+} ui_viewmode_e;
+
unsigned char ui_setup ( void );
unsigned char ui_imagecache ( char *basepath );
unsigned char ui_pick_skin ( void ); // return >0 if skin has changed
void ui_aboutscreen ( char *textpath );
void ui_revealscreen ( void );
void ui_manage_categories ( void );
-int ui_pick_custom_category ( void );
+char *ui_pick_custom_category ( unsigned char mode ); // mode 0 == custom main only; 1 == custom main + FD main; 2 == custom main + FD mains-with-custom-subs
/* internal functions follow
*/