Added 'X' to 'go up' (equivilent to executing '..' in subcat-folder or directory...
[pandora-libraries.git] / minimenu / mmui.h
index e3efc8f..96a9918 100644 (file)
@@ -17,7 +17,11 @@ typedef enum {
   IMG_DETAIL_BG,
   IMG_SELECTED_ALPHAMASK,
   IMG_TAB_SEL,
+  IMG_TAB_SEL_L,
+  IMG_TAB_SEL_R,
   IMG_TAB_UNSEL,
+  IMG_TAB_UNSEL_L,
+  IMG_TAB_UNSEL_R,
   IMG_TAB_LINE,
   IMG_TAB_LINEL,
   IMG_TAB_LINER,
@@ -28,6 +32,8 @@ typedef enum {
   IMG_ARROW_DOWN,
   IMG_ARROW_SCROLLBAR,
   IMG_HOURGLASS,
+  IMG_FOLDER,
+  IMG_EXECBIN,
   IMG_MAX, // before this point is loaded; after is generated
   IMG_TRUEMAX
 } mm_imgcache_e;
@@ -65,6 +71,9 @@ void ui_discoverscreen ( unsigned char clearscreen ); // screen to show while sc
 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 );
+unsigned char ui_show_info ( char *pndrun, pnd_disco_t *p );
+void ui_aboutscreen ( char *textpath );
+void ui_revealscreen ( void );
 
 /* internal functions follow
  */
@@ -86,12 +95,16 @@ void ui_push_right ( unsigned char forcecoil );
 void ui_push_up ( void );
 void ui_push_down ( void );
 void ui_push_exec ( void );
+void ui_push_backup ( void );
 void ui_push_ltrigger ( void );
 void ui_push_rtrigger ( void );
 unsigned char ui_determine_row ( mm_appref_t *a );
 unsigned char ui_determine_screen_row ( mm_appref_t *a );
 unsigned char ui_determine_screen_col ( mm_appref_t *a );
-unsigned char ui_show_info ( char *pndrun, pnd_disco_t *p );
+
+// detail panel hide/show
+unsigned char ui_is_detail_hideable ( void ); // returns true if detail pane may be hidden with current skin
+void ui_toggle_detail_pane ( void );          // toggle it on/off
 
 // ui_render() can register tappable-areas which touchscreen code can then figure out if we made a hit
 void ui_register_reset ( void );