summaryrefslogtreecommitdiffstats
path: root/cfg-mplayer.h
diff options
context:
space:
mode:
authorben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-05-07 15:59:53 +0000
committerben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-05-07 15:59:53 +0000
commit0e71ae2f5fb67cb928d914840ad5fbce4d81c43a (patch)
tree520c2629166ef5fae1d7850b8fc02d8fc396093f /cfg-mplayer.h
parent7796893de04b3781e0744ea587489c2377e605ae (diff)
downloadmpv-0e71ae2f5fb67cb928d914840ad5fbce4d81c43a.tar.bz2
mpv-0e71ae2f5fb67cb928d914840ad5fbce4d81c43a.tar.xz
support for hebrew through fribidi in libmenu (geexbox patch #580)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23246 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cfg-mplayer.h')
-rw-r--r--cfg-mplayer.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/cfg-mplayer.h b/cfg-mplayer.h
index da1b11c8a6..d9092f0a5d 100644
--- a/cfg-mplayer.h
+++ b/cfg-mplayer.h
@@ -72,6 +72,11 @@ extern int WinID;
extern int menu_startup;
extern int menu_utf8;
extern int menu_unicode;
+#ifdef USE_FRIBIDI
+extern char *menu_fribidi_charset;
+extern int menu_flip_hebrew;
+extern int menu_fribidi_flip_commas;
+#endif
#endif
#ifdef HAVE_ZR
@@ -295,6 +300,13 @@ m_option_t mplayer_opts[]={
{"menu-startup", &menu_startup, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
{"menu-utf8", &menu_utf8, CONF_TYPE_FLAG, 0, 0, 1, NULL},
{"menu-unicode", &menu_unicode, CONF_TYPE_FLAG, 0, 0, 1, NULL},
+#ifdef USE_FRIBIDI
+ {"menu-fribidi-charset", &menu_fribidi_charset, CONF_TYPE_STRING, 0, 0, 0, NULL},
+ {"menu-flip-hebrew", &menu_flip_hebrew, CONF_TYPE_FLAG, 0, 0, 1, NULL},
+ {"menu-noflip-hebrew", &menu_flip_hebrew, CONF_TYPE_FLAG, 0, 1, 0, NULL},
+ {"menu-flip-hebrew-commas", &menu_fribidi_flip_commas, CONF_TYPE_FLAG, 0, 1, 0, NULL},
+ {"menu-noflip-hebrew-commas", &menu_fribidi_flip_commas, CONF_TYPE_FLAG, 0, 0, 1, NULL},
+#endif
#else
{"menu", "OSD menu support was not compiled in.\n", CONF_TYPE_PRINT,0, 0, 0, NULL},
#endif