summaryrefslogtreecommitdiffstats
path: root/libmenu/menu.h
diff options
context:
space:
mode:
authorulion <ulion@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-12-02 11:14:50 +0000
committerulion <ulion@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-12-02 11:14:50 +0000
commit7a1124897344068d727f32d70c2a05b9f52da6b4 (patch)
tree671ca466fa912914f0464fc9c3b0e04e3e286110 /libmenu/menu.h
parent5a046a6f4d20648269d15fe688f61088cfcb9d0a (diff)
downloadmpv-7a1124897344068d727f32d70c2a05b9f52da6b4.tar.bz2
mpv-7a1124897344068d727f32d70c2a05b9f52da6b4.tar.xz
Add type info to menu_t, now we can get the menu name and the type name of menu.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25236 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmenu/menu.h')
-rw-r--r--libmenu/menu.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libmenu/menu.h b/libmenu/menu.h
index 7c336e4535..369ebf4808 100644
--- a/libmenu/menu.h
+++ b/libmenu/menu.h
@@ -2,6 +2,8 @@
struct menu_priv_s;
typedef struct menu_s menu_t;
+typedef struct menu_def_st menu_def_t;
+
struct menu_s {
struct MPContext *ctx;
void (*draw)(menu_t* menu,mp_image_t* mpi);
@@ -13,6 +15,7 @@ struct menu_s {
int show; // Draw it ?
int cl; // Close request (user sent a close cmd or
menu_t* parent;
+ menu_def_t *type;
};
typedef struct menu_info_s {