<?xml version="1.0" encoding="UTF-8"?>
<MyGUI type="Layout" version="3.2.0">
    <Widget type="Window" skin="MW_Window" position="0 0 400 485" layer="Settings" name="_Main">
        <Property key="MinSize" value="640 540"/>
        <Widget type="TabControl" skin="TabControl" position="8 8 368 405" align="Stretch" name="SettingsTab">
            <Property key="ButtonAutoWidth" value="true"/>
            <Widget type="TabItem">
                <Property key="Caption" value=" #{OMWEngine:Preferences} "/>
                <Widget type="Widget" position="4 4 352 54" align="Left Top HStretch">
                    <Widget type="TextBox" skin="NormalText" position="0 0 352 16" align="Left Top">
                        <Property key="Caption" value="#{OMWEngine:MenuTransparency}"/>
                    </Widget>
                    <Widget type="ScrollBar" skin="MW_HScroll" position="0 20 352 14" align="Left Top HStretch">
                        <Property key="Range" value="10000"/>
                        <Property key="Page" value="300"/>
                        <UserString key="SettingType" value="Slider"/>
                        <UserString key="SettingCategory" value="GUI"/>
                        <UserString key="SettingName" value="menu transparency"/>
                        <UserString key="SettingValueType" value="Float"/>
                    </Widget>
                    <Widget type="TextBox" skin="SandText" position="0 38 352 16" align="Left Top">
                        <Property key="Caption" value="#{OMWEngine:TransparencyFull}"/>
                        <Property key="TextAlign" value="Left"/>
                    </Widget>
                    <Widget type="TextBox" skin="SandText" position="0 38 352 16" align="Right Top">
                        <Property key="Caption" value="#{OMWEngine:TransparencyNone}"/>
                        <Property key="TextAlign" value="Right"/>
                    </Widget>
                </Widget>
                <Widget type="Widget" position="4 64 352 54" align="Left Top HStretch">
                    <Widget type="TextBox" skin="NormalText" position="0 0 352 16" align="Left Top">
                        <Property key="Caption" value="#{OMWEngine:MenuHelpDelay}"/>
                    </Widget>
                    <Widget type="ScrollBar" skin="MW_HScroll" position="0 20 352 14" align="Left Top HStretch">
                        <Property key="Range" value="10000"/>
                        <Property key="Page" value="300"/>
                        <UserString key="SettingType" value="Slider"/>
                        <UserString key="SettingCategory" value="GUI"/>
                        <UserString key="SettingName" value="tooltip delay"/>
                        <UserString key="SettingValueType" value="Float"/>
                    </Widget>
                    <Widget type="TextBox" skin="SandText" position="0 38 352 16" align="Left Top">
                        <Property key="Caption" value="#{OMWEngine:DelayLow}"/>
                        <Property key="TextAlign" value="Left"/>
                    </Widget>
                    <Widget type="TextBox" skin="SandText" position="0 38 352 16" align="Right Top">
                        <Property key="Caption" value="#{OMWEngine:DelayHigh}"/>
                        <Property key="TextAlign" value="Right"/>
                    </Widget>
                </Widget>
                <Widget type="Widget" position="4 124 352 54" align="Left Top HStretch">
                    <Widget type="TextBox" skin="NormalText" position="0 0 352 16" align="Left Top" name="DifficultyText">
                        <Property key="Caption" value="#{OMWEngine:Difficulty}"/>
                    </Widget>
                    <Widget type="ScrollBar" skin="MW_HScroll" position="0 20 352 14" align="Left Top HStretch">
                        <Property key="Range" value="201"/>
                        <Property key="Page" value="1"/>
                        <UserString key="SettingType" value="Slider"/>
                        <UserString key="SettingCategory" value="Game"/>
                        <UserString key="SettingName" value="difficulty"/>
                        <UserString key="SettingValueType" value="Integer"/>
                        <UserString key="SettingMin" value="-100"/>
                        <UserString key="SettingMax" value="100"/>
                        <UserString key="SettingLabelWidget" value="DifficultyText"/>
                        <UserString key="SettingLabelCaption" value="#{OMWEngine:Difficulty} (%s)"/>
                    </Widget>
                    <Widget type="TextBox" skin="SandText" position="0 38 352 16" align="Left Top">
                        <Property key="Caption" value="#{OMWEngine:DifficultyEasy}"/>
                        <Property key="TextAlign" value="Left"/>
                    </Widget>
                    <Widget type="TextBox" skin="SandText" position="0 38 352 16" align="Right Top">
                        <Property key="Caption" value="#{OMWEngine:DifficultyHard}"/>
                        <Property key="TextAlign" value="Right"/>
                    </Widget>
                </Widget>
                <Widget type="Widget" position="4 184 400 54" align="Left Top HStretch">
                    <Widget type="TextBox" skin="NormalText" position="0 0 400 16" align="Left Top" name="ActorProcessingText">
                        <Property key="Caption" value="#{OMWEngine:ActorsProcessingRange}"/>
                    </Widget>
                    <Widget type="ScrollBar" skin="MW_HScroll" position="0 20 352 14" align="Left Top HStretch">
                        <Property key="Range" value="3584"/>
                        <Property key="Page" value="300"/>
                        <UserString key="SettingType" value="Slider"/>
                        <UserString key="SettingCategory" value="Game"/>
                        <UserString key="SettingName" value="actors processing range"/>
                        <UserString key="SettingValueType" value="Integer"/>
                        <UserString key="SettingMin" value="3584"/>
                        <UserString key="SettingMax" value="7168"/>
                        <UserString key="SettingLabelWidget" value="ActorProcessingText"/>
                        <UserString key="SettingLabelCaption" value="#{OMWEngine:ActorsProcessingRange} (%s)"/>
                    </Widget>
                    <Widget type="TextBox" skin="SandText" position="0 38 352 16" align="Left Top">
                        <Property key="Caption" value="#{OMWEngine:DistanceLow}"/>
                        <Property key="TextAlign" value="Left"/>
                    </Widget>
                    <Widget type="TextBox" skin="SandText" position="0 38 352 16" align="Right Top">
                        <Property key="Caption" value="#{OMWEngine:DistanceHigh}"/>
                        <Property key="TextAlign" value="Right"/>
                    </Widget>
                </Widget>
                <Widget type="HBox" position="4 250 340 28">
                    <Widget type="AutoSizedButton" skin="MW_Button" position="0 0 24 24" align="Left Top">
                        <UserString key="SettingCategory" value="Saves"/>
                        <UserString key="SettingName" value="autosave"/>
                        <UserString key="SettingType" value="CheckButton"/>
                    </Widget>
                    <Widget type="AutoSizedTextBox" skin="SandText" position="28 4 95 16" align="Left Top">
                        <Property key="Caption" value="#{OMWEngine:AutoSaveOnResting}"/>
                    </Widget>
                </Widget>
                <Widget type="HBox" position="4 280 340 28">
                    <Widget type="AutoSizedButton" skin="MW_Button" position="0 0 24 24" align="Left Top">
                        <UserString key="SettingCategory" value="Game"/>
                        <UserString key="SettingName" value="best attack"/>
                        <UserString key="SettingType" value="CheckButton"/>
                    </Widget>
                    <Widget type="AutoSizedTextBox" skin="SandText" position="28 4 89 16" align="Left Top">
                        <Property key="Caption" value="#{OMWEngine:BestAttack}"/>
                    </Widget>
                </Widget>
                <Widget type="HBox" position="4 310 340 28">
                    <Widget type="AutoSizedButton" skin="MW_Button" position="0 0 24 24" align="Left Top">
                        <UserString key="SettingCategory" value="GUI"/>
                        <UserString key="SettingName" value="subtitles"/>
                        <UserString key="SettingType" value="CheckButton"/>
                    </Widget>
                    <Widget type="AutoSizedTextBox" skin="SandText" position="28 4 71 16" align="Left Top">
                        <Property key="Caption" value="#{OMWEngine:Subtitles}"/>
                    </Widget>
                </Widget>
                <Widget type="HBox" position="4 340 340 28">
                    <Widget type="AutoSizedButton" skin="MW_Button" position="0 0 24 24" align="Left Top">
                        <UserString key="SettingCategory" value="HUD"/>
                        <UserString key="SettingName" value="crosshair"/>
                        <UserString key="SettingType" value="CheckButton"/>
                    </Widget>
                    <Widget type="AutoSizedTextBox" skin="SandText" position="28 4 80 16" align="Left Top">
                        <Property key="Caption" value="#{OMWEngine:Crosshair}"/>
                    </Widget>
                </Widget>
            </Widget>
            <Widget type="TabItem">
                <Property key="Caption" value=" #{OMWEngine:Audio} "/>
                <Widget type="TextBox" skin="NormalText" position="4 4 352 18" align="Left Top">
                    <Property key="Caption" value="#{OMWEngine:AudioMaster}"/>
                </Widget>
                <Widget type="ScrollBar" skin="MW_HScroll" position="4 28 352 18" align="HStretch Top">
                    <Property key="Range" value="10000"/>
                    <Property key="Page" value="300"/>
                    <UserString key="SettingType" value="Slider"/>
                    <UserString key="SettingCategory" value="Sound"/>
                    <UserString key="SettingName" value="master volume"/>
                    <UserString key="SettingValueType" value="Float"/>
                </Widget>
                <Widget type="TextBox" skin="NormalText" position="4 54 352 18" align="Left Top">
                    <Property key="Caption" value="#{OMWEngine:AudioVoice}"/>
                </Widget>
                <Widget type="ScrollBar" skin="MW_HScroll" position="4 78 352 18" align="HStretch Top">
                    <Property key="Range" value="10000"/>
                    <Property key="Page" value="300"/>
                    <UserString key="SettingType" value="Slider"/>
                    <UserString key="SettingCategory" value="Sound"/>
                    <UserString key="SettingName" value="voice volume"/>
                    <UserString key="SettingValueType" value="Float"/>
                </Widget>
                <Widget type="TextBox" skin="NormalText" position="4 104 352 18" align="Left Top">
                    <Property key="Caption" value="#{OMWEngine:AudioEffects}"/>
                </Widget>
                <Widget type="ScrollBar" skin="MW_HScroll" position="4 128 352 18" align="HStretch Top">
                    <Property key="Range" value="10000"/>
                    <Property key="Page" value="300"/>
                    <UserString key="SettingType" value="Slider"/>
                    <UserString key="SettingCategory" value="Sound"/>
                    <UserString key="SettingName" value="sfx volume"/>
                    <UserString key="SettingValueType" value="Float"/>
                </Widget>
                <Widget type="TextBox" skin="NormalText" position="4 154 352 18" align="Left Top">
                    <Property key="Caption" value="#{OMWEngine:AudioFootsteps}"/>
                </Widget>
                <Widget type="ScrollBar" skin="MW_HScroll" position="4 178 352 18" align="HStretch Top">
                    <Property key="Range" value="10000"/>
                    <Property key="Page" value="300"/>
                    <UserString key="SettingType" value="Slider"/>
                    <UserString key="SettingCategory" value="Sound"/>
                    <UserString key="SettingName" value="footsteps volume"/>
                    <UserString key="SettingValueType" value="Float"/>
                </Widget>
                <Widget type="TextBox" skin="NormalText" position="4 204 352 18" align="Left Top">
                    <Property key="Caption" value="#{OMWEngine:AudioMusic}"/>
                </Widget>
                <Widget type="ScrollBar" skin="MW_HScroll" position="4 228 352 18" align="HStretch Top">
                    <Property key="Range" value="10000"/>
                    <Property key="Page" value="300"/>
                    <UserString key="SettingType" value="Slider"/>
                    <UserString key="SettingCategory" value="Sound"/>
                    <UserString key="SettingName" value="music volume"/>
                    <UserString key="SettingValueType" value="Float"/>
                </Widget>
            </Widget>
            <Widget type="TabItem">
                <Property key="Caption" value=" #{OMWEngine:Controls} "/>

                <Widget type="HBox" position="4 4 360 28">
                    <Property key="Padding" value="0"/>
                    <Property key="Spacing" value="4"/>
                    <Widget type="AutoSizedButton" skin="MW_Button" name="KeyboardButton">
                        <Property key="Caption" value="#{OMWEngine:MouseAndKeyboard}"/>
                    </Widget>
                    <Widget type="AutoSizedButton" skin="MW_Button" name="ControllerButton">
                        <Property key="Caption" value="#{OMWEngine:Controller}"/>
                    </Widget>
                </Widget>

                <Widget type="Widget" skin="MW_Box" position="4 38 352 154" align="Stretch">
                    <Widget type="ScrollView" skin="MW_ScrollView" position="4 4 344 146" align="Stretch" name="ControlsBox">
                        <Property key="CanvasAlign" value="Left Top"/>
                    </Widget>
                </Widget>
                <Widget type="AutoSizedButton" skin="MW_Button" position="4 198 137 24" align="Left Bottom" name="ResetControlsButton">
                    <Property key="Caption" value="#{OMWEngine:ResetControls}"/>
                </Widget>
                <Widget type="HBox" position="4 228 600 28" align="Left Bottom">
                    <Widget type="AutoSizedButton" skin="MW_Button">
                        <UserString key="SettingCategory" value="Input"/>
                        <UserString key="SettingName" value="invert x axis"/>
                        <UserString key="SettingType" value="CheckButton"/>
                    </Widget>
                    <Widget type="AutoSizedTextBox" skin="SandText">
                        <Property key="Caption" value="#{OMWEngine:InvertXAxis} "/>
                    </Widget>
                    <Widget type="AutoSizedButton" skin="MW_Button">
                        <UserString key="SettingCategory" value="Input"/>
                        <UserString key="SettingName" value="invert y axis"/>
                        <UserString key="SettingType" value="CheckButton"/>
                    </Widget>
                    <Widget type="AutoSizedTextBox" skin="SandText" position="56 4 78 16" align="Left Bottom">
                        <Property key="Caption" value="#{OMWEngine:InvertYAxis}"/>
                    </Widget>
                </Widget>
                <Widget type="TextBox" skin="NormalText" position="4 258 352 18" align="Left Bottom">
                    <Property key="Caption" value="#{OMWEngine:CameraSensitivity}"/>
                </Widget>
                <Widget type="ScrollBar" skin="MW_HScroll" position="4 282 352 18" align="HStretch Bottom">
                    <Property key="Range" value="10000"/>
                    <Property key="Page" value="300"/>
                    <UserString key="SettingType" value="Slider"/>
                    <UserString key="SettingCategory" value="Input"/>
                    <UserString key="SettingName" value="camera sensitivity"/>
                    <UserString key="SettingValueType" value="Float"/>
                    <UserString key="SettingMin" value="0.2"/>
                    <UserString key="SettingMax" value="5.0"/>
                </Widget>
                <Widget type="TextBox" skin="SandText" position="4 306 352 18" align="Left Bottom">
                    <Property key="Caption" value="#{OMWEngine:SensitivityLow}"/>
                    <Property key="TextAlign" value="Left"/>
                </Widget>
                <Widget type="TextBox" skin="SandText" position="4 306 352 18" align="Right Bottom">
                    <Property key="Caption" value="#{OMWEngine:SensitivityHigh}"/>
                    <Property key="TextAlign" value="Right"/>
                </Widget>
                <Widget type="HBox" position="4 328 352 28" align="Left Bottom">
                    <Widget type="AutoSizedButton" skin="MW_Button" position="0 0 24 24" align="Left Bottom">
                        <UserString key="SettingCategory" value="Input"/>
                        <UserString key="SettingName" value="enable controller"/>
                        <UserString key="SettingType" value="CheckButton"/>
                    </Widget>
                    <Widget type="AutoSizedTextBox" skin="SandText" position="28 4 78 16" align="Left Bottom">
                        <Property key="Caption" value="#{OMWEngine:EnableController}"/>
                    </Widget>
                </Widget>
            </Widget>
            <Widget type="TabItem">
                <Property key="Caption" value=" #{OMWEngine:Video} "/>
                <Widget type="TabControl" skin="TabControlInner" position="4 4 352 390" align="Stretch">
                    <Property key="ButtonAutoWidth" value="true"/>
                    <Widget type="TabItem">
                        <Property key="Caption" value=" #{OMWEngine:Video} "/>
                        <Widget type="ListBox" skin="MW_List" position="0 4 195 225" align="Left Top" name="ResolutionList"/>
                        <Widget type="TextBox" skin="NormalText" position="207 4 250 18" align="Left Top">
                            <Property key="Caption" value="#{OMWEngine:WindowMode}"/>
                        </Widget>
                        <Widget type="HBox" position="207 24 400 24">
                            <Widget type="ComboBox" skin="MW_ComboBox" position="0 0 200 24" align="Left Top" name="WindowModeList">
                                <Property key="AddItem" value="#{OMWEngine:WindowModeFullscreen}"/>
                                <Property key="AddItem" value="#{OMWEngine:WindowModeWindowedFullscreen}"/>
                                <Property key="AddItem" value="#{OMWEngine:WindowModeWindowed}"/>
                            </Widget>
                        </Widget>
                        <Widget type="TextBox" skin="NormalText" position="207 54 250 18" align="Left Top">
                            <Property key="Caption" value="#{OMWEngine:VSync}"/>
                        </Widget>
                        <Widget type="HBox" position="207 74 400 28">
                            <Widget type="ComboBox" skin="MW_ComboBox" position="0 0 200 24" align="Left Top" name="VSyncModeList">
                                <Property key="AddItem" value="#{Interface:Off}"/>
                                <Property key="AddItem" value="#{Interface:On}"/>
                                <Property key="AddItem" value="#{OMWEngine:VSyncAdaptive}"/>
                            </Widget>
                        </Widget>
                        <Widget type="HBox" position="207 108 300 28">
                            <Widget type="AutoSizedButton" skin="MW_Button" position="0 0 24 24" align="Left Top" name="WindowBorderButton">
                                <UserString key="SettingCategory" value="Video"/>
                                <UserString key="SettingName" value="window border"/>
                                <UserString key="SettingType" value="CheckButton"/>
                            </Widget>
                            <Widget type="AutoSizedTextBox" skin="SandText" position="28 4 48 16" align="Left Top">
                                <Property key="Caption" value="#{OMWEngine:WindowBorder}"/>
                            </Widget>
                        </Widget>
                        <Widget type="HBox" position="207 142 300 28">
                            <Widget type="AutoSizedButton" skin="MW_Button" position="0 0 24 24" align="Left Top" name="WindowBorderButton">
                                <UserString key="SettingCategory" value="Post Processing"/>
                                <UserString key="SettingName" value="enabled"/>
                                <UserString key="SettingType" value="CheckButton"/>
                            </Widget>
                            <Widget type="AutoSizedTextBox" skin="SandText" position="28 4 48 16" align="Left Top">
                                <Property key="Caption" value="#{OMWEngine:PostProcessing}"/>
                                <UserString key="ToolTipType" value="Layout"/>
                                <UserString key="ToolTipLayout" value="TextToolTip"/>
                                <UserString key="Caption_Text" value="#{OMWEngine:PostProcessingTooltip}"/>
                            </Widget>
                        </Widget>

                        <Widget type="AutoSizedTextBox" skin="SandText" position="207 174 300 32" align="Left Top">
                            <Property key="Caption" value="#{OMWEngine:FrameRateHint}"/>
                        </Widget>
                        <Widget type="AutoSizedTextBox" skin="SandText" position="207 216 300 32" align="Left Top" name="WindowModeHint">
                            <Property key="Caption" value="#{OMWEngine:WindowModeHint}"/>
                        </Widget>

                        <Widget type="TextBox" skin="NormalText" position="0 238 352 18" align="Left Top" name="FovText">
                        </Widget>
                        <Widget type="ScrollBar" skin="MW_HScroll" position="0 262 352 18" align="HStretch Top">
                            <Property key="Range" value="81"/>
                            <Property key="Page" value="1"/>
                            <UserString key="SettingType" value="Slider"/>
                            <UserString key="SettingCategory" value="Camera"/>
                            <UserString key="SettingName" value="field of view"/>
                            <UserString key="SettingValueType" value="Float"/>
                            <UserString key="SettingMin" value="30"/>
                            <UserString key="SettingMax" value="110"/>
                            <UserString key="SettingLabelWidget" value="FovText"/>
                            <UserString key="SettingLabelCaption" value="#{OMWEngine:FieldOfView} (%s)"/>
                        </Widget>
                        <Widget type="TextBox" skin="SandText" position="0 286 352 18" align="Left Top">
                            <Property key="Caption" value="#{OMWEngine:FieldOfViewLow}"/>
                            <Property key="TextAlign" value="Left"/>
                        </Widget>
                        <Widget type="TextBox" skin="SandText" position="0 286 352 18" align="Right Top">
                            <Property key="Caption" value="#{OMWEngine:FieldOfViewHigh}"/>
                            <Property key="TextAlign" value="Right"/>
                        </Widget>
                        <Widget type="TextBox" skin="NormalText" position="0 308 352 18" align="Left Top" name="GammaText">
                            <Property key="Caption" value="#{OMWEngine:GammaCorrection}"/>
                        </Widget>
                        <Widget type="ScrollBar" skin="MW_HScroll" position="0 332 352 18" align="HStretch Top" name="GammaSlider">
                            <Property key="Range" value="10000"/>
                            <Property key="Page" value="300"/>
                            <UserString key="SettingType" value="Slider"/>
                            <UserString key="SettingCategory" value="Video"/>
                            <UserString key="SettingName" value="gamma"/>
                            <UserString key="SettingValueType" value="Float"/>
                            <UserString key="SettingMin" value="0.1"/>
                            <UserString key="SettingMax" value="3.0"/>
                        </Widget>
                        <Widget type="TextBox" skin="SandText" position="0 356 352 18" align="Left Top" name="GammaTextDark">
                            <Property key="Caption" value="#{OMWEngine:GammaDark}"/>
                            <Property key="TextAlign" value="Left"/>
                        </Widget>
                        <Widget type="TextBox" skin="SandText" position="0 356 352 18" align="Right Top" name="GammaTextLight">
                            <Property key="Caption" value="#{OMWEngine:GammaLight}"/>
                            <Property key="TextAlign" value="Right"/>
                        </Widget>
                    </Widget>
                    <Widget type="TabItem">
                        <Property key="Caption" value=" #{OMWEngine:DetailLevel} "/>

                        <Widget type="AutoSizedTextBox" skin="NormalText" align="Left Top">
                            <Property key="Caption" value="#{OMWEngine:TextureFiltering}"/>
                            <UserString key="VStretch" value="false"/>
                            <UserString key="HStretch" value="false"/>
                        </Widget>
                        <Widget type="ComboBox" align="Left Top" skin="MW_ComboBox" position="0 28 200 24" name="TextureFilteringButton">
                            <Property key="AddItem" value="#{OMWEngine:TextureFilteringBilinear}"/>
                            <Property key="AddItem" value="#{OMWEngine:TextureFilteringTrilinear}"/>
                        </Widget>

                        <Widget type="AutoSizedTextBox" skin="NormalText" position="0 58 200 18" name="AnisotropyLabel">
                            <Property key="Caption" value="#{OMWEngine:Anisotropy}"/>
                        </Widget>
                        <Widget type="ScrollBar" skin="MW_HScroll" position="0 80 352 18" align="HStretch Top">
                            <Property key="Range" value="17"/>
                            <Property key="Page" value="1"/>
                            <UserString key="SettingType" value="Slider"/>
                            <UserString key="SettingCategory" value="General"/>
                            <UserString key="SettingName" value="anisotropy"/>
                            <UserString key="SettingLabelWidget" value="AnisotropyLabel"/>
                            <UserString key="SettingLabelCaption" value="#{OMWEngine:Anisotropy} (%s)"/>
                        </Widget>

                        <Widget type="AutoSizedTextBox" skin="NormalText" position="0 104 0 18" align="Left Top" name="RenderDistanceLabel">
                            <Property key="Caption" value="#{OMWEngine:ViewDistance}"/>
                        </Widget>
                        <Widget type="ScrollBar" skin="MW_HScroll" position="0 126 352 18" align="HStretch Top" name="RenderingDistanceSlider">
                            <Property key="Range" value="4669"/>
                            <Property key="Page" value="128"/>
                            <UserString key="SettingType" value="Slider"/>
                            <UserString key="SettingCategory" value="Camera"/>
                            <UserString key="SettingName" value="viewing distance"/>
                            <UserString key="SettingValueType" value="Float"/>
                            <UserString key="SettingMin" value="2500"/>
                            <UserString key="SettingMax" value="7168"/>
                            <UserString key="SettingLabelWidget" value="RenderDistanceLabel"/>
                            <UserString key="SettingLabelCaption" value="#{OMWEngine:ViewDistance} (%s)"/>
                        </Widget>
                        <Widget type="ScrollBar" skin="MW_HScroll" position="0 126 352 18" align="HStretch Top" name="LargeRenderingDistanceSlider">
                            <Property key="Range" value="79421"/>
                            <Property key="Page" value="2048"/>
                            <UserString key="SettingType" value="Slider"/>
                            <UserString key="SettingCategory" value="Camera"/>
                            <UserString key="SettingName" value="viewing distance"/>
                            <UserString key="SettingValueType" value="Cell"/>
                            <UserString key="SettingMin" value="2500"/>
                            <UserString key="SettingMax" value="81920"/>
                            <UserString key="SettingLabelWidget" value="RenderDistanceLabel"/>
                            <UserString key="SettingLabelCaption" value="#{OMWEngine:ViewDistance} (x%s)"/>
                        </Widget>
                        <Widget type="TextBox" skin="SandText" position="0 148 352 18" align="Left Top">
                            <Property key="Caption" value="#{OMWEngine:DistanceLow}"/>
                            <Property key="TextAlign" value="Left"/>
                        </Widget>
                        <Widget type="TextBox" skin="SandText" position="0 148 352 18" align="Right Top">
                            <Property key="Caption" value="#{OMWEngine:DistanceHigh}"/>
                            <Property key="TextAlign" value="Right"/>
                        </Widget>

                    </Widget>
                    <Widget type="TabItem">
                        <Property key="Caption" value=" #{OMWEngine:Water} "/>

                        <Widget type="VBox" position_real="0 0 1 1" align="Stretch">

                            <Widget type="HBox" align="Stretch">
                                <UserString key="HStretch" value="true"/>
                                <UserString key="VStretch" value="false"/>

                                <Widget type="AutoSizedButton" skin="MW_Button">
                                    <UserString key="SettingCategory" value="Water"/>
                                    <UserString key="SettingName" value="shader"/>
                                    <UserString key="SettingType" value="CheckButton"/>
                                </Widget>
                                <Widget type="AutoSizedTextBox" skin="SandText">
                                    <Property key="Caption" value="#{OMWEngine:WaterShader}"/>
                                </Widget>
                            </Widget>

                            <Widget type="HBox" align="Stretch">
                                <UserString key="HStretch" value="true"/>
                                <UserString key="VStretch" value="false"/>

                                <Widget type="AutoSizedButton" skin="MW_Button" name="WaterRefractionButton">
                                    <UserString key="SettingCategory" value="Water"/>
                                    <UserString key="SettingName" value="refraction"/>
                                    <UserString key="SettingType" value="CheckButton"/>
                                </Widget>
                                <Widget type="AutoSizedTextBox" skin="SandText">
                                    <Property key="Caption" value="#{OMWEngine:Refraction}"/>
                                </Widget>
                            </Widget>

                            <Widget type="HBox" align="Stretch">
                                <UserString key="HStretch" value="true"/>
                                <UserString key="VStretch" value="false"/>

                                <Widget type="AutoSizedButton" skin="MW_Button" name="SunlightScatteringButton">
                                    <UserString key="SettingCategory" value="Water"/>
                                    <UserString key="SettingName" value="sunlight scattering"/>
                                    <UserString key="SettingType" value="CheckButton"/>
                                </Widget>
                                <Widget type="AutoSizedTextBox" skin="SandText">
                                    <Property key="Caption" value="#{OMWEngine:SunlightScattering}"/>
                                </Widget>
                            </Widget>

                            <Widget type="HBox" align="Stretch">
                                <UserString key="HStretch" value="true"/>
                                <UserString key="VStretch" value="false"/>

                                <Widget type="AutoSizedButton" skin="MW_Button" name="WobblyShoresButton">
                                    <UserString key="SettingCategory" value="Water"/>
                                    <UserString key="SettingName" value="wobbly shores"/>
                                    <UserString key="SettingType" value="CheckButton"/>
                                </Widget>
                                <Widget type="AutoSizedTextBox" skin="SandText">
                                    <Property key="Caption" value="#{OMWEngine:WobblyShores}"/>
                                </Widget>
                            </Widget>

                            <Widget type="Widget" position="0 0 0 18" align="Top Left HStretch">
                                <UserString key="HStretch" value="true"/>
                                <Widget type="AutoSizedTextBox" skin="NormalText">
                                    <Property key="Caption" value="#{OMWEngine:WaterShaderTextureQuality}"/>
                                </Widget>
                                <Widget type="Spacer" />
                            </Widget>

                            <Widget type="HBox" align="Stretch">
                                <UserString key="HStretch" value="true"/>
                                <UserString key="VStretch" value="false"/>
                                <Widget type="ComboBox" skin="MW_ComboBox" position="0 0 200 24" align="Left Top" name="WaterTextureSize">
                                    <Property key="AddItem" value="#{OMWEngine:QualityLow}"/>
                                    <Property key="AddItem" value="#{OMWEngine:QualityMedium}"/>
                                    <Property key="AddItem" value="#{OMWEngine:QualityHigh}"/>
                                </Widget>
                                <Widget type="Spacer" />
                            </Widget>

                            <Widget type="Widget" position="0 0 0 18" align="Top Left HStretch">
                                <UserString key="HStretch" value="true"/>
                                <Widget type="AutoSizedTextBox" skin="NormalText">
                                    <Property key="Caption" value="#{OMWEngine:ReflectionShaderDetail}"/>
                                </Widget>
                                <Widget type="Spacer" />
                            </Widget>
                            <Widget type="HBox" align="Stretch">
                                <UserString key="HStretch" value="true"/>
                                <UserString key="VStretch" value="false"/>

                                <Widget type="ComboBox" skin="MW_ComboBox" position="0 0 200 24" align="Left Top" name="WaterReflectionDetail">
                                    <Property key="AddItem" value="#{OMWEngine:ReflectionShaderDetailSky}"/>
                                    <Property key="AddItem" value="#{OMWEngine:ReflectionShaderDetailTerrain}"/>
                                    <Property key="AddItem" value="#{OMWEngine:ReflectionShaderDetailWorld}"/>
                                    <Property key="AddItem" value="#{OMWEngine:ReflectionShaderDetailObjects}"/>
                                    <Property key="AddItem" value="#{OMWEngine:ReflectionShaderDetailActors}"/>
                                    <Property key="AddItem" value="#{OMWEngine:ReflectionShaderDetailGroundcover}"/>
                                </Widget>
                                <Widget type="Spacer" />
                            </Widget>

                            <Widget type="Widget" position="0 0 0 18" align="Top Left HStretch">
                                <UserString key="HStretch" value="true"/>
                                <Widget type="AutoSizedTextBox" skin="NormalText">
                                    <Property key="Caption" value="#{OMWEngine:RainRippleDetail}"/>
                                </Widget>
                                <Widget type="Spacer" />
                            </Widget>

                            <Widget type="HBox" align="Stretch">
                                <UserString key="HStretch" value="true"/>
                                <UserString key="VStretch" value="false"/>

                                <Widget type="ComboBox" skin="MW_ComboBox" position="0 0 200 24" align="Left Top" name="WaterRainRippleDetail">
                                    <Property key="AddItem" value="#{OMWEngine:RainRippleDetailSimple}"/>
                                    <Property key="AddItem" value="#{OMWEngine:RainRippleDetailSparse}"/>
                                    <Property key="AddItem" value="#{OMWEngine:RainRippleDetailDense}"/>
                                </Widget>
                                <Widget type="Spacer" />
                            </Widget>

                        </Widget>

                    </Widget>
                    <Widget type="TabItem">
                        <Property key="Caption" value=" #{OMWEngine:Lights} "/>
                        <!-- Lighting Method -->
                        <Widget type="TextBox" skin="NormalText" position="0 4 250 18" align="Left Top">
                            <Property key="Caption" value="#{OMWEngine:LightingMethod}"/>
                            <UserString key="ToolTipType" value="Layout"/>
                            <UserString key="ToolTipLayout" value="TextToolTip"/>
                            <UserString key="Caption_Text" value="#{OMWEngine:LightsLightingMethodTooltip}"/>
                        </Widget>
                        <Widget type="ComboBox" skin="MW_ComboBox" position="0 28 250 24" align="Left Top" name="LightingMethodButton">
                            <Property key="AddItem" value="legacy"/>
                            <Property key="AddItem" value="shaders compatibility"/>
                            <Property key="AddItem" value="shaders"/>
                        </Widget>
                        <!-- Max Lights -->
                        <Widget type="TextBox" skin="NormalText" position="258 4 350 18" align="Left Top" name="MaxLightsText">
                            <UserString key="ToolTipType" value="Layout"/>
                            <UserString key="ToolTipLayout" value="TextToolTip"/>
                            <UserString key="Caption_Text" value="#{OMWEngine:MaxLightsTooltip}"/>
                        </Widget>
                        <Widget type="ScrollBar" position="0 0 0 0">
                            <UserString key="SettingType" value="Slider"/>
                            <UserString key="SettingCategory" value="Shaders"/>
                            <UserString key="SettingName" value="max lights"/>
                            <UserString key="SettingValueType" value="Integer"/>
                            <UserString key="SettingLabelWidget" value="MaxLightsText"/>
                            <UserString key="SettingLabelCaption" value="#{OMWEngine:MaxLights} (%s)"/>
                        </Widget>
                        <Widget type="ComboBox" skin="MW_ComboBox" position="258 28 250 24" align="Left Top" name="MaxLights">
                            <Property key="AddItem" value="8"/>
                            <Property key="AddItem" value="16"/>
                            <Property key="AddItem" value="24"/>
                            <Property key="AddItem" value="32"/>
                            <Property key="AddItem" value="40"/>
                            <Property key="AddItem" value="48"/>
                            <Property key="AddItem" value="56"/>
                            <Property key="AddItem" value="64"/>
                        </Widget>

                        <Widget type="HBox" position="0 60 600 24">
                            <!-- Per-Pixel Lighting -->
                            <Widget type="AutoSizedButton" skin="MW_Button" align="Left Top">
                                <UserString key="SettingCategory" value="Shaders"/>
                                <UserString key="SettingName" value="force per pixel lighting"/>
                                <UserString key="SettingType" value="CheckButton"/>
                            </Widget>
                            <Widget type="AutoSizedTextBox" skin="SandText" align="Left Top">
                                <!-- Deliberate padding -->
                                <Property key="Caption" value="#{OMWEngine:ForcePerPixelLighting}  "/>
                                <UserString key="ToolTipType" value="Layout"/>
                                <UserString key="ToolTipLayout" value="TextToolTip"/>
                                <UserString key="Caption_Text" value="#{OMWEngine:ForcePerPixelLightingTooltip}"/>
                            </Widget>
                            <!-- Classic Falloff -->
                            <Widget type="AutoSizedButton" skin="MW_Button" align="Left Top">
                                <UserString key="SettingCategory" value="Shaders"/>
                                <UserString key="SettingName" value="classic falloff"/>
                                <UserString key="SettingType" value="CheckButton"/>
                            </Widget>
                            <Widget type="AutoSizedTextBox" skin="SandText" align="Left Top">
                                <Property key="Caption" value="#{OMWEngine:ClassicFalloff}"/>
                                <UserString key="ToolTipType" value="Layout"/>
                                <UserString key="ToolTipLayout" value="TextToolTip"/>
                                <UserString key="Caption_Text" value="#{OMWEngine:ClassicFalloffTooltip}"/>
                            </Widget>
                        </Widget>

                        <Widget type="HBox" position="0 90 600 24">
                            <!-- Match Sunlight To Sun -->
                            <Widget type="AutoSizedButton" skin="MW_Button" align="Left Top">
                                <UserString key="SettingCategory" value="Shaders"/>
                                <UserString key="SettingName" value="match sunlight to sun"/>
                                <UserString key="SettingType" value="CheckButton"/>
                            </Widget>
                            <Widget type="AutoSizedTextBox" skin="SandText" align="Left Top">
                                <Property key="Caption" value="#{OMWEngine:MatchSunlightToSun}"/>
                                <UserString key="ToolTipType" value="Layout"/>
                                <UserString key="ToolTipLayout" value="TextToolTip"/>
                                <UserString key="Caption_Text" value="#{OMWEngine:MatchSunlightToSunTooltip}"/>
                            </Widget>
                        </Widget>

                        <Widget type="ImageBox" skin="MW_HLine" position="0 114 360 18" align="Top HStretch"/>

                        <!-- Light Fade Start -->
                        <Widget type="TextBox" skin="NormalText" position="0 134 500 18" align="Left Top" name="MaxLightDistanceText">
                            <UserString key="ToolTipType" value="Layout"/>
                            <UserString key="ToolTipLayout" value="TextToolTip"/>
                            <UserString key="Caption_Text" value="#{OMWEngine:LightsMaximumDistanceTooltip}"/>
                        </Widget>
                        <Widget type="ScrollBar" skin="MW_HScroll" position="0 158 352 18" align="HStretch Top">
                            <Property key="Range" value="8193"/>
                            <Property key="Page" value="128"/>
                            <UserString key="SettingType" value="Slider"/>
                            <UserString key="SettingMin" value="0"/>
                            <UserString key="SettingMax" value="8192"/>
                            <UserString key="SettingCategory" value="Shaders"/>
                            <UserString key="SettingName" value="maximum light distance"/>
                            <UserString key="SettingValueType" value="Float"/>
                            <UserString key="SettingLabelWidget" value="MaxLightDistanceText"/>
                            <UserString key="SettingLabelCaption" value="#{OMWEngine:LightsMaximumDistance} (%s)"/>
                        </Widget>
                        <!-- Light Fade Multiplier -->
                        <Widget type="TextBox" skin="NormalText" position="0 182 500 18" align="Left Top" name="LightFadeMultiplierText">
                            <UserString key="ToolTipType" value="Layout"/>
                            <UserString key="ToolTipLayout" value="TextToolTip"/>
                            <UserString key="Caption_Text" value="#{OMWEngine:LightsFadeStartMultiplierTooltip}"/>
                        </Widget>
                        <Widget type="ScrollBar" skin="MW_HScroll" position="0 206 352 18" align="HStretch Top">
                            <Property key="Range" value="10000"/>
                            <Property key="Page" value="100"/>
                            <UserString key="SettingType" value="Slider"/>
                            <UserString key="SettingCategory" value="Shaders"/>
                            <UserString key="SettingName" value="light fade start"/>
                            <UserString key="SettingValueType" value="Float"/>
                            <UserString key="SettingMin" value="0.0"/>
                            <UserString key="SettingMax" value="1.0"/>
                            <UserString key="SettingLabelWidget" value="LightFadeMultiplierText"/>
                            <UserString key="SettingLabelCaption" value="#{OMWEngine:LightsFadeStartMultiplier} (%s)"/>
                        </Widget>
                        <!-- Bounding Sphere Multiplier -->
                        <Widget type="TextBox" skin="NormalText" position="0 230 500 18" align="Left Top" name="BoundingSphereMultText">
                            <UserString key="ToolTipType" value="Layout"/>
                            <UserString key="ToolTipLayout" value="TextToolTip"/>
                            <UserString key="Caption_Text" value="#{OMWEngine:LightsBoundingSphereMultiplierTooltip}"/>
                        </Widget>
                        <Widget type="ScrollBar" skin="MW_HScroll" position="0 254 352 18" align="HStretch Top">
                            <Property key="Range" value="500000"/>
                            <Property key="Page" value="1000"/>
                            <UserString key="SettingType" value="Slider"/>
                            <UserString key="SettingMin" value="0.0"/>
                            <UserString key="SettingMax" value="5.0"/>
                            <UserString key="SettingCategory" value="Shaders"/>
                            <UserString key="SettingName" value="light bounds multiplier"/>
                            <UserString key="SettingValueType" value="Float"/>
                            <UserString key="SettingLabelWidget" value="BoundingSphereMultText"/>
                            <UserString key="SettingLabelCaption" value="#{OMWEngine:LightsBoundingSphereMultiplier} (%s)"/>
                        </Widget>
                        <!-- Minimum Ambient Brightness -->
                        <Widget type="TextBox" skin="NormalText" position="0 278 500 18" align="Left Top" name="MinimumBrightnessText">
                            <UserString key="ToolTipType" value="Layout"/>
                            <UserString key="ToolTipLayout" value="TextToolTip"/>
                            <UserString key="Caption_Text" value="#{OMWEngine:LightsMinimumInteriorBrightnessTooltip}"/>
                        </Widget>
                        <Widget type="ScrollBar" skin="MW_HScroll" position="0 302 352 18" align="HStretch Top">
                            <Property key="Range" value="10000"/>
                            <Property key="Page" value="100"/>
                            <UserString key="SettingType" value="Slider"/>
                            <UserString key="SettingCategory" value="Shaders"/>
                            <UserString key="SettingName" value="minimum interior brightness"/>
                            <UserString key="SettingValueType" value="Float"/>
                            <UserString key="SettingLabelWidget" value="MinimumBrightnessText"/>
                            <UserString key="SettingLabelCaption" value="#{OMWEngine:LightsMinimumInteriorBrightness} (%s)"/>
                        </Widget>
                        <Widget type="AutoSizedButton" skin="MW_Button" position="0 336 0 0" align="Top Left" name="LightsResetButton">
                            <Property key="Caption" value="#{Interface:Reset}"/>
                        </Widget>
                    </Widget>
                </Widget>
            </Widget>
            <Widget type="TabItem">
                <Property key="Caption" value=" #{OMWEngine:Scripts} "/>

                <Widget name="ScriptDisabled" type="EditBox" skin="SandText" position_real="0 0 1 1" align="HStretch Top">
                    <Property key="Caption" value="#{OMWEngine:ScriptsDisabled}"/>
                    <Property key="TextAlign" value="Center"/>
                    <Property key="MultiLine" value="true"/>
                    <Property key="WordWrap" value="true"/>
                    <Property key="Static" value="true"/>
                </Widget>

                <Widget type="HBox" position_real="0 0 1 0.99" align="Stretch">
                    <Property key="Padding" value="0"/>
                    <Property key="Spacing" value="0"/>
                    <Widget type="VBox" align="Left VStretch">
                        <UserString key="VStretch" value="true"/>

                        <Widget name="ScriptFilter" type="EditBox" skin="MW_TextEdit" position="0 0 300 28">
                            <UserString key="HStretch" value="false"/>
                            <UserString key="VStretch" value="false"/>
                        </Widget>

                        <Widget name="ScriptList" type="ListBox" skin="MW_List" align="Left VStretch">
                            <UserString key="HStretch" value="true"/>
                            <UserString key="VStretch" value="true"/>
                        </Widget>
                    </Widget>

                    <Widget name="ScriptBox" type="Widget" align="Stretch" name="ScriptBox">
                        <UserString key="HStretch" value="true"/>
                        <UserString key="VStretch" value="true"/>

                        <Widget name="ScriptView" type="ScrollView" skin="MW_ScrollViewVH" align="Stretch">
                            <Property key="CanvasAlign" value="Left Top"/>
                            <Widget name="ScriptAdapter" type="LuaAdapter"/>
                        </Widget>
                    </Widget>

                </Widget>

            </Widget>
            <Widget type="TabItem">
                <Property key="Caption" value=" #{OMWEngine:Language} "/>
                <Widget type="AutoSizedTextBox" skin="SandText" position="4 4 300 32" align="Left Top">
                    <Property key="Caption" value="#{OMWEngine:LanguageNote}"/>
                </Widget>
                <!-- Primary Language -->
                <Widget type="TextBox" skin="NormalText" position="4 28 250 18" align="Left Top">
                    <Property key="Caption" value="#{OMWEngine:PrimaryLanguage}"/>
                    <UserString key="ToolTipType" value="Layout"/>
                    <UserString key="ToolTipLayout" value="TextToolTip"/>
                    <UserString key="Caption_Text" value="#{OMWEngine:PrimaryLanguageTooltip}"/>
                </Widget>
                <Widget type="ComboBox" skin="MW_ComboBox" position="4 52 250 24" align="Left Top" name="PrimaryLanguage" />
                <!-- Secondary Language -->
                <Widget type="TextBox" skin="NormalText" position="262 28 250 18" align="Left Top">
                    <Property key="Caption" value="#{OMWEngine:SecondaryLanguage}"/>
                    <UserString key="ToolTipType" value="Layout"/>
                    <UserString key="ToolTipLayout" value="TextToolTip"/>
                    <UserString key="Caption_Text" value="#{OMWEngine:SecondaryLanguageTooltip}"/>
                </Widget>
                <Widget type="ComboBox" skin="MW_ComboBox" position="262 52 250 24" align="Left Top" name="SecondaryLanguage" />
                <Widget type="HBox" position="4 84 500 32">
                    <Widget type="AutoSizedButton" skin="MW_Button" name="GmstOverridesL10nButton">
                        <UserString key="SettingCategory" value="General"/>
                        <UserString key="SettingName" value="gmst overrides l10n"/>
                        <UserString key="SettingType" value="CheckButton"/>
                    </Widget>
                    <Widget type="AutoSizedTextBox" skin="SandText">
                        <Property key="Caption" value="#{OMWEngine:GmstOverridesL10n} "/>
                    </Widget>
                </Widget>
            </Widget>
        </Widget>
        <Widget type="AutoSizedButton" skin="MW_Button" position="320 420 56 24" align="Right Bottom" name="OkButton">
            <Property key="ExpandDirection" value="Left"/>
            <Property key="Caption" value="#{Interface:OK}"/>
        </Widget>
    </Widget>
    <CodeGeneratorSettings/>
</MyGUI>
