Varios standardizations, fixes and optimizations

actorid
Lars Söderberg 12 years ago
parent 73fb682718
commit 5b060ffe8d

@ -7,7 +7,7 @@
<Widget type="Widget" skin="MW_Box" position="14 14 220 192" align="Stretch" name="Client"/>
<Widget type="EditBox" skin="MW_TextBoxEdit" position="14 14 220 192" name="TextEdit" align="Left Top STRETCH">
<Widget type="EditBox" skin="MW_TextBoxEdit" position="14 14 220 192" name="TextEdit" align="Left Top Stretch">
<Property key="MultiLine" value="1" />
<Property key="VisibleVScroll" value="1" />
<Property key="WordWrap" value="1" />

@ -2,6 +2,7 @@
<MyGUI type="Layout">
<Widget type="Window" skin="MW_Window" layer="Windows" position="0 0 600 300" name="_Main">
<Property key="MinSize" value="245 145"/>
<!-- Items -->
<Widget type="ItemView" skin="MW_ItemView" position="5 5 575 225" name="ItemView" align="Left Top Stretch">

@ -2,17 +2,17 @@
<MyGUI type="Layout">
<Widget type="Window" skin="MW_Window" position="0 0 400 400" layer="Console" name="_Main">
<Property key="Caption" value="#{sConsoleTitle}"/>
<Property key="MinSize" value="200 100"/>
<Property key="MinSize" value="405 245"/>
<Property key="MaxSize" value="2000 2000"/>
<Property key="Visible" value="false"/>
<!-- Log window -->
<Widget type="EditBox" skin="MW_ConsoleLog" position="5 5 380 330" align="Stretch" name="list_History">
<Widget type="EditBox" skin="MW_ConsoleLog" position="5 5 380 328" align="Stretch" name="list_History">
<Property key="MultiLine" value="1"/>
</Widget>
<!-- Command line -->
<Widget type="EditBox" skin="MW_ConsoleCommand" position="0 335 382 28" align="HStretch Bottom" name="edit_Command"/>
<Widget type="EditBox" skin="MW_ConsoleCommand" position="2 335 380 28" align="HStretch Bottom" name="edit_Command"/>
</Widget>
</MyGUI>

@ -5,21 +5,19 @@
<Property key="FontName" value="MonoFont" />
<Property key="TextAlign" value="Left Top" />
<Property key="TextColour" value="1 1 1" />
<!--Property key="Pointer" value = "beam" /-->
<BasisSkin type="EditText" offset="0 0 10 10" align="Stretch"/>
</Skin>
<!-- The edit control used for entering commands -->
<Skin name = "MW_ConsoleCommand" size = "29 26">
<Child type="TextBox" skin="MW_EditClient" offset = "2 1 23 22" align = "Stretch" name = "Client"/>
<Skin name="MW_ConsoleCommand" size="29 28">
<Child type="TextBox" skin="MW_EditClient" offset="2 1 23 22" align="Bottom Stretch" name="Client"/>
<Child type="Widget" skin="MW_BarFrame" offset="0 0 29 26" align="Stretch"/>
<Child type="Widget" skin="MW_Box" offset="0 0 29 26" align="Bottom Stretch"/>
</Skin>
<Skin name="MW_ConsoleLog" size="0 0 50 50">
<Property key="WordWrap" value="true" />
<Child type="TextBox" skin="MW_LogClient" offset="0 0 35 10" align="Stretch" name="Client"/>
<!--Child type="VScroll" skin="VScroll" offset = "35 0 15 50" align = "Right VStretch" name = "VScroll"/-->
</Skin>
<Skin name="MW_EditClient" size="10 10">

@ -2,6 +2,7 @@
<MyGUI type="Layout">
<Widget type="Window" skin="MW_Window" layer="Windows" position="0 0 600 300" name="_Main">
<Property key="MinSize" value="245 145"/>
<!-- Items -->
<Widget type="ItemView" skin="MW_ItemView" position="5 5 575 225" name="ItemView" align="Left Top Stretch">

