<?xml version="1.0" encoding="UTF-8"?>

<MyGUI type="Layout">
    <Widget type="Window" skin="MW_Window_NoCaption" layer="Windows" position="0 0 400 414" name="_Main">

        <Property key="MinSize" value="400 414"/>
        <Property key="MaxSize" value="400 414"/>

        <Widget type="TabControl" skin="TabControl" position="8 8 368 340" align="Left Top" name="SettingsTab">
            <Property key="ButtonAutoWidth" value="true"/>

            <Widget type="TabItem" skin="" position="4 28 360 312">
                <Property key="Caption" value="  #{sPrefs}  "/>

                <Widget type="TextBox" skin="NormalText" position="4 4 352 18" align="Left Top">
                    <Property key="Caption" value="#{sTransparency_Menu}"/>
                </Widget>
                <Widget type="ScrollBar" skin="MW_HSlider" position="4 28 352 18" align="Left Top" name="MenuTransparencySlider">
                    <Property key="Range" value="1000000"/>
                </Widget>
                <Widget type="TextBox" skin="SandText" position="4 52 352 18" align="Left Top">
                    <Property key="Caption" value="#{sFull}"/>
                    <Property key="TextAlign" value="Left"/>
                </Widget>
                <Widget type="TextBox" skin="SandText" position="4 52 352 18" align="Left Top">
                    <Property key="Caption" value="#{sNone}"/>
                    <Property key="TextAlign" value="Right"/>
                </Widget>

                <Widget type="TextBox" skin="NormalText" position="4 78 352 18" align="Left Top">
                    <Property key="Caption" value="#{sMenu_Help_Delay}"/>
                </Widget>
                <Widget type="ScrollBar" skin="MW_HSlider" position="4 102 352 18" align="Left Top" name="ToolTipDelaySlider">
                    <Property key="Range" value="1000000"/>
                </Widget>
                <Widget type="TextBox" skin="SandText" position="4 126 352 18" align="Left Top">
                    <Property key="Caption" value="#{sFast}"/>
                    <Property key="TextAlign" value="Left"/>
                </Widget>
                <Widget type="TextBox" skin="SandText" position="4 126 352 18" align="Left Top">
                    <Property key="Caption" value="#{sSlow}"/>
                    <Property key="TextAlign" value="Right"/>
                </Widget>


                <Widget type="HBox" skin="" position="4 200 260 24">
                    <Widget type="AutoSizedButton" skin="MW_Button" align="Left Top" name="SubtitlesButton"/>
                    <Widget type="AutoSizedTextBox" skin="SandText" align="Left Top">
                        <Property key="Caption" value="#{sSubtitles}"/>
                    </Widget>
                </Widget>

                <Widget type="HBox" skin="" position="4 230 260 24">
                    <Widget type="AutoSizedButton" skin="MW_Button" align="Left Top" name="CrosshairButton"/>
                    <Widget type="AutoSizedTextBox" skin="SandText" align="Left Top">
                        <Property key="Caption" value="#{sCursorOff}"/>
                    </Widget>
                </Widget>

            </Widget>
            <Widget type="TabItem" skin="" position="4 28 360 312">
                <Property key="Caption" value="  #{sAudio}  "/>

                <Widget type="TextBox" skin="NormalText" position="4 4 352 18" align="Left Top">
                    <Property key="Caption" value="#{sMaster}"/>
                </Widget>
                <Widget type="ScrollBar" skin="MW_HSlider" position="4 28 352 18" align="Left Top" name="MasterVolume">
                    <Property key="Range" value="1000000"/>
                </Widget>

                <Widget type="TextBox" skin="NormalText" position="4 54 352 18" align="Left Top">
                    <Property key="Caption" value="#{sVoice}"/>
                </Widget>
                <Widget type="ScrollBar" skin="MW_HSlider" position="4 78 352 18" align="Left Top" name="VoiceVolume">
                    <Property key="Range" value="1000000"/>
                </Widget>

                <Widget type="TextBox" skin="NormalText" position="4 104 352 18" align="Left Top">
                    <Property key="Caption" value="#{sEffects}"/>
                </Widget>
                <Widget type="ScrollBar" skin="MW_HSlider" position="4 128 352 18" align="Left Top" name="EffectsVolume">
                    <Property key="Range" value="1000000"/>
                </Widget>

                <Widget type="TextBox" skin="NormalText" position="4 154 352 18" align="Left Top">
                    <Property key="Caption" value="#{sFootsteps}"/>
                </Widget>
                <Widget type="ScrollBar" skin="MW_HSlider" position="4 178 352 18" align="Left Top" name="FootstepsVolume">
                    <Property key="Range" value="1000000"/>
                </Widget>

                <Widget type="TextBox" skin="NormalText" position="4 204 352 18" align="Left Top">
                    <Property key="Caption" value="#{sMusic}"/>
                </Widget>
                <Widget type="ScrollBar" skin="MW_HSlider" position="4 228 352 18" align="Left Top" name="MusicVolume">
                    <Property key="Range" value="1000000"/>
                </Widget>
            </Widget>
            <Widget type="TabItem" skin="" position="4 28 360 312">
                <Property key="Caption" value="  #{sControls}  "/>

                <Widget type="Widget" skin="MW_Box" position="8 8 344 150">
                    <Widget type="ScrollView" skin="MW_ScrollView" name="ControlsBox" position="4 4 336 142"/>
                </Widget>

                <Widget type="AutoSizedButton" skin="MW_Button" name="ResetControlsButton" position="4 162 100 24">
                    <Property key="Caption" value="#{sControlsMenu1}"/>
                </Widget>

                <Widget type="HBox" position="4 192 300 24">
                    <Widget type="AutoSizedButton" skin="MW_Button" name="InvertYButton"/>
                    <Widget type="AutoSizedTextBox" skin="SandText">
                        <Property key="Caption" value="#{sMouseFlip}"/>
                    </Widget>
                </Widget>

                <Widget type="TextBox" skin="NormalText" position="4 228 160 18" align="Left Top">
                    <Property key="Caption" value="UI cursor sensitivity"/>
                </Widget>
                <Widget type="ScrollBar" skin="MW_HSlider" position="4 252 160 18" align="Left Top" name="UISensitivitySlider">
                    <Property key="Range" value="1000000"/>
                </Widget>
                <Widget type="TextBox" skin="SandText" position="4 276 160 18" align="Left Top">
                    <Property key="Caption" value="#{sLow}"/>
                    <Property key="TextAlign" value="Left"/>
                </Widget>
                <Widget type="TextBox" skin="SandText" position="4 276 160 18" align="Left Top">
                    <Property key="Caption" value="#{sHigh}"/>
                    <Property key="TextAlign" value="Right"/>
                </Widget>


                <Widget type="TextBox" skin="NormalText" position="180 228 160 18" align="Left Top">
                    <Property key="Caption" value="Camera sensitivity"/>
                </Widget>
                <Widget type="ScrollBar" skin="MW_HSlider" position="180 252 160 18" align="Left Top" name="CameraSensitivitySlider">
                    <Property key="Range" value="1000000"/>
                </Widget>
                <Widget type="TextBox" skin="SandText" position="180 276 160 18" align="Left Top">
                    <Property key="Caption" value="#{sLow}"/>
                    <Property key="TextAlign" value="Left"/>
                </Widget>
                <Widget type="TextBox" skin="SandText" position="180 276 160 18" align="Left Top">
                    <Property key="Caption" value="#{sHigh}"/>
                    <Property key="TextAlign" value="Right"/>
                </Widget>



            </Widget>
            <Widget type="TabItem" skin="" position="4 28 360 312">
                <Property key="Caption" value="  #{sVideo}  "/>

                <Widget type="TabControl" skin="TabControl" position="4 4 352 304" align="Left Top">
                    <Property key="ButtonAutoWidth" value="true"/>

                    <Widget type="TabItem" skin="" position="4 28 344 272">
                        <Property key="Caption" value="  Video  "/>

                        <Widget type="ListBox" skin="MW_List" position="4 4 200 120" align="Left Top" name="ResolutionList"/>


                        <Widget type="HBox" position="212 4 300 24">
                            <Widget type="AutoSizedButton" skin="MW_Button" align="Left Top" name="FullscreenButton"/>
                            <Widget type="AutoSizedTextBox" skin="SandText" align="Left Top">
                                <Property key="Caption" value="Fullscreen"/>
                            </Widget>
                        </Widget>

                        <Widget type="HBox" position="212 34 300 24">
                            <Widget type="AutoSizedButton" skin="MW_Button" align="Left Top" name="VSyncButton"/>
                            <Widget type="AutoSizedTextBox" skin="SandText" align="Left Top">
                                <Property key="Caption" value="VSync"/>
                            </Widget>
                        </Widget>

                        <Widget type="HBox" position="212 64 300 24">
                            <Widget type="AutoSizedButton" skin="MW_Button" align="Left Top" name="ShadersButton"/>
                            <Widget type="AutoSizedTextBox" skin="SandText" align="Left Top">
                                <Property key="Caption" value="Shaders"/>
                            </Widget>
                        </Widget>

                        <Widget type="HBox" position="212 94 300 24">
                            <Widget type="AutoSizedButton" skin="MW_Button" align="Left Top" name="FPSButton"/>
                            <Widget type="AutoSizedTextBox" skin="SandText" align="Left Top">
                                <Property key="Caption" value="FPS"/>
                            </Widget>
                        </Widget>


                        <Widget type="TextBox" skin="NormalText" position="4 128 329 18" align="Left Top" name="GammaText">
                            <Property key="Caption" value="Gamma"/>
                        </Widget>
                        <Widget type="ScrollBar" skin="MW_HSlider" position="4 152 329 18" align="Left Top" name="GammaSlider">
                            <Property key="Range" value="1000000"/>
                        </Widget>
                        <Widget type="TextBox" skin="SandText" position="4 176 329 18" align="Left Top">
                            <Property key="Caption" value="#{sDark_Gamma}"/>
                            <Property key="TextAlign" value="Left"/>
                        </Widget>
                        <Widget type="TextBox" skin="SandText" position="4 176 329 18" align="Left Top">
                            <Property key="Caption" value="#{sLight_Gamma}"/>
                            <Property key="TextAlign" value="Right"/>
                        </Widget>


                        <Widget type="TextBox" skin="NormalText" position="4 198 329 18" align="Left Top" name="FovText">
                            <Property key="Caption" value="Field of View"/>
                        </Widget>
                        <Widget type="ScrollBar" skin="MW_HSlider" position="4 222 329 18" align="Left Top" name="FOVSlider">
                            <Property key="Range" value="1000000"/>
                        </Widget>
                        <Widget type="TextBox" skin="SandText" position="4 246 329 18" align="Left Top">
                            <Property key="Caption" value="#{sLow}"/>
                            <Property key="TextAlign" value="Left"/>
                        </Widget>
                        <Widget type="TextBox" skin="SandText" position="4 246 329 18" align="Left Top">
                            <Property key="Caption" value="#{sHigh}"/>
                            <Property key="TextAlign" value="Right"/>
                        </Widget>
                    </Widget>

                    <Widget type="TabItem" skin="" position="4 28 344 272">
                        <Property key="Caption" value="  Detail  "/>

                        <Widget type="TextBox" skin="NormalText" position="4 4 300 24" align="Left Top">
                            <Property key="Caption" value="Texture filtering"/>
                        </Widget>
                        <Widget type="AutoSizedButton" skin="MW_Button" position="18 28 140 24" align="Left Top" name="TextureFilteringButton"/>

                        <Widget type="Widget" skin="" position="184 4 300 50" align="Left Top" name="AnisotropyBox">
                            <Widget type="TextBox" skin="SandText" position="0 0 300 24" align="Left Top" name="AnisotropyLabel">
                                <Property key="Caption" value="Anisotropy"/>
                            </Widget>
                            <Widget type="ScrollBar" skin="MW_HSlider" position="0 28 150 18" align="Left Top" name="AnisotropySlider">
                                <Property key="Range" value="1000000"/>
                            </Widget>
                        </Widget>

                        <Widget type="TextBox" skin="NormalText" position="4 130 322 18" align="Left Top">
                            <Property key="Caption" value="#{sRender_Distance}"/>
                        </Widget>
                        <Widget type="ScrollBar" skin="MW_HSlider" position="4 154 322 18" align="Left Top" name="ViewDistanceSlider">
                            <Property key="Range" value="1000000"/>
                        </Widget>
                        <Widget type="TextBox" skin="SandText" position="4 178 332 18" align="Left Top">
                            <Property key="Caption" value="#{sNear}"/>
                            <Property key="TextAlign" value="Left"/>
                        </Widget>
                        <Widget type="TextBox" skin="SandText" position="4 178 332 18" align="Left Top">
                            <Property key="Caption" value="#{sFar}"/>
                            <Property key="TextAlign" value="Right"/>
                        </Widget>
                    </Widget>

                    <Widget type="TabItem" skin="" position="4 28 344 272">
                        <Property key="Caption" value="  Water  "/>


                        <Widget type="HBox" position="4 4 350 24">
                            <Widget type="AutoSizedButton" skin="MW_Button" position="4 4 34 24" align="Left Top" name="WaterShaderButton"/>
                            <Widget type="AutoSizedTextBox" skin="SandText" position="42 4 120 24" align="Left Top">
                                <Property key="Caption" value="Reflection"/>
                            </Widget>
                        </Widget>


                        <Widget type="Widget" skin="" position="24 32 300 230">
                            <Widget type="HBox" position="4 0 350 24">
                                <Widget type="AutoSizedButton" skin="MW_Button" align="Left Top" name="ReflectActorsButton"/>
                                <Widget type="AutoSizedTextBox" skin="SandText" align="Left Top">
                                        <Property key="Caption" value="Reflect actors"/>
                                </Widget>
                            </Widget>

                            <Widget type="HBox" position="4 28 350 24">
                                <Widget type="AutoSizedButton" skin="MW_Button" align="Left Top" name="ReflectObjectsButton"/>
                                <Widget type="AutoSizedTextBox" skin="SandText" align="Left Top">
                                    <Property key="Caption" value="Reflect objects"/>
                                </Widget>
                            </Widget>

                            <Widget type="HBox" position="4 56 350 24">
                                <Widget type="AutoSizedButton" skin="MW_Button" align="Left Top" name="ReflectTerrainButton"/>
                                <Widget type="AutoSizedTextBox" skin="SandText" align="Left Top">
                                    <Property key="Caption" value="Reflect terrain"/>
                                </Widget>
                            </Widget>
                        </Widget>

                        <Widget type="HBox" position="4 135 350 24">
                            <Widget type="AutoSizedButton" skin="MW_Button" align="Left Top" name="UnderwaterButton"/>
                            <Widget type="AutoSizedTextBox" skin="SandText" align="Left Top">
                                <Property key="Caption" value="Underwater effects (caustics, fog)"/>
                            </Widget>
                        </Widget>
                    </Widget>

                    <Widget type="TabItem" skin="" position="4 28 344 272">
                        <Property key="Caption" value="  Shadows  "/>

                        <Widget type="HBox" position="4 4 350 24">
                            <Widget type="AutoSizedButton" skin="MW_Button" align="Left Top" name="ShadowsEnabledButton"/>
                            <Widget type="AutoSizedTextBox" skin="SandText" align="Left Top">
                                <Property key="Caption" value="Enabled"/>
                            </Widget>
                        </Widget>

                        <Widget type="Widget" skin="" position="24 32 300 230">

                            <Widget type="HBox" position="4 0 350 24">
                                <Widget type="AutoSizedButton" skin="MW_Button" align="Left Top" name="ShadowsLargeDistance"/>
                                <Widget type="AutoSizedTextBox" skin="SandText" align="Left Top">
                                    <Property key="Caption" value="Large distance (PSSM3)"/>
                                </Widget>
                            </Widget>

                            <Widget type="HBox" position="4 28 350 24">
                                <Widget type="AutoSizedButton" skin="MW_Button" align="Left Top" name="ShadowsTextureSize"/>
                                <Widget type="AutoSizedTextBox" skin="SandText" align="Left Top">
                                    <Property key="Caption" value="Texture size"/>
                                </Widget>
                            </Widget>

                            <Widget type="HBox" position="4 56 350 24">
                                <Widget type="AutoSizedButton" skin="MW_Button" align="Left Top" name="ActorShadows"/>
                                <Widget type="AutoSizedTextBox" skin="SandText" align="Left Top">
                                    <Property key="Caption" value="Actor shadows"/>
                                </Widget>
                            </Widget>

                            <Widget type="HBox" position="4 84 350 24">
                                <Widget type="AutoSizedButton" skin="MW_Button" align="Left Top" name="StaticsShadows"/>
                                <Widget type="AutoSizedTextBox" skin="SandText" align="Left Top">
                                    <Property key="Caption" value="World shadows"/>
                                </Widget>
                            </Widget>

                             <Widget type="HBox" position="4 112 350 24">
                                <Widget type="AutoSizedButton" skin="MW_Button" align="Left Top" name="MiscShadows"/>
                                <Widget type="AutoSizedTextBox" skin="SandText" align="Left Top">
                                    <Property key="Caption" value="Misc shadows"/>
                                </Widget>
                             </Widget>

                            <Widget type="HBox" position="4 172 350 24">
                                <Widget type="AutoSizedButton" skin="MW_Button" align="Left Top" name="ShadowsDebug"/>
                                <Widget type="AutoSizedTextBox" skin="SandText" align="Left Top">
                                    <Property key="Caption" value="Debug overlay"/>
                                </Widget>
                            </Widget>

                        </Widget>

                    </Widget>

                </Widget>
            </Widget>
        </Widget>

        <Widget type="AutoSizedButton" skin="MW_Button" position="317 351 60 24" name="OkButton" align="Right Bottom">
            <Property key="ExpandDirection" value="Left"/>
            <Property key="Caption" value="#{sOK}"/>
        </Widget>

    </Widget>
</MyGUI>