mmenu: Mostly untested; pushing in list-view changes so porg/pmprog can fiddle easier :)
[pandora-libraries.git] / minimenu / mmui.h
index ac052ed..a01d504 100644 (file)
@@ -37,6 +37,8 @@ typedef enum {
   IMG_SUBCATFOLDER,
   IMG_DOTDOTFOLDER,
   IMG_MAX, // before this point is loaded; after is generated
   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;
 
   IMG_TRUEMAX
 } mm_imgcache_e;
 
@@ -63,6 +65,12 @@ typedef enum {
   uisb_max
 } ui_sdl_button_e;
 
   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
 unsigned char ui_setup ( void );
 unsigned char ui_imagecache ( char *basepath );
 unsigned char ui_pick_skin ( void ); // return >0 if skin has changed