mmenu; larger font in list view; added to config file and config menu; default folders
[pandora-libraries.git] / minimenu / mmui.h
index 65cdb71..b6a0d68 100644 (file)
@@ -34,14 +34,20 @@ typedef enum {
   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
@@ -60,6 +66,12 @@ typedef enum {
   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
@@ -75,7 +87,7 @@ unsigned char ui_show_info ( char *pndrun, pnd_disco_t *p );
 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
  */