libpnd; header and body for get_description() were a little out of sync; header was...
[pandora-libraries.git] / minimenu / mmui.h
index 7ba395c..ac052ed 100644 (file)
@@ -34,6 +34,8 @@ typedef enum {
   IMG_HOURGLASS,
   IMG_FOLDER,
   IMG_EXECBIN,
+  IMG_SUBCATFOLDER,
+  IMG_DOTDOTFOLDER,
   IMG_MAX, // before this point is loaded; after is generated
   IMG_TRUEMAX
 } mm_imgcache_e;
@@ -41,6 +43,7 @@ typedef enum {
 typedef struct {
   mm_imgcache_e id;
   char *confname;
+  char *alt_confname;
   void /*SDL_Surface*/ *i;
 } mm_imgcache_t;
 
@@ -74,6 +77,8 @@ void ui_post_scan ( void );
 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 );
+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
  */
@@ -118,4 +123,14 @@ void ui_touch_act ( unsigned int x, unsigned int y );
 void ui_set_selected ( mm_appref_t *r );
 unsigned int ui_callback_f ( unsigned int t );
 
+// 'popup' 'context' menu
+void ui_menu_context ( mm_appref_t *a );
+unsigned char ui_menu_oneby ( char *title, char *footer, char *one ); // return 0 (nada) or 1 (one) for they actually picked it
+unsigned char ui_menu_twoby ( char *title, char *footer, char *one, char *two ); // return 0 (nada), 1 (one), 2 (two)
+unsigned char ui_menu_get_text_line ( char *title, char *footer, char *initialvalue,
+                                     char *r_buffer, unsigned char maxlen, unsigned char numbersonlyp ); // populates r_buffer
+
+// ovr-file edit
+unsigned char ovr_replace_or_add ( mm_appref_t *a, char *keybase, char *newvalue ); // keybase does not include app#
+
 #endif