Fix settings window being too small for all tabs on some localizations

openmw-33
scrawl 10 years ago
parent c3853b376d
commit c4e81adb83

@ -179,6 +179,8 @@ namespace MWGui
getWidget(mRefractionButton, "RefractionButton"); getWidget(mRefractionButton, "RefractionButton");
getWidget(mDifficultySlider, "DifficultySlider"); getWidget(mDifficultySlider, "DifficultySlider");
mMainWidget->castType<MyGUI::Window>()->eventWindowChangeCoord += MyGUI::newDelegate(this, &SettingsWindow::onWindowResize);
mOkButton->eventMouseButtonClick += MyGUI::newDelegate(this, &SettingsWindow::onOkButtonClicked); mOkButton->eventMouseButtonClick += MyGUI::newDelegate(this, &SettingsWindow::onOkButtonClicked);
mShaderModeButton->eventMouseButtonClick += MyGUI::newDelegate(this, &SettingsWindow::onShaderModeToggled); mShaderModeButton->eventMouseButtonClick += MyGUI::newDelegate(this, &SettingsWindow::onShaderModeToggled);
mTextureFilteringButton->eventComboChangePosition += MyGUI::newDelegate(this, &SettingsWindow::onTextureFilteringChanged); mTextureFilteringButton->eventComboChangePosition += MyGUI::newDelegate(this, &SettingsWindow::onTextureFilteringChanged);
@ -515,4 +517,9 @@ namespace MWGui
{ {
MWBase::Environment::get().getWindowManager()->removeGuiMode(GM_Settings); MWBase::Environment::get().getWindowManager()->removeGuiMode(GM_Settings);
} }
void SettingsWindow::onWindowResize(MyGUI::Window *_sender)
{
updateControlsBox();
}
} }

@ -63,6 +63,8 @@ namespace MWGui
void onResetDefaultBindings(MyGUI::Widget* _sender); void onResetDefaultBindings(MyGUI::Widget* _sender);
void onResetDefaultBindingsAccept (); void onResetDefaultBindingsAccept ();
void onWindowResize(MyGUI::Window* _sender);
void apply(); void apply();
void configureWidgets(MyGUI::Widget* widget); void configureWidgets(MyGUI::Widget* widget);