@ -2,6 +2,7 @@
<MyGUI type="Layout">
<Widget type="Window" skin="MW_Window" layer="Windows" position="0 0 588 433" name="_Main">
<Property key="MinSize" value="380 230"/>
<Widget type="Widget" skin="MW_Box" position="8 8 415 381" align="Stretch" name="Client"/>

@ -18,14 +18,6 @@
</BasisSkin>
</Skin>
<Skin name="MW_BarFrame" size="64 12">
<!-- Edges -->
<Child type="Widget" skin="HUD_Bar_Top" offset="0 0 64 2" align="HStretch Top"/>
<Child type="Widget" skin="HUD_Bar_Bottom" offset="0 10 64 2" align="HStretch Bottom"/>
<Child type="Widget" skin="HUD_Bar_Side" offset="0 2 2 8" align="VStretch Left"/>
<Child type="Widget" skin="HUD_Bar_Side" offset="62 2 2 8" align="VStretch Right"/>
</Skin>
<!-- Progress bar track, various colors -->
<Skin name="MW_BarTrack_Red" size="4 8" texture="smallbars.png" >
<BasisSkin type="MainSkin" offset="0 0 4 8" align="Stretch">
@ -54,7 +46,7 @@
<Property key="TrackSkin" value="MW_BarTrack_Red" />
<Property key="TrackWidth" value="1" />
<Child type="Widget" skin="MW_BarFrame" offset="0 0 64 12" align="Stretch"/>
<Child type="Widget" skin="MW_Box" offset="0 0 64 12" align="Stretch"/>
<Child type="Widget" skin="BlackBG" offset="2 2 60 8" align="Stretch" name="Client"/>
</Skin>
@ -62,7 +54,7 @@
<Property key="TrackSkin" value="MW_BarTrack_Green" />
<Property key="TrackWidth" value="1" />
<Child type="Widget" skin="MW_BarFrame" offset="0 0 64 12" align="Stretch"/>
<Child type="Widget" skin="MW_Box" offset="0 0 64 12" align="Stretch"/>
<Child type="Widget" skin="BlackBG" offset="2 2 60 8" align="Stretch" name="Client"/>
</Skin>
@ -70,7 +62,7 @@
<Property key="TrackSkin" value="MW_BarTrack_Blue" />
<Property key="TrackWidth" value="1" />
<Child type="Widget" skin="MW_BarFrame" offset="0 0 64 12" align="Stretch"/>
<Child type="Widget" skin="MW_Box" offset="0 0 64 12" align="Stretch"/>
<Child type="Widget" skin="BlackBG" offset="2 2 60 8" align="Stretch" name="Client"/>
</Skin>
@ -78,7 +70,7 @@
<Property key="TrackSkin" value="MW_BarTrack_Yellow" />
<Property key="TrackWidth" value="1" />
<Child type="Widget" skin="MW_BarFrame" offset="0 0 64 12" align="Stretch"/>
<Child type="Widget" skin="MW_Box" offset="0 0 64 12" align="Stretch"/>
<Child type="Widget" skin="BlackBG" offset="2 2 60 8" align="Stretch" name="Client"/>
</Skin>

@ -2,7 +2,7 @@
<MyGUI type="Layout">
<Widget type="Window" skin="MW_Dialog" layer="Windows" position="0 0 500 400" name="_Main">
<Widget type="EditBox" skin="MW_TextEditClient" position="10 10 490 20" align="Left Top STRETCH" name="message">
<Widget type="EditBox" skin="MW_TextEditClient" position="10 10 490 20" align="Left Top Stretch" name="message">
<Property key="FontName" value="Default" />
<Property key="TextAlign" value="Center" />
<Property key="TextColour" value="0.75 0.6 0.35" />

@ -2,6 +2,7 @@
<MyGUI type="Layout">
<Widget type="ExposedWindow" skin="MW_Window_Pinnable" layer="Windows" position="0 0 600 300" name="_Main">
<Property key="MinSize" value="470 235"/>
<Widget type="Widget" skin="" position="0 0 224 223" align="Left Top" name="LeftPane">

