summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authoralbeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-03-25 20:49:36 +0000
committeralbeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-03-25 20:49:36 +0000
commit32b285a093097bdacb1f275cc59df914b54a0648 (patch)
tree329a98cace1415443b5f145a83040bff966ea0d6 /etc
parentb2d486231df3405d15e89feb1b17dd5f11a64df8 (diff)
downloadmpv-32b285a093097bdacb1f275cc59df914b54a0648.tar.bz2
mpv-32b285a093097bdacb1f275cc59df914b54a0648.tar.xz
Turn the preferences menu in something usefull using the new
property API. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17950 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'etc')
-rw-r--r--etc/menu.conf84
1 files changed, 29 insertions, 55 deletions
diff --git a/etc/menu.conf b/etc/menu.conf
index db8fa4fde8..5d4565e387 100644
--- a/etc/menu.conf
+++ b/etc/menu.conf
@@ -12,80 +12,54 @@
<txt name="man" file="manpage.txt"/>
<pref name="general_pref" title="General">
- <e name="autoq"/>
- <e name="autosync" />
- <e name="framedrop"/>
- <e name="quiet"/>
- <e name="softsleep" />
+ <e property="osdlevel" name="OSD level"/>
+ <e property="speed" name="Speed"/>
</pref>
<pref name="demuxer_pref" title="Demuxer">
- <e name="aid"/>
- <e name="alang" />
- <e name="cache"/>
- <e name="channels"/>
- <e name="dvdangle" />
- <e name="forceidx"/>
- <e name="fps"/>
- <e name="hr-mp3-seek"/>
- <e name="idx"/>
- <e name="mc"/>
- <e name="ni"/>
- <e name="nobps"/>
- <e name="srate"/>
- <e name="vid"/>
</pref>
-<pref name="osd_sub_pref" title="OSD & Subs">
- <e name="ffactor"/>
- <e name="noautosub"/>
- <e name="osdlevel"/>
- <e name="sid"/>
- <e name="slang"/>
- <e name="subdelay"/>
- <e name="subfps"/>
- <e name="subpos"/>
- <e name="unicode"/>
- <e name="utf8"/>
- <e name="vobsubid"/>
+<pref name="osd_sub_pref" title="Subtitles">
+ <e property="sub" name="Subtitles"/>
+ <e property="sub_visibility" name="Visibility"/>
+ <e property="sub_forced_only" name="Forced sub only"/>
+ <e property="sub_alignment" name="Alignment"/>
+ <e property="sub_pos" name="Position"/>
+ <e property="sub_delay" name="Delay"/>
</pref>
<pref name="audio_pref" title="Audio">
- <e name="abs"/>
- <e name="af"/>
- <e name="ao"/>
- <e name="delay"/>
- <e name="mixer"/>
+ <e property="volume" name="Volume"/>
+ <e property="mute" name="Mute"/>
+ <e property="audio_delay" name="Delay"/>
+</pref>
+
+<pref name="colors_pref" title="Colors">
+ <e property="gamma" name="Gamma"/>
+ <e property="brightness" name="Brightness"/>
+ <e property="contrast" name="Contrast"/>
+ <e property="saturation" name="Saturation"/>
+ <e property="hue" name="Hue"/>
</pref>
<pref name="video_pref" title="Video">
- <e name="bpp"/>
- <e name="brightness"/>
- <e name="contrast"/>
- <e name="display"/>
- <e name="double"/>
- <e name="dr"/>
- <e name="fs"/>
- <e name="geometry"/>
- <e name="hue"/>
- <e name="noslices"/>
- <e name="panscan"/>
- <e name="rootwin"/>
- <e name="saturation"/>
- <e name="vm"/>
- <e name="vo"/>
- <e name="vf"/>
- <e name="xineramascreen"/>
+ <e property="fullscreen" name="Fullscreen"/>
+ <e property="panscan" name="Panscan"/>
+ <menu menu="colors_pref" name="Colors ..."/>
+ <e property="ontop" name="Always on top"/>
+ <e property="rootwin" name="Root window"/>
+ <e property="framedropping" name="Frame dropping"/>
+ <e property="vsync" name="VSync"/>
</pref>
<cmdlist name="pref_main" title="Preferences" ptr="<>" >
<e name="General ..." ok="set_menu general_pref"/>
- <e name="Demuxer ..." ok="set_menu demuxer_pref"/>
- <e name="Osd/Subtitles ..." ok="set_menu osd_sub_pref"/>
<e name="Audio ..." ok="set_menu audio_pref"/>
<e name="Video ..." ok="set_menu video_pref"/>
+ <e name="Subtitles ..." ok="set_menu osd_sub_pref"/>
+ <e name="Back" ok="menu cancel"/>
</cmdlist>
<cmdlist name="main" title="MPlayer OSD menu" ptr="<>" >