@ -1,22 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<MyGUI type="Layout" version="3.2.0">
<MyGUI type="Layout"> <Widget type="Window" skin="MW_Window" position="0 0 400 426" layer="Windows" name="_Main">
<Widget type="Window" skin="MW_Window" layer="Windows" position="0 0 400 426" name="_Main"> <Property key="MinSize" value="430 446"/>
<Widget type="TabControl" skin="TabControl" position="8 8 368 340" align="Stretch" name="SettingsTab">
<Property key="MinSize" value="400 446"/>
<Property key="MaxSize" value="400 446"/>
<Widget type="TabControl" skin="TabControl" position="8 8 368 360" align="Left Top" name="SettingsTab">
<Property key="ButtonAutoWidth" value="true"/> <Property key="ButtonAutoWidth" value="true"/>
<Widget type="TabItem" skin="" position="4 32 360 308">
<Widget type="TabItem" skin="" position="4 28 360 312">
<Property key="Caption" value=" #{sPrefs} "/> <Property key="Caption" value=" #{sPrefs} "/>
<Widget type="Widget" skin="" position="4 4 352 54" align="Left Top HStretch">
<Widget type="Widget" position="4 4 352 54" align="Left Top">
<Widget type="TextBox" skin="NormalText" position="0 0 352 16" align="Left Top"> <Widget type="TextBox" skin="NormalText" position="0 0 352 16" align="Left Top">
<Property key="Caption" value="#{sTransparency_Menu}"/> <Property key="Caption" value="#{sTransparency_Menu}"/>
</Widget> </Widget>
<Widget type="MWScrollBar" skin="MW_HScroll" position="0 20 352 14" align="Left Top" name="MenuTransparencySlider"> <Widget type="MWScrollBar" skin="MW_HScroll" position="0 20 352 14" align="Left Top HStretch" name="MenuTransparencySlider">
<Property key="Range" value="10000"/> <Property key="Range" value="10000"/>
<Property key="Page" value="300"/> <Property key="Page" value="300"/>
<UserString key="SettingType" value="Slider"/> <UserString key="SettingType" value="Slider"/>
@ -28,17 +22,16 @@
<Property key="Caption" value="#{sFull}"/> <Property key="Caption" value="#{sFull}"/>
<Property key="TextAlign" value="Left"/> <Property key="TextAlign" value="Left"/>
</Widget> </Widget>
<Widget type="TextBox" skin="SandText" position="0 38 352 16" align="Left Top"> <Widget type="TextBox" skin="SandText" position="0 38 352 16" align="Right Top">
<Property key="Caption" value="#{sNone}"/> <Property key="Caption" value="#{sNone}"/>
<Property key="TextAlign" value="Right"/> <Property key="TextAlign" value="Right"/>
</Widget> </Widget>
</Widget> </Widget>
<Widget type="Widget" skin="" position="4 64 352 54" align="Left Top HStretch">
<Widget type="Widget" position="4 64 352 54" align="Left Top">
<Widget type="TextBox" skin="NormalText" position="0 0 352 16" align="Left Top"> <Widget type="TextBox" skin="NormalText" position="0 0 352 16" align="Left Top">
<Property key="Caption" value="#{sMenu_Help_Delay}"/> <Property key="Caption" value="#{sMenu_Help_Delay}"/>
</Widget> </Widget>
<Widget type="MWScrollBar" skin="MW_HScroll" position="0 20 352 14" align="Left Top" name="ToolTipDelaySlider"> <Widget type="MWScrollBar" skin="MW_HScroll" position="0 20 352 14" align="Left Top HStretch" name="ToolTipDelaySlider">
<Property key="Range" value="10000"/> <Property key="Range" value="10000"/>
<Property key="Page" value="300"/> <Property key="Page" value="300"/>
<UserString key="SettingType" value="Slider"/> <UserString key="SettingType" value="Slider"/>
@ -50,17 +43,16 @@
<Property key="Caption" value="#{sFast}"/> <Property key="Caption" value="#{sFast}"/>
<Property key="TextAlign" value="Left"/> <Property key="TextAlign" value="Left"/>
</Widget> </Widget>
<Widget type="TextBox" skin="SandText" position="0 38 352 16" align="Left Top"> <Widget type="TextBox" skin="SandText" position="0 38 352 16" align="Right Top">
<Property key="Caption" value="#{sSlow}"/> <Property key="Caption" value="#{sSlow}"/>
<Property key="TextAlign" value="Right"/> <Property key="TextAlign" value="Right"/>
</Widget> </Widget>
</Widget> </Widget>
<Widget type="Widget" skin="" position="4 124 352 54" align="Left Top HStretch">
<Widget type="Widget" position="4 124 352 54" align="Left Top">
<Widget type="TextBox" skin="NormalText" position="0 0 352 16" align="Left Top" name="DifficultyText"> <Widget type="TextBox" skin="NormalText" position="0 0 352 16" align="Left Top" name="DifficultyText">
<Property key="Caption" value="#{sDifficulty}"/> <Property key="Caption" value="#{sDifficulty}"/>
</Widget> </Widget>
<Widget type="MWScrollBar" skin="MW_HScroll" position="0 20 352 14" align="Left Top" name="DifficultySlider"> <Widget type="MWScrollBar" skin="MW_HScroll" position="0 20 352 14" align="Left Top HStretch" name="DifficultySlider">
<Property key="Range" value="10000"/> <Property key="Range" value="10000"/>
<Property key="Page" value="300"/> <Property key="Page" value="300"/>
<UserString key="SettingType" value="Slider"/> <UserString key="SettingType" value="Slider"/>
@ -74,64 +66,58 @@
<Property key="Caption" value="#{sEasy}"/> <Property key="Caption" value="#{sEasy}"/>
<Property key="TextAlign" value="Left"/> <Property key="TextAlign" value="Left"/>
</Widget> </Widget>
<Widget type="TextBox" skin="SandText" position="0 38 352 16" align="Left Top"> <Widget type="TextBox" skin="SandText" position="0 38 352 16" align="Right Top">
<Property key="Caption" value="#{sHard}"/> <Property key="Caption" value="#{sHard}"/>
<Property key="TextAlign" value="Right"/> <Property key="TextAlign" value="Right"/>
</Widget> </Widget>
</Widget> </Widget>
<Widget type="HBox" skin="" position="4 200 260 24"> <Widget type="HBox" skin="" position="4 200 260 24">
<Widget type="AutoSizedButton" skin="MW_Button" align="Left Top" name="AutosaveButton"> <Widget type="AutoSizedButton" skin="MW_Button" position="0 0 24 24" align="Left Top" name="AutosaveButton">
<UserString key="SettingCategory" value="Saves"/> <UserString key="SettingCategory" value="Saves"/>
<UserString key="SettingName" value="autosave"/> <UserString key="SettingName" value="autosave"/>
<UserString key="SettingType" value="CheckButton"/> <UserString key="SettingType" value="CheckButton"/>
</Widget> </Widget>
<Widget type="AutoSizedTextBox" skin="SandText" align="Left Top"> <Widget type="AutoSizedTextBox" skin="SandText" position="28 4 95 16" align="Left Top">
<Property key="Caption" value="#{sQuick_Save}"/> <Property key="Caption" value="#{sQuick_Save}"/>
</Widget> </Widget>
</Widget> </Widget>
<Widget type="HBox" skin="" position="4 230 260 24"> <Widget type="HBox" skin="" position="4 230 260 24">
<Widget type="AutoSizedButton" skin="MW_Button" align="Left Top" name="BestAttackButton"> <Widget type="AutoSizedButton" skin="MW_Button" position="0 0 24 24" align="Left Top" name="BestAttackButton">
<UserString key="SettingCategory" value="Game"/> <UserString key="SettingCategory" value="Game"/>
<UserString key="SettingName" value="best attack"/> <UserString key="SettingName" value="best attack"/>
<UserString key="SettingType" value="CheckButton"/> <UserString key="SettingType" value="CheckButton"/>
</Widget> </Widget>
<Widget type="AutoSizedTextBox" skin="SandText" align="Left Top"> <Widget type="AutoSizedTextBox" skin="SandText" position="28 4 89 16" align="Left Top">
<Property key="Caption" value="#{sBestAttack}"/> <Property key="Caption" value="#{sBestAttack}"/>
</Widget> </Widget>
</Widget> </Widget>
<Widget type="HBox" skin="" position="4 260 260 24"> <Widget type="HBox" skin="" position="4 260 260 24">
<Widget type="AutoSizedButton" skin="MW_Button" align="Left Top" name="SubtitlesButton"> <Widget type="AutoSizedButton" skin="MW_Button" position="0 0 24 24" align="Left Top" name="SubtitlesButton">
<UserString key="SettingCategory" value="GUI"/> <UserString key="SettingCategory" value="GUI"/>
<UserString key="SettingName" value="subtitles"/> <UserString key="SettingName" value="subtitles"/>
<UserString key="SettingType" value="CheckButton"/> <UserString key="SettingType" value="CheckButton"/>
</Widget> </Widget>
<Widget type="AutoSizedTextBox" skin="SandText" align="Left Top"> <Widget type="AutoSizedTextBox" skin="SandText" position="28 4 71 16" align="Left Top">
<Property key="Caption" value="#{sSubtitles}"/> <Property key="Caption" value="#{sSubtitles}"/>
</Widget> </Widget>
</Widget> </Widget>
<Widget type="HBox" skin="" position="4 290 260 24"> <Widget type="HBox" skin="" position="4 290 260 24">
<Widget type="AutoSizedButton" skin="MW_Button" align="Left Top" name="CrosshairButton"> <Widget type="AutoSizedButton" skin="MW_Button" position="0 0 24 24" align="Left Top" name="CrosshairButton">
<UserString key="SettingCategory" value="HUD"/> <UserString key="SettingCategory" value="HUD"/>
<UserString key="SettingName" value="crosshair"/> <UserString key="SettingName" value="crosshair"/>
<UserString key="SettingType" value="CheckButton"/> <UserString key="SettingType" value="CheckButton"/>
</Widget> </Widget>
<Widget type="AutoSizedTextBox" skin="SandText" align="Left Top"> <Widget type="AutoSizedTextBox" skin="SandText" position="28 4 80 16" align="Left Top">
<Property key="Caption" value="#{sCursorOff}"/> <Property key="Caption" value="#{sCursorOff}"/>
</Widget> </Widget>
</Widget> </Widget>
</Widget> </Widget>
<Widget type="TabItem" skin="" position="4 28 360 312"> <Widget type="TabItem" skin="" position="4 32 360 308">
<Property key="Caption" value=" #{sAudio} "/> <Property key="Caption" value=" #{sAudio} "/>
<Widget type="TextBox" skin="NormalText" position="4 4 352 18" align="Left Top"> <Widget type="TextBox" skin="NormalText" position="4 4 352 18" align="Left Top">
<Property key="Caption" value="#{sMaster}"/> <Property key="Caption" value="#{sMaster}"/>
</Widget> </Widget>
<Widget type="MWScrollBar" skin="MW_HScroll" position="4 28 352 18" align="Left Top" name="MasterVolume"> <Widget type="MWScrollBar" skin="MW_HScroll" position="4 28 352 18" align="HStretch Top" name="MasterVolume">
<Property key="Range" value="10000"/> <Property key="Range" value="10000"/>
<Property key="Page" value="300"/> <Property key="Page" value="300"/>
<UserString key="SettingType" value="Slider"/> <UserString key="SettingType" value="Slider"/>
@ -139,11 +125,10 @@
<UserString key="SettingName" value="master volume"/> <UserString key="SettingName" value="master volume"/>
<UserString key="SettingValueType" value="Float"/> <UserString key="SettingValueType" value="Float"/>
</Widget> </Widget>
<Widget type="TextBox" skin="NormalText" position="4 54 352 18" align="Left Top"> <Widget type="TextBox" skin="NormalText" position="4 54 352 18" align="Left Top">
<Property key="Caption" value="#{sVoice}"/> <Property key="Caption" value="#{sVoice}"/>
</Widget> </Widget>
<Widget type="MWScrollBar" skin="MW_HScroll" position="4 78 352 18" align="Left Top" name="VoiceVolume"> <Widget type="MWScrollBar" skin="MW_HScroll" position="4 78 352 18" align="HStretch Top" name="VoiceVolume">
<Property key="Range" value="10000"/> <Property key="Range" value="10000"/>
<Property key="Page" value="300"/> <Property key="Page" value="300"/>
<UserString key="SettingType" value="Slider"/> <UserString key="SettingType" value="Slider"/>
@ -151,11 +136,10 @@
<UserString key="SettingName" value="voice volume"/> <UserString key="SettingName" value="voice volume"/>
<UserString key="SettingValueType" value="Float"/> <UserString key="SettingValueType" value="Float"/>
</Widget> </Widget>
<Widget type="TextBox" skin="NormalText" position="4 104 352 18" align="Left Top"> <Widget type="TextBox" skin="NormalText" position="4 104 352 18" align="Left Top">
<Property key="Caption" value="#{sEffects}"/> <Property key="Caption" value="#{sEffects}"/>
</Widget> </Widget>
<Widget type="MWScrollBar" skin="MW_HScroll" position="4 128 352 18" align="Left Top" name="EffectsVolume"> <Widget type="MWScrollBar" skin="MW_HScroll" position="4 128 352 18" align="HStretch Top" name="EffectsVolume">
<Property key="Range" value="10000"/> <Property key="Range" value="10000"/>
<Property key="Page" value="300"/> <Property key="Page" value="300"/>
<UserString key="SettingType" value="Slider"/> <UserString key="SettingType" value="Slider"/>
@ -163,11 +147,10 @@
<UserString key="SettingName" value="sfx volume"/> <UserString key="SettingName" value="sfx volume"/>
<UserString key="SettingValueType" value="Float"/> <UserString key="SettingValueType" value="Float"/>
</Widget> </Widget>
<Widget type="TextBox" skin="NormalText" position="4 154 352 18" align="Left Top"> <Widget type="TextBox" skin="NormalText" position="4 154 352 18" align="Left Top">
<Property key="Caption" value="#{sFootsteps}"/> <Property key="Caption" value="#{sFootsteps}"/>
</Widget> </Widget>
<Widget type="MWScrollBar" skin="MW_HScroll" position="4 178 352 18" align="Left Top" name="FootstepsVolume"> <Widget type="MWScrollBar" skin="MW_HScroll" position="4 178 352 18" align="HStretch Top" name="FootstepsVolume">
<Property key="Range" value="10000"/> <Property key="Range" value="10000"/>
<Property key="Page" value="300"/> <Property key="Page" value="300"/>
<UserString key="SettingType" value="Slider"/> <UserString key="SettingType" value="Slider"/>
@ -175,11 +158,10 @@
<UserString key="SettingName" value="footsteps volume"/> <UserString key="SettingName" value="footsteps volume"/>
<UserString key="SettingValueType" value="Float"/> <UserString key="SettingValueType" value="Float"/>
</Widget> </Widget>
<Widget type="TextBox" skin="NormalText" position="4 204 352 18" align="Left Top"> <Widget type="TextBox" skin="NormalText" position="4 204 352 18" align="Left Top">
<Property key="Caption" value="#{sMusic}"/> <Property key="Caption" value="#{sMusic}"/>
</Widget> </Widget>
<Widget type="MWScrollBar" skin="MW_HScroll" position="4 228 352 18" align="Left Top" name="MusicVolume"> <Widget type="MWScrollBar" skin="MW_HScroll" position="4 228 352 18" align="HStretch Top" name="MusicVolume">
<Property key="Range" value="10000"/> <Property key="Range" value="10000"/>
<Property key="Page" value="300"/> <Property key="Page" value="300"/>
<UserString key="SettingType" value="Slider"/> <UserString key="SettingType" value="Slider"/>
@ -188,32 +170,30 @@
<UserString key="SettingValueType" value="Float"/> <UserString key="SettingValueType" value="Float"/>
</Widget> </Widget>
</Widget> </Widget>
<Widget type="TabItem" skin="" position="4 28 360 312"> <Widget type="TabItem" skin="" position="4 32 360 308">
<Property key="Caption" value=" #{sControls} "/> <Property key="Caption" value=" #{sControls} "/>
<Widget type="Widget" skin="MW_Box" position="4 4 352 154" align="Stretch">
<Widget type="Widget" skin="MW_Box" position="4 4 352 154"> <Widget type="ScrollView" skin="MW_ScrollView" position="4 4 344 146" align="Stretch" name="ControlsBox">
<Widget type="ScrollView" skin="MW_ScrollView" name="ControlsBox" position="4 4 344 146"/> <Property key="CanvasAlign" value="Left Top"/>
</Widget>
</Widget> </Widget>
<Widget type="AutoSizedButton" skin="MW_Button" position="4 162 137 24" align="Left Bottom" name="ResetControlsButton">
<Widget type="AutoSizedButton" skin="MW_Button" name="ResetControlsButton" position="4 162 100 24">
<Property key="Caption" value="#{sControlsMenu1}"/> <Property key="Caption" value="#{sControlsMenu1}"/>
</Widget> </Widget>
<Widget type="HBox" skin="" position="4 192 300 24" align="Left Bottom">
<Widget type="HBox" position="4 192 300 24"> <Widget type="AutoSizedButton" skin="MW_Button" position="0 0 24 24" align="Left Bottom" name="InvertYButton">
<Widget type="AutoSizedButton" skin="MW_Button" name="InvertYButton">
<UserString key="SettingCategory" value="Input"/> <UserString key="SettingCategory" value="Input"/>
<UserString key="SettingName" value="invert y axis"/> <UserString key="SettingName" value="invert y axis"/>
<UserString key="SettingType" value="CheckButton"/> <UserString key="SettingType" value="CheckButton"/>
</Widget> </Widget>
<Widget type="AutoSizedTextBox" skin="SandText"> <Widget type="AutoSizedTextBox" skin="SandText" position="28 4 78 16" align="Left Bottom">
<Property key="Caption" value="#{sMouseFlip}"/> <Property key="Caption" value="#{sMouseFlip}"/>
</Widget> </Widget>
</Widget> </Widget>
<Widget type="TextBox" skin="NormalText" position="4 228 336 18" align="Left Bottom">
<Widget type="TextBox" skin="NormalText" position="4 228 336 18" align="Left Top">
<Property key="Caption" value="Camera sensitivity"/> <Property key="Caption" value="Camera sensitivity"/>
</Widget> </Widget>
<Widget type="MWScrollBar" skin="MW_HScroll" position="4 252 336 18" align="Left Top" name="CameraSensitivitySlider"> <Widget type="MWScrollBar" skin="MW_HScroll" position="4 252 336 18" align="HStretch Bottom" name="CameraSensitivitySlider">
<Property key="Range" value="10000"/> <Property key="Range" value="10000"/>
<Property key="Page" value="300"/> <Property key="Page" value="300"/>
<UserString key="SettingType" value="Slider"/> <UserString key="SettingType" value="Slider"/>
@ -223,78 +203,68 @@
<UserString key="SettingMin" value="0.2"/> <UserString key="SettingMin" value="0.2"/>
<UserString key="SettingMax" value="5.0"/> <UserString key="SettingMax" value="5.0"/>
</Widget> </Widget>
<Widget type="TextBox" skin="SandText" position="4 276 336 18" align="Left Top"> <Widget type="TextBox" skin="SandText" position="4 276 336 18" align="Left Bottom">
<Property key="Caption" value="#{sLow}"/> <Property key="Caption" value="#{sLow}"/>
<Property key="TextAlign" value="Left"/> <Property key="TextAlign" value="Left"/>
</Widget> </Widget>
<Widget type="TextBox" skin="SandText" position="4 276 336 18" align="Left Top"> <Widget type="TextBox" skin="SandText" position="4 276 336 18" align="Right Bottom">
<Property key="Caption" value="#{sHigh}"/> <Property key="Caption" value="#{sHigh}"/>
<Property key="TextAlign" value="Right"/> <Property key="TextAlign" value="Right"/>
</Widget> </Widget>
</Widget> </Widget>
<Widget type="TabItem" skin="" position="4 28 360 312"> <Widget type="TabItem" skin="" position="4 32 360 308">
<Property key="Caption" value=" #{sVideo} "/> <Property key="Caption" value=" #{sVideo} "/>
<Widget type="TabControl" skin="TabControlInner" position="4 4 352 296" align="Stretch">
<Widget type="TabControl" skin="TabControlInner" position="4 4 352 296" align="Left Top">
<Property key="ButtonAutoWidth" value="true"/> <Property key="ButtonAutoWidth" value="true"/>
<Widget type="TabItem" skin="" position="0 28 352 268" align="Stretch">
<Widget type="TabItem" skin="" position="4 28 344 272">
<Property key="Caption" value=" Video "/> <Property key="Caption" value=" Video "/>
<Widget type="ListBox" skin="MW_List" position="0 4 170 170" align="Left Top" name="ResolutionList"/> <Widget type="ListBox" skin="MW_List" position="0 4 170 170" align="Left Top" name="ResolutionList"/>
<Widget type="HBox" skin="" position="182 4 300 24">
<Widget type="HBox" position="182 4 300 24"> <Widget type="AutoSizedButton" skin="MW_Button" position="0 0 24 24" align="Left Top" name="FullscreenButton">
<Widget type="AutoSizedButton" skin="MW_Button" align="Left Top" name="FullscreenButton">
<UserString key="SettingCategory" value="Video"/> <UserString key="SettingCategory" value="Video"/>
<UserString key="SettingName" value="fullscreen"/> <UserString key="SettingName" value="fullscreen"/>
<UserString key="SettingType" value="CheckButton"/> <UserString key="SettingType" value="CheckButton"/>
</Widget> </Widget>
<Widget type="AutoSizedTextBox" skin="SandText" align="Left Top"> <Widget type="AutoSizedTextBox" skin="SandText" position="28 4 70 16" align="Left Top">
<Property key="Caption" value="Fullscreen"/> <Property key="Caption" value="Fullscreen"/>
</Widget> </Widget>
</Widget> </Widget>
<Widget type="HBox" skin="" position="182 34 300 24">
<Widget type="HBox" position="182 34 300 24"> <Widget type="AutoSizedButton" skin="MW_Button" position="0 0 24 24" align="Left Top" name="VSyncButton">
<Widget type="AutoSizedButton" skin="MW_Button" align="Left Top" name="VSyncButton">
<UserString key="SettingCategory" value="Video"/> <UserString key="SettingCategory" value="Video"/>
<UserString key="SettingName" value="vsync"/> <UserString key="SettingName" value="vsync"/>
<UserString key="SettingType" value="CheckButton"/> <UserString key="SettingType" value="CheckButton"/>
</Widget> </Widget>
<Widget type="AutoSizedTextBox" skin="SandText" align="Left Top"> <Widget type="AutoSizedTextBox" skin="SandText" position="28 4 48 16" align="Left Top">
<Property key="Caption" value="VSync"/> <Property key="Caption" value="VSync"/>
</Widget> </Widget>
</Widget> </Widget>
<Widget type="HBox" skin="" position="182 64 300 24">
<Widget type="HBox" position="182 64 300 24"> <Widget type="AutoSizedButton" skin="MW_Button" position="0 0 24 24" align="Left Top" name="FPSButton"/>
<Widget type="AutoSizedButton" skin="MW_Button" align="Left Top" name="FPSButton"/> <Widget type="AutoSizedTextBox" skin="SandText" position="28 4 32 16" align="Left Top">
<Widget type="AutoSizedTextBox" skin="SandText" align="Left Top">
<Property key="Caption" value="FPS"/> <Property key="Caption" value="FPS"/>
</Widget> </Widget>
</Widget> </Widget>
<Widget type="HBox" skin="" position="182 94 300 24">
<Widget type="HBox" position="182 94 300 24"> <Widget type="AutoSizedButton" skin="MW_Button" position="0 0 24 24" align="Left Top" name="ShadersButton">
<Widget type="AutoSizedButton" skin="MW_Button" align="Left Top" name="ShadersButton">
<UserString key="SettingCategory" value="Objects"/> <UserString key="SettingCategory" value="Objects"/>
<UserString key="SettingName" value="shaders"/> <UserString key="SettingName" value="shaders"/>
<UserString key="SettingType" value="CheckButton"/> <UserString key="SettingType" value="CheckButton"/>
</Widget> </Widget>
<Widget type="AutoSizedTextBox" skin="SandText" align="Left Top"> <Widget type="AutoSizedTextBox" skin="SandText" position="28 4 108 16" align="Left Top">
<Property key="Caption" value="Object shaders"/> <Property key="Caption" value="Object shaders"/>
</Widget> </Widget>
</Widget> </Widget>
<Widget type="HBox" skin="" position="182 124 300 24">
<Widget type="HBox" position="182 124 300 24"> <Widget type="AutoSizedButton" skin="MW_Button" position="0 0 24 24" align="Left Top" name="ShaderModeButton"/>
<Widget type="AutoSizedButton" skin="MW_Button" align="Left Top" name="ShaderModeButton"/> <Widget type="AutoSizedTextBox" skin="SandText" position="28 4 93 16" align="Left Top">
<Widget type="AutoSizedTextBox" skin="SandText" align="Left Top">
<Property key="Caption" value="Shader mode"/> <Property key="Caption" value="Shader mode"/>
</Widget> </Widget>
</Widget> </Widget>
<Widget type="TextBox" skin="NormalText" position="0 198 329 18" align="Left Top" name="FovText"> <Widget type="TextBox" skin="NormalText" position="0 198 329 18" align="Left Top" name="FovText">
<Property key="Caption" value="Field of View"/> <Property key="Caption" value="Field of View"/>
</Widget> </Widget>
<Widget type="MWScrollBar" skin="MW_HScroll" position="0 222 329 18" align="Left Top" name="FOVSlider"> <Widget type="MWScrollBar" skin="MW_HScroll" position="0 222 329 18" align="HStretch Top" name="FOVSlider">
<Property key="Range" value="10000"/> <Property key="Range" value="10000"/>
<Property key="Page" value="300"/> <Property key="Page" value="300"/>
<UserString key="SettingType" value="Slider"/> <UserString key="SettingType" value="Slider"/>
@ -308,15 +278,13 @@
<Property key="Caption" value="#{sLow}"/> <Property key="Caption" value="#{sLow}"/>
<Property key="TextAlign" value="Left"/> <Property key="TextAlign" value="Left"/>
</Widget> </Widget>
<Widget type="TextBox" skin="SandText" position="0 246 329 18" align="Left Top"> <Widget type="TextBox" skin="SandText" position="0 246 329 18" align="Right Top">
<Property key="Caption" value="#{sHigh}"/> <Property key="Caption" value="#{sHigh}"/>
<Property key="TextAlign" value="Right"/> <Property key="TextAlign" value="Right"/>
</Widget> </Widget>
</Widget> </Widget>
<Widget type="TabItem" skin="" position="0 28 352 268">
<Widget type="TabItem" skin="" position="4 28 344 272">
<Property key="Caption" value=" Detail "/> <Property key="Caption" value=" Detail "/>
<Widget type="TextBox" skin="NormalText" position="4 4 300 24" align="Left Top"> <Widget type="TextBox" skin="NormalText" position="4 4 300 24" align="Left Top">
<Property key="Caption" value="Texture filtering"/> <Property key="Caption" value="Texture filtering"/>
</Widget> </Widget>
@ -325,7 +293,6 @@
<Property key="AddItem" value="Trilinear"/> <Property key="AddItem" value="Trilinear"/>
<Property key="AddItem" value="Anisotropic"/> <Property key="AddItem" value="Anisotropic"/>
</Widget> </Widget>
<Widget type="Widget" skin="" position="184 4 300 50" align="Left Top" name="AnisotropyBox"> <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"> <Widget type="TextBox" skin="SandText" position="0 0 300 24" align="Left Top" name="AnisotropyLabel">
<Property key="Caption" value="Anisotropy"/> <Property key="Caption" value="Anisotropy"/>
@ -337,7 +304,6 @@
<UserString key="SettingName" value="anisotropy"/> <UserString key="SettingName" value="anisotropy"/>
</Widget> </Widget>
</Widget> </Widget>
<Widget type="TextBox" skin="NormalText" position="4 130 322 18" align="Left Top"> <Widget type="TextBox" skin="NormalText" position="4 130 322 18" align="Left Top">
<Property key="Caption" value="#{sRender_Distance}"/> <Property key="Caption" value="#{sRender_Distance}"/>
</Widget> </Widget>
@ -360,166 +326,144 @@
<Property key="TextAlign" value="Right"/> <Property key="TextAlign" value="Right"/>
</Widget> </Widget>
</Widget> </Widget>
<Widget type="TabItem" skin="" position="0 28 352 268">
<Widget type="TabItem" skin="" position="4 28 344 272">
<Property key="Caption" value=" Water "/> <Property key="Caption" value=" Water "/>
<Widget type="HBox" skin="" position="4 4 350 24">
<Widget type="AutoSizedButton" skin="MW_Button" position="0 0 24 24" align="Left Top" name="WaterShaderButton">
<Widget type="HBox" position="4 4 350 24">
<Widget type="AutoSizedButton" skin="MW_Button" position="4 4 34 24" align="Left Top" name="WaterShaderButton">
<UserString key="SettingCategory" value="Water"/> <UserString key="SettingCategory" value="Water"/>
<UserString key="SettingName" value="shader"/> <UserString key="SettingName" value="shader"/>
<UserString key="SettingType" value="CheckButton"/> <UserString key="SettingType" value="CheckButton"/>
</Widget> </Widget>
<Widget type="AutoSizedTextBox" skin="SandText" position="42 4 120 24" align="Left Top"> <Widget type="AutoSizedTextBox" skin="SandText" position="28 4 75 16" align="Left Top">
<Property key="Caption" value="Reflection"/> <Property key="Caption" value="Reflection"/>
</Widget> </Widget>
</Widget> </Widget>
<Widget type="Widget" skin="" position="24 32 300 230"> <Widget type="Widget" skin="" position="24 32 300 230">
<Widget type="HBox" position="4 0 350 24"> <Widget type="HBox" skin="" position="4 0 350 24">
<Widget type="AutoSizedButton" skin="MW_Button" align="Left Top" name="ReflectActorsButton"> <Widget type="AutoSizedButton" skin="MW_Button" position="0 0 24 24" align="Left Top" name="ReflectActorsButton">
<UserString key="SettingCategory" value="Water"/> <UserString key="SettingCategory" value="Water"/>
<UserString key="SettingName" value="reflect actors"/> <UserString key="SettingName" value="reflect actors"/>
<UserString key="SettingType" value="CheckButton"/> <UserString key="SettingType" value="CheckButton"/>
</Widget> </Widget>
<Widget type="AutoSizedTextBox" skin="SandText" align="Left Top"> <Widget type="AutoSizedTextBox" skin="SandText" position="28 4 104 16" align="Left Top">
<Property key="Caption" value="Reflect actors"/> <Property key="Caption" value="Reflect actors"/>
</Widget> </Widget>
</Widget> </Widget>
<Widget type="HBox" skin="" position="4 28 350 24">
<Widget type="HBox" position="4 28 350 24"> <Widget type="AutoSizedButton" skin="MW_Button" position="0 0 24 24" align="Left Top" name="ReflectObjectsButton">
<Widget type="AutoSizedButton" skin="MW_Button" align="Left Top" name="ReflectObjectsButton">
<UserString key="SettingCategory" value="Water"/> <UserString key="SettingCategory" value="Water"/>
<UserString key="SettingName" value="reflect statics"/> <UserString key="SettingName" value="reflect statics"/>
<UserString key="SettingType" value="CheckButton"/> <UserString key="SettingType" value="CheckButton"/>
</Widget> </Widget>
<Widget type="AutoSizedTextBox" skin="SandText" align="Left Top"> <Widget type="AutoSizedTextBox" skin="SandText" position="28 4 110 16" align="Left Top">
<Property key="Caption" value="Reflect objects"/> <Property key="Caption" value="Reflect objects"/>
</Widget> </Widget>
</Widget> </Widget>
<Widget type="HBox" skin="" position="4 56 350 24">
<Widget type="HBox" position="4 56 350 24"> <Widget type="AutoSizedButton" skin="MW_Button" position="0 0 24 24" align="Left Top" name="ReflectTerrainButton">
<Widget type="AutoSizedButton" skin="MW_Button" align="Left Top" name="ReflectTerrainButton">
<UserString key="SettingCategory" value="Water"/> <UserString key="SettingCategory" value="Water"/>
<UserString key="SettingName" value="reflect terrain"/> <UserString key="SettingName" value="reflect terrain"/>
<UserString key="SettingType" value="CheckButton"/> <UserString key="SettingType" value="CheckButton"/>
</Widget> </Widget>
<Widget type="AutoSizedTextBox" skin="SandText" align="Left Top"> <Widget type="AutoSizedTextBox" skin="SandText" position="28 4 109 16" align="Left Top">
<Property key="Caption" value="Reflect terrain"/> <Property key="Caption" value="Reflect terrain"/>
</Widget> </Widget>
</Widget> </Widget>
</Widget> </Widget>
<Widget type="HBox" skin="" position="4 135 350 24">
<Widget type="HBox" position="4 135 350 24"> <Widget type="AutoSizedButton" skin="MW_Button" position="0 0 24 24" align="Left Top" name="RefractionButton">
<Widget type="AutoSizedButton" skin="MW_Button" align="Left Top" name="RefractionButton">
<UserString key="SettingCategory" value="Water"/> <UserString key="SettingCategory" value="Water"/>
<UserString key="SettingName" value="refraction"/> <UserString key="SettingName" value="refraction"/>
<UserString key="SettingType" value="CheckButton"/> <UserString key="SettingType" value="CheckButton"/>
</Widget> </Widget>
<Widget type="AutoSizedTextBox" skin="SandText" align="Left Top"> <Widget type="AutoSizedTextBox" skin="SandText" position="28 4 79 16" align="Left Top">
<Property key="Caption" value="Refraction"/> <Property key="Caption" value="Refraction"/>
</Widget> </Widget>
</Widget> </Widget>
</Widget> </Widget>
<Widget type="TabItem" skin="" position="0 28 352 268">
<Widget type="TabItem" skin="" position="4 28 344 272">
<Property key="Caption" value=" Shadows "/> <Property key="Caption" value=" Shadows "/>
<Widget type="HBox" skin="" position="4 4 350 24">
<Widget type="HBox" position="4 4 350 24"> <Widget type="AutoSizedButton" skin="MW_Button" position="0 0 24 24" align="Left Top" name="ShadowsEnabledButton">
<Widget type="AutoSizedButton" skin="MW_Button" align="Left Top" name="ShadowsEnabledButton">
<UserString key="SettingCategory" value="Shadows"/> <UserString key="SettingCategory" value="Shadows"/>
<UserString key="SettingName" value="enabled"/> <UserString key="SettingName" value="enabled"/>
<UserString key="SettingType" value="CheckButton"/> <UserString key="SettingType" value="CheckButton"/>
</Widget> </Widget>
<Widget type="AutoSizedTextBox" skin="SandText" align="Left Top"> <Widget type="AutoSizedTextBox" skin="SandText" position="28 4 65 16" align="Left Top">
<Property key="Caption" value="Shadows"/> <Property key="Caption" value="Shadows"/>
</Widget> </Widget>
</Widget> </Widget>
<Widget type="Widget" skin="" position="24 32 300 230"> <Widget type="Widget" skin="" position="24 32 300 230">
<Widget type="HBox" skin="" position="4 0 350 24">
<Widget type="HBox" position="4 0 350 24"> <Widget type="AutoSizedButton" skin="MW_Button" position="0 0 24 24" align="Left Top" name="ShadowsLargeDistance">
<Widget type="AutoSizedButton" skin="MW_Button" align="Left Top" name="ShadowsLargeDistance">
<UserString key="SettingCategory" value="Shadows"/> <UserString key="SettingCategory" value="Shadows"/>
<UserString key="SettingName" value="split"/> <UserString key="SettingName" value="split"/>
<UserString key="SettingType" value="CheckButton"/> <UserString key="SettingType" value="CheckButton"/>
</Widget> </Widget>
<Widget type="AutoSizedTextBox" skin="SandText" align="Left Top"> <Widget type="AutoSizedTextBox" skin="SandText" position="28 4 182 16" align="Left Top">
<Property key="Caption" value="Large distance (PSSM3)"/> <Property key="Caption" value="Large distance (PSSM3)"/>
</Widget> </Widget>
</Widget> </Widget>
<Widget type="HBox" skin="" position="4 28 350 24">
<Widget type="HBox" position="4 28 350 24"> <Widget type="AutoSizedButton" skin="MW_Button" position="0 0 24 24" align="Left Top" name="TerrainShadows">
<Widget type="AutoSizedButton" skin="MW_Button" align="Left Top" name="TerrainShadows">
<UserString key="SettingCategory" value="Shadows"/> <UserString key="SettingCategory" value="Shadows"/>
<UserString key="SettingName" value="terrain shadows"/> <UserString key="SettingName" value="terrain shadows"/>
<UserString key="SettingType" value="CheckButton"/> <UserString key="SettingType" value="CheckButton"/>
</Widget> </Widget>
<Widget type="AutoSizedTextBox" skin="SandText" align="Left Top"> <Widget type="AutoSizedTextBox" skin="SandText" position="28 4 122 16" align="Left Top">
<Property key="Caption" value="Terrain shadows"/> <Property key="Caption" value="Terrain shadows"/>
</Widget> </Widget>
</Widget> </Widget>
<Widget type="HBox" skin="" position="4 56 350 24">
<Widget type="AutoSizedButton" skin="MW_Button" position="0 0 24 24" align="Left Top" name="ActorShadows">
<Widget type="HBox" position="4 56 350 24">
<Widget type="AutoSizedButton" skin="MW_Button" align="Left Top" name="ActorShadows">
<UserString key="SettingCategory" value="Shadows"/> <UserString key="SettingCategory" value="Shadows"/>
<UserString key="SettingName" value="actor shadows"/> <UserString key="SettingName" value="actor shadows"/>
<UserString key="SettingType" value="CheckButton"/> <UserString key="SettingType" value="CheckButton"/>
</Widget> </Widget>
<Widget type="AutoSizedTextBox" skin="SandText" align="Left Top"> <Widget type="AutoSizedTextBox" skin="SandText" position="28 4 108 16" align="Left Top">
<Property key="Caption" value="Actor shadows"/> <Property key="Caption" value="Actor shadows"/>
</Widget> </Widget>
</Widget> </Widget>
<Widget type="HBox" skin="" position="4 84 350 24">
<Widget type="HBox" position="4 84 350 24"> <Widget type="AutoSizedButton" skin="MW_Button" position="0 0 24 24" align="Left Top" name="StaticsShadows">
<Widget type="AutoSizedButton" skin="MW_Button" align="Left Top" name="StaticsShadows">
<UserString key="SettingCategory" value="Shadows"/> <UserString key="SettingCategory" value="Shadows"/>
<UserString key="SettingName" value="statics shadows"/> <UserString key="SettingName" value="statics shadows"/>
<UserString key="SettingType" value="CheckButton"/> <UserString key="SettingType" value="CheckButton"/>
</Widget> </Widget>
<Widget type="AutoSizedTextBox" skin="SandText" align="Left Top"> <Widget type="AutoSizedTextBox" skin="SandText" position="28 4 111 16" align="Left Top">
<Property key="Caption" value="World shadows"/> <Property key="Caption" value="World shadows"/>
</Widget> </Widget>
</Widget> </Widget>
<Widget type="HBox" skin="" position="4 112 350 24">
<Widget type="HBox" position="4 112 350 24"> <Widget type="AutoSizedButton" skin="MW_Button" position="0 0 24 24" align="Left Top" name="MiscShadows">
<Widget type="AutoSizedButton" skin="MW_Button" align="Left Top" name="MiscShadows">
<UserString key="SettingCategory" value="Shadows"/> <UserString key="SettingCategory" value="Shadows"/>
<UserString key="SettingName" value="misc shadows"/> <UserString key="SettingName" value="misc shadows"/>
<UserString key="SettingType" value="CheckButton"/> <UserString key="SettingType" value="CheckButton"/>
</Widget> </Widget>
<Widget type="AutoSizedTextBox" skin="SandText" align="Left Top"> <Widget type="AutoSizedTextBox" skin="SandText" position="28 4 102 16" align="Left Top">
<Property key="Caption" value="Misc shadows"/> <Property key="Caption" value="Misc shadows"/>
</Widget> </Widget>
</Widget> </Widget>
<Widget type="HBox" skin="" position="4 140 350 24">
<Widget type="HBox" position="4 140 350 24"> <Widget type="ComboBox" skin="MW_ComboBox" position="0 0 60 24" align="Left Top" name="ShadowsTextureSize">
<Widget type="ComboBox" skin="MW_ComboBox" align="Left Top" name="ShadowsTextureSize" position="0 0 60 24">
<Property key="AddItem" value="512"/> <Property key="AddItem" value="512"/>
<Property key="AddItem" value="1024"/> <Property key="AddItem" value="1024"/>
<Property key="AddItem" value="2048"/> <Property key="AddItem" value="2048"/>
<Property key="AddItem" value="4096"/> <Property key="AddItem" value="4096"/>
</Widget> </Widget>
<Widget type="AutoSizedTextBox" skin="SandText" align="Left Top"> <Widget type="AutoSizedTextBox" skin="SandText" position="64 4 90 16" align="Left Top">
<Property key="Caption" value="Texture size"/> <Property key="Caption" value="Texture size"/>
</Widget> </Widget>
</Widget> </Widget>
</Widget> </Widget>
</Widget> </Widget>
</Widget> </Widget>
</Widget> </Widget>
</Widget> </Widget>
<Widget type="AutoSizedButton" skin="MW_Button" position="321 355 56 24" align="Right Bottom" name="OkButton">
<Widget type="AutoSizedButton" skin="MW_Button" position="317 355 60 24" name="OkButton" align="Right Bottom">
<Property key="ExpandDirection" value="Left"/> <Property key="ExpandDirection" value="Left"/>
<Property key="Caption" value="#{sOK}"/> <Property key="Caption" value="#{sOK}"/>
</Widget> </Widget>
</Widget> </Widget>
<CodeGeneratorSettings/>
</MyGUI> </MyGUI>

Loading…
Cancel
Save