@ -2,6 +2,7 @@
<MyGUI type="Layout">
<Widget type="ExposedWindow" skin="MW_Window_Pinnable" layer="Windows" position="0 0 300 300" name="_Main">
<Property key="MinSize" value="230 180"/>
<!-- Local map -->
<Widget type="ScrollView" skin="MW_MapView" position="0 0 284 264" align="Stretch" name="LocalMap">

@ -5,7 +5,7 @@
<Widget type="TextBox" skin="TextBox" position="4 4 4 4" name="message" />
</Widget-->
<Widget type="Window" skin="MW_Dialog" layer="Notification" position="0 0 0 0" name="_Main">
<Widget type="EditBox" skin="MW_TextEditClient" position="5 -5 0 0" name="message" align="Left Top STRETCH">
<Widget type="EditBox" skin="MW_TextEditClient" position="5 -5 0 0" name="message" align="Left Top Stretch">
<Property key="FontName" value="Default" />
<Property key="TextAlign" value="Center" />
<Property key="TextColour" value="0.75 0.6 0.35" />

@ -250,7 +250,7 @@
<Resource type="ResourceLayout" name="TabControl" version="3.2.0">
<Widget type="Widget" skin="" position="5 5 89 60" name="Root">
<UserString key="ButtonSkin" value="MW_Button"/>
<Widget type="Widget" skin="MW_Box" position="0 24 89 36" align="Left Top Stretch">
<Widget type="Widget" skin="MW_Box" position="0 28 89 32" align="Left Top Stretch">
<Widget type="Widget" skin="" position="4 4 81 28" align="Left Top Stretch" name="TabItem"/>
</Widget>
<Widget type="Widget" skin="" position="0 0 89 23" align="HStretch Top" name="HeaderPlace">
@ -260,6 +260,18 @@
</Widget>
</Resource>
<Resource type="ResourceLayout" name="TabControlInner" version="3.2.0">
<Widget type="Widget" skin="" position="0 5 89 60" name="Root">
<UserString key="ButtonSkin" value="MW_Button"/>
<Widget type="Widget" skin="" position="0 28 89 32" align="Left Top Stretch" name="TabItem"/>
<Widget type="Widget" skin="" position="0 0 89 23" align="HStretch Top" name="HeaderPlace">
<Widget type="Widget" skin="" position="52 0 37 23" name="Controls">
</Widget>
</Widget>
</Widget>
</Resource>
<Resource type="ResourceLayout" name="MW_StatNameValue" version="3.2.0">
<Widget type="Widget" skin="" position="0 0 200 18" name="Root">
<Property key="NeedMouse" value="true"/>

@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<MyGUI type="Layout">
<Widget type="Window" skin="MW_Window_NoCaption" layer="Windows" position="0 0 400 414" name="_Main">
<Widget type="Window" skin="MW_Window_NoCaption" layer="Windows" position="0 0 400 426" name="_Main">
<Property key="MinSize" value="400 414"/>
<Property key="MaxSize" value="400 414"/>
<Property key="MinSize" value="400 426"/>
<Property key="MaxSize" value="400 426"/>
<Widget type="TabControl" skin="TabControl" position="8 8 368 340" align="Left Top" name="SettingsTab">
<Property key="ButtonAutoWidth" value="true"/>
@ -112,8 +112,8 @@
<Widget type="TabItem" skin="" position="4 28 360 312">
<Property key="Caption" value=" #{sControls} "/>
<Widget type="Widget" skin="MW_Box" position="8 8 344 150">
<Widget type="ScrollView" skin="MW_ScrollView" name="ControlsBox" position="4 4 336 142"/>
<Widget type="Widget" skin="MW_Box" position="4 4 352 154">
<Widget type="ScrollView" skin="MW_ScrollView" name="ControlsBox" position="4 4 344 146"/>
</Widget>
<Widget type="AutoSizedButton" skin="MW_Button" name="ResetControlsButton" position="4 162 100 24">
@ -149,13 +149,13 @@
<Widget type="TabItem" skin="" position="4 28 360 312">
<Property key="Caption" value=" #{sVideo} "/>
<Widget type="TabControl" skin="TabControl" position="4 4 352 304" align="Left Top">
<Widget type="TabControl" skin="TabControlInner" position="4 4 352 296" align="Left Top">
<Property key="ButtonAutoWidth" value="true"/>
<Widget type="TabItem" skin="" position="4 28 344 272">
<Property key="Caption" value=" Video "/>
<Widget type="ListBox" skin="MW_List" position="4 4 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" position="182 4 300 24">
@ -193,18 +193,18 @@
</Widget>
</Widget>
<Widget type="TextBox" skin="NormalText" position="4 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"/>
</Widget>
<Widget type="MWScrollBar" skin="MW_HScroll" position="4 222 329 18" align="Left Top" name="FOVSlider">
<Widget type="MWScrollBar" skin="MW_HScroll" position="0 222 329 18" align="Left Top" name="FOVSlider">
<Property key="Range" value="10000"/>
<Property key="Page" value="300"/>
</Widget>
<Widget type="TextBox" skin="SandText" position="4 246 329 18" align="Left Top">
<Widget type="TextBox" skin="SandText" position="0 246 329 18" align="Left Top">
<Property key="Caption" value="#{sLow}"/>
<Property key="TextAlign" value="Left"/>
</Widget>
<Widget type="TextBox" skin="SandText" position="4 246 329 18" align="Left Top">
<Widget type="TextBox" skin="SandText" position="0 246 329 18" align="Left Top">
<Property key="Caption" value="#{sHigh}"/>
<Property key="TextAlign" value="Right"/>
</Widget>
@ -350,7 +350,7 @@
</Widget>
</Widget>
<Widget type="AutoSizedButton" skin="MW_Button" position="317 351 60 24" name="OkButton" align="Right Bottom">
<Widget type="AutoSizedButton" skin="MW_Button" position="317 355 60 24" name="OkButton" align="Right Bottom">
<Property key="ExpandDirection" value="Left"/>
<Property key="Caption" value="#{sOK}"/>
</Widget>

@ -2,11 +2,11 @@
<MyGUI type="Layout">
<Widget type="ExposedWindow" skin="MW_Window_Pinnable" layer="Windows" position="0 0 300 600" name="_Main">
<Property key="MinSize" value="260 250"/>
<!-- Effect box-->
<Widget type="Widget" skin="MW_Box" position="8 8 268 23" align="Left Top HStretch">
<Widget type="Widget" skin="" position="2 1 264 20" align="Left Top Stretch" name="EffectsBox">
</Widget>
<Widget type="Widget" skin="" position="2 1 264 20" align="Left Top Stretch" name="EffectsBox"/>
</Widget>
<!-- Spell list -->

@ -2,6 +2,7 @@
<MyGUI type="Layout">
<Widget type="ExposedWindow" skin="MW_Window_Pinnable" layer="Windows" position="0 0 500 342" name="_Main">
<Property key="MinSize" value="500 342"/>
<Widget type="Widget" skin="" name="LeftPane" position="0 0 220 342">

@ -35,7 +35,7 @@
<Skin name="SandTextC" size="16 16">
<Property key="FontName" value="Default" />
<Property key="TextAlign" value = "TOP HCENTER" />
<Property key="TextAlign" value="Top HCenter" />
<Property key="TextColour" value="0.75 0.6 0.35" />
<BasisSkin type="SimpleText" offset="0 0 16 16" align="Stretch"/>
</Skin>
@ -74,7 +74,7 @@
</Skin>
<Skin name="MW_StatNameC" size="200 18">
<Child type="TextBoxC" skin="SandText" offset = "0 0 200 18" align = "LEFT HSTRETCH" name = "StatName" />
<Child type="TextBoxC" skin="SandText" offset="0 0 200 18" align="Left HStretch" name="StatName" />
</Skin>
<Skin name="SandTextButtonC" size="16 16">
@ -138,7 +138,7 @@
</Skin>
<Skin name="MW_StatNameButtonC" size="200 18">
<Child type="Button" skin="SandTextButtonC" offset = "0 0 200 18" align = "LEFT HSTRETCH" name = "StatNameButton" />
<Child type="Button" skin="SandTextButtonC" offset="0 0 200 18" align="Left HStretch" name="StatNameButton" />
</Skin>

@ -3,6 +3,7 @@
<MyGUI type="Layout">
<Widget type="Window" skin="MW_Window" layer="Windows" position="0 0 600 360" name="_Main">
<Property key="Visible" value="false"/>
<Property key="MinSize" value="380 245"/>
<!-- Categories -->
<Widget type="HBox" position="8 8 566 24" align="Left Top HStretch" name="Categories">

@ -97,27 +97,27 @@
<BasisSkin type="MainSkin" offset="0 0 19 19">
<State name="normal" offset="0 0 19 19"/>
</BasisSkin>
<Child type="Widget" skin="PU_B" offset="2 17 15 2" align="HStretch VStretch"/>
<Child type="Widget" skin="PU_BR" offset="17 17 2 2" align="HStretch VStretch"/>
<Child type="Widget" skin="PU_R" offset="17 2 2 15" align="HStretch VStretch"/>
<Child type="Widget" skin="PU_TR" offset="17 0 2 2" align="HStretch VStretch"/>
<Child type="Widget" skin="PU_T" offset="2 0 15 2" align="HStretch VStretch"/>
<Child type="Widget" skin="PU_TL" offset="0 0 2 2" align="HStretch VStretch"/>
<Child type="Widget" skin="PU_L" offset="0 2 2 15" align="HStretch VStretch"/>
<Child type="Widget" skin="PU_BL" offset="0 17 2 2" align="HStretch VStretch"/>
<Child type="Widget" skin="PU_B" offset="2 17 15 2" align="Stretch"/>
<Child type="Widget" skin="PU_BR" offset="17 17 2 2" align="Stretch"/>
<Child type="Widget" skin="PU_R" offset="17 2 2 15" align="Stretch"/>
<Child type="Widget" skin="PU_TR" offset="17 0 2 2" align="Stretch"/>
<Child type="Widget" skin="PU_T" offset="2 0 15 2" align="Stretch"/>
<Child type="Widget" skin="PU_TL" offset="0 0 2 2" align="Stretch"/>
<Child type="Widget" skin="PU_L" offset="0 2 2 15" align="Stretch"/>
<Child type="Widget" skin="PU_BL" offset="0 17 2 2" align="Stretch"/>
</Skin>
<Skin name="PinDown" size="19 19" texture="textures\menu_rightbuttondown_center.dds">
<BasisSkin type="MainSkin" offset="0 0 19 19">
<State name="normal" offset="0 0 19 19"/>
</BasisSkin>
<Child type="Widget" skin="PD_B" offset="2 17 15 2" align="HStretch VStretch"/>
<Child type="Widget" skin="PD_BR" offset="17 17 2 2" align="HStretch VStretch"/>
<Child type="Widget" skin="PD_R" offset="17 2 2 15" align="HStretch VStretch"/>
<Child type="Widget" skin="PD_TR" offset="17 0 2 2" align="HStretch VStretch"/>
<Child type="Widget" skin="PD_T" offset="2 0 15 2" align="HStretch VStretch"/>
<Child type="Widget" skin="PD_TL" offset="0 0 2 2" align="HStretch VStretch"/>
<Child type="Widget" skin="PD_L" offset="0 2 2 15" align="HStretch VStretch"/>
<Child type="Widget" skin="PD_BL" offset="0 17 2 2" align="HStretch VStretch"/>
<Child type="Widget" skin="PD_B" offset="2 17 15 2" align="Stretch"/>
<Child type="Widget" skin="PD_BR" offset="17 17 2 2" align="Stretch"/>
<Child type="Widget" skin="PD_R" offset="17 2 2 15" align="Stretch"/>
<Child type="Widget" skin="PD_TR" offset="17 0 2 2" align="Stretch"/>
<Child type="Widget" skin="PD_T" offset="2 0 15 2" align="Stretch"/>
<Child type="Widget" skin="PD_TL" offset="0 0 2 2" align="Stretch"/>
<Child type="Widget" skin="PD_L" offset="0 2 2 15" align="Stretch"/>
<Child type="Widget" skin="PD_BL" offset="0 17 2 2" align="Stretch"/>
</Skin>
<!-- Defines a pure black background -->

Loading…
Cancel
Save