Add custom video settings dialog

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10484 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2011-12-22 22:07:10 +00:00
parent 1cd884f8f9
commit 948a4eb3a9

View File

@ -0,0 +1,62 @@
<stkgui>
<div x="2%" y="5%" width="96%" height="90%" layout="vertical-row" >
<header id="title" width="100%" height="fit" text_align="center" word_wrap="true" text="Graphics Settings" />
<spacer height="25" width="10" />
<div layout="horizontal-row" width="100%" height="fit">
<checkbox id="anim_gfx"/>
<spacer width="10" height="10"/>
<label text="Animated Scenery" I18N="Video settings"/>
</div>
<spacer height="5" width="10" />
<div layout="horizontal-row" width="100%" height="fit">
<checkbox id="weather_gfx"/>
<spacer width="10" height="10"/>
<label text="Weather Effects" I18N="Video settings"/>
</div>
<spacer height="5" width="10" />
<div layout="horizontal-row" width="100%" height="fit">
<label text="Animated Characters" I18N="Video settings"/>
<spacer width="10" height="10"/>
<gauge id="steering_animations" min_value="0" max_value="2" proportion="1" />
</div>
<spacer height="5" width="10" />
<div layout="horizontal-row" width="100%" height="fit">
<label text="Texture filtering" I18N="Video settings"/>
<spacer width="10" height="10"/>
<gauge id="filtering" min_value="0" max_value="2" width="50%" />
</div>
<spacer height="5" width="10" />
<!-- TODO: allow selection anti-aliasing quality -->
<div layout="horizontal-row" width="100%" height="fit">
<checkbox id="antialiasing"/>
<spacer width="10" height="10"/>
<label text="Anti-aliasing (requires restart)" I18N="Video settings"/>
</div>
<spacer height="5" width="10" />
<div layout="horizontal-row" width="100%" height="fit">
<checkbox id="postprocessing"/>
<spacer width="10" height="10"/>
<label text="Post-processing (motion blur)" I18N="Video settings"/>
</div>
<spacer proportion="1"/>
<button id="close" text="Close" align="center"/>
</div>
</stkgui>