2009-02-01 02:21:08 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
|
|
|
<MyGUI type="Skin">
|
2009-02-05 14:11:59 +00:00
|
|
|
<!-- Defines a pure black background -->
|
|
|
|
<Skin name = "BlackBG" size = "8 8" texture = "black.png">
|
2009-02-01 02:21:08 +00:00
|
|
|
<BasisSkin type="MainSkin" offset = "0 0 8 8">
|
|
|
|
<State name="normal" offset = "0 0 8 8"/>
|
|
|
|
</BasisSkin>
|
|
|
|
</Skin>
|
|
|
|
|
|
|
|
<!-- These define the window borders -->
|
|
|
|
<Skin name="TB_B" size="512 4" texture="menu_thick_border_bottom.dds">
|
2009-02-02 13:07:38 +00:00
|
|
|
<Property key="Pointer" value = "vresize" />
|
2009-02-01 02:21:08 +00:00
|
|
|
<BasisSkin type="MainSkin" offset = "0 0 512 4">
|
|
|
|
<State name="normal" offset = "0 0 512 4"/>
|
|
|
|
</BasisSkin>
|
|
|
|
</Skin>
|
|
|
|
|
|
|
|
<Skin name="TB_R" size="4 512" texture="menu_thick_border_right.dds">
|
2009-02-02 13:07:38 +00:00
|
|
|
<Property key="Pointer" value = "hresize" />
|
2009-02-01 02:21:08 +00:00
|
|
|
<BasisSkin type="MainSkin" offset = "0 0 4 512">
|
|
|
|
<State name="normal" offset = "0 0 4 512"/>
|
|
|
|
</BasisSkin>
|
|
|
|
</Skin>
|
|
|
|
|
|
|
|
<Skin name="TB_T" size="512 4" texture="menu_thick_border_top.dds">
|
2009-02-02 13:07:38 +00:00
|
|
|
<Property key="Pointer" value = "vresize" />
|
2009-02-01 02:21:08 +00:00
|
|
|
<BasisSkin type="MainSkin" offset = "0 0 512 4">
|
|
|
|
<State name="normal" offset = "0 0 512 4"/>
|
|
|
|
</BasisSkin>
|
|
|
|
</Skin>
|
|
|
|
|
|
|
|
<Skin name="TB_L" size="4 512" texture="menu_thick_border_left.dds">
|
2009-02-02 13:07:38 +00:00
|
|
|
<Property key="Pointer" value = "hresize" />
|
2009-02-01 02:21:08 +00:00
|
|
|
<BasisSkin type="MainSkin" offset = "0 0 4 512">
|
|
|
|
<State name="normal" offset = "0 0 4 512"/>
|
|
|
|
</BasisSkin>
|
|
|
|
</Skin>
|
|
|
|
|
|
|
|
<!-- Window border corners -->
|
|
|
|
<Skin name="TB_BR" size="4 4" texture="menu_thick_border_bottom_right_corner.dds">
|
2009-02-02 13:07:38 +00:00
|
|
|
<Property key="Pointer" value = "dresize" />
|
2009-02-01 02:21:08 +00:00
|
|
|
<BasisSkin type="MainSkin" offset = "0 0 4 4">
|
|
|
|
<State name="normal" offset = "0 0 4 4"/>
|
|
|
|
</BasisSkin>
|
|
|
|
</Skin>
|
|
|
|
<Skin name="TB_BL" size="4 4" texture="menu_thick_border_bottom_left_corner.dds">
|
2009-02-02 13:07:38 +00:00
|
|
|
<Property key="Pointer" value = "dresize2" />
|
2009-02-01 02:21:08 +00:00
|
|
|
<BasisSkin type="MainSkin" offset = "0 0 4 4">
|
|
|
|
<State name="normal" offset = "0 0 4 4"/>
|
|
|
|
</BasisSkin>
|
|
|
|
</Skin>
|
|
|
|
<Skin name="TB_TR" size="4 4" texture="menu_thick_border_top_right_corner.dds">
|
2009-02-02 13:07:38 +00:00
|
|
|
<Property key="Pointer" value = "dresize2" />
|
2009-02-01 02:21:08 +00:00
|
|
|
<BasisSkin type="MainSkin" offset = "0 0 4 4">
|
|
|
|
<State name="normal" offset = "0 0 4 4"/>
|
|
|
|
</BasisSkin>
|
|
|
|
</Skin>
|
|
|
|
<Skin name="TB_TL" size="4 4" texture="menu_thick_border_top_left_corner.dds">
|
2009-02-02 13:07:38 +00:00
|
|
|
<Property key="Pointer" value = "dresize" />
|
2009-02-01 02:21:08 +00:00
|
|
|
<BasisSkin type="MainSkin" offset = "0 0 4 4">
|
|
|
|
<State name="normal" offset = "0 0 4 4"/>
|
|
|
|
</BasisSkin>
|
|
|
|
</Skin>
|
|
|
|
|
2009-02-02 13:07:38 +00:00
|
|
|
<!-- Inner borders -->
|
|
|
|
|
|
|
|
<Skin name="IB_T" size="512 2" texture="menu_thin_border_top.dds">
|
|
|
|
<BasisSkin type="MainSkin" offset = "0 0 512 2">
|
|
|
|
<State name="normal" offset = "0 0 512 2"/>
|
|
|
|
</BasisSkin>
|
|
|
|
</Skin>
|
|
|
|
<Skin name="IB_B" size="512 2" texture="menu_thin_border_bottom.dds">
|
|
|
|
<BasisSkin type="MainSkin" offset = "0 0 512 2">
|
|
|
|
<State name="normal" offset = "0 0 512 2"/>
|
|
|
|
</BasisSkin>
|
|
|
|
</Skin>
|
|
|
|
<Skin name="IB_L" size="2 512" texture="menu_thin_border_left.dds">
|
|
|
|
<BasisSkin type="MainSkin" offset = "0 0 2 512">
|
|
|
|
<State name="normal" offset = "0 0 2 512"/>
|
|
|
|
</BasisSkin>
|
|
|
|
</Skin>
|
|
|
|
<Skin name="IB_R" size="2 512" texture="menu_thin_border_right.dds">
|
|
|
|
<BasisSkin type="MainSkin" offset = "0 0 2 512">
|
|
|
|
<State name="normal" offset = "0 0 2 512"/>
|
|
|
|
</BasisSkin>
|
|
|
|
</Skin>
|
|
|
|
<Skin name="IB_TL" size="2 2" texture="menu_thin_border_top_left_corner.dds">
|
|
|
|
<BasisSkin type="MainSkin" offset = "0 0 2 2">
|
|
|
|
<State name="normal" offset = "0 0 2 2"/>
|
|
|
|
</BasisSkin>
|
|
|
|
</Skin>
|
|
|
|
<Skin name="IB_TR" size="2 2" texture="menu_thin_border_top_right_corner.dds">
|
|
|
|
<BasisSkin type="MainSkin" offset = "0 0 2 2">
|
|
|
|
<State name="normal" offset = "0 0 2 2"/>
|
|
|
|
</BasisSkin>
|
|
|
|
</Skin>
|
|
|
|
<Skin name="IB_BL" size="2 2" texture="menu_thin_border_bottom_left_corner.dds">
|
|
|
|
<BasisSkin type="MainSkin" offset = "0 0 2 2">
|
|
|
|
<State name="normal" offset = "0 0 2 2"/>
|
|
|
|
</BasisSkin>
|
|
|
|
</Skin>
|
|
|
|
<Skin name="IB_BR" size="2 2" texture="menu_thin_border_bottom_right_corner.dds">
|
|
|
|
<BasisSkin type="MainSkin" offset = "0 0 2 2">
|
|
|
|
<State name="normal" offset = "0 0 2 2"/>
|
|
|
|
</BasisSkin>
|
|
|
|
</Skin>
|
|
|
|
|
2009-02-01 02:21:08 +00:00
|
|
|
<!-- These parts defines the 'blocks' to the left and right of the caption -->
|
|
|
|
<Skin name="HB_MID" size="256 16" texture="menu_head_block_middle.dds">
|
|
|
|
<BasisSkin type="MainSkin" offset = "0 0 256 16">
|
|
|
|
<State name="normal" offset = "0 0 256 16"/>
|
|
|
|
</BasisSkin>
|
|
|
|
</Skin>
|
|
|
|
|
|
|
|
<Skin name="HB_TOP" size="256 2" texture="menu_head_block_top.dds">
|
|
|
|
<BasisSkin type="MainSkin" offset = "0 0 256 2">
|
|
|
|
<State name="normal" offset = "0 0 256 2"/>
|
|
|
|
</BasisSkin>
|
|
|
|
</Skin>
|
|
|
|
|
|
|
|
<Skin name="HB_BOTTOM" size="256 2" texture="menu_head_block_bottom.dds">
|
|
|
|
<BasisSkin type="MainSkin" offset = "0 0 256 2">
|
|
|
|
<State name="normal" offset = "0 0 256 2"/>
|
|
|
|
</BasisSkin>
|
|
|
|
</Skin>
|
|
|
|
|
|
|
|
<Skin name="HB_LEFT" size="2 16" texture="menu_head_block_left.dds">
|
|
|
|
<BasisSkin type="MainSkin" offset = "0 0 2 16">
|
|
|
|
<State name="normal" offset = "0 0 2 16"/>
|
|
|
|
</BasisSkin>
|
|
|
|
</Skin>
|
|
|
|
|
|
|
|
<Skin name="HB_RIGHT" size="2 16" texture="menu_head_block_right.dds">
|
|
|
|
<BasisSkin type="MainSkin" offset = "0 0 2 16">
|
|
|
|
<State name="normal" offset = "0 0 2 16"/>
|
|
|
|
</BasisSkin>
|
|
|
|
</Skin>
|
|
|
|
|
|
|
|
<Skin name="HB_TR" size="2 2" texture="menu_head_block_top_right_corner.dds">
|
|
|
|
<BasisSkin type="MainSkin" offset = "0 0 2 2">
|
|
|
|
<State name="normal" offset = "0 0 2 2"/>
|
|
|
|
</BasisSkin>
|
|
|
|
</Skin>
|
|
|
|
<Skin name="HB_TL" size="2 2" texture="menu_head_block_top_left_corner.dds">
|
|
|
|
<BasisSkin type="MainSkin" offset = "0 0 2 2">
|
|
|
|
<State name="normal" offset = "0 0 2 2"/>
|
|
|
|
</BasisSkin>
|
|
|
|
</Skin>
|
|
|
|
<Skin name="HB_BR" size="2 2" texture="menu_head_block_bottom_right_corner.dds">
|
|
|
|
<BasisSkin type="MainSkin" offset = "0 0 2 2">
|
|
|
|
<State name="normal" offset = "0 0 2 2"/>
|
|
|
|
</BasisSkin>
|
|
|
|
</Skin>
|
|
|
|
<Skin name="HB_BL" size="2 2" texture="menu_head_block_bottom_left_corner.dds">
|
|
|
|
<BasisSkin type="MainSkin" offset = "0 0 2 2">
|
|
|
|
<State name="normal" offset = "0 0 2 2"/>
|
|
|
|
</BasisSkin>
|
|
|
|
</Skin>
|
|
|
|
|
|
|
|
<Skin name="HB_ALL" size="260 20">
|
2009-02-05 14:11:59 +00:00
|
|
|
<Child type="Widget" skin="HB_MID" offset="2 2 256 16" align="ALIGN_TOP ALIGN_LEFT"/>
|
|
|
|
<Child type="Widget" skin="HB_MID" offset="258 2 256 16" align="ALIGN_TOP ALIGN_LEFT"/>
|
|
|
|
<Child type="Widget" skin="HB_MID" offset="514 2 256 16" align="ALIGN_TOP ALIGN_LEFT"/>
|
|
|
|
<Child type="Widget" skin="HB_MID" offset="770 2 256 16" align="ALIGN_TOP ALIGN_LEFT"/>
|
|
|
|
<Child type="Widget" skin="HB_MID" offset="1026 2 256 16" align="ALIGN_TOP ALIGN_LEFT"/>
|
2009-02-02 13:07:38 +00:00
|
|
|
<Child type="Widget" skin="HB_TOP" offset="2 0 256 2" align="ALIGN_TOP ALIGN_HSTRETCH"/>
|
|
|
|
<Child type="Widget" skin="HB_BOTTOM" offset="2 18 256 2" align="ALIGN_BOTTOM ALIGN_HSTRETCH"/>
|
|
|
|
<Child type="Widget" skin="HB_LEFT" offset="0 2 2 16" align="ALIGN_TOP ALIGN_LEFT"/>
|
|
|
|
<Child type="Widget" skin="HB_RIGHT" offset="258 2 2 16" align="ALIGN_TOP ALIGN_RIGHT"/>
|
|
|
|
<Child type="Widget" skin="HB_TR" offset="258 0 2 2" align="ALIGN_TOP ALIGN_RIGHT"/>
|
|
|
|
<Child type="Widget" skin="HB_TL" offset="0 0 2 2" align="ALIGN_TOP ALIGN_LEFT"/>
|
|
|
|
<Child type="Widget" skin="HB_BR" offset="258 18 2 2" align="ALIGN_BOTTOM ALIGN_RIGHT"/>
|
|
|
|
<Child type="Widget" skin="HB_BL" offset="0 18 2 2" align="ALIGN_BOTTOM ALIGN_LEFT"/>
|
|
|
|
</Skin>
|
|
|
|
|
|
|
|
<!-- The actual caption. It contains the edges of the blocks on
|
2009-02-01 02:21:08 +00:00
|
|
|
its sides as well -->
|
|
|
|
<Skin name = "MW_Caption" size = "88 20" texture = "black.png" >
|
2009-02-02 13:07:38 +00:00
|
|
|
<!--
|
|
|
|
<Property key="FontName" value = "dorcla" />
|
|
|
|
<Property key="FontHeight" value = "20" />
|
|
|
|
-->
|
2009-02-01 02:21:08 +00:00
|
|
|
<Property key="FontName" value = "MyGUI_CoreFont.18" />
|
|
|
|
<Property key="FontHeight" value = "18" />
|
|
|
|
<Property key="AlignText" value = "ALIGN_CENTER" />
|
|
|
|
<Property key="Colour" value = "0.36 0.62 0.75" />
|
|
|
|
|
|
|
|
<BasisSkin type="SubSkin" offset="0 0 88 20" align="ALIGN_STRETCH">
|
|
|
|
<State name="normal" offset = "0 0 8 8"/>
|
|
|
|
</BasisSkin>
|
|
|
|
<BasisSkin type="SimpleText" offset = "2 0 84 20" align = "ALIGN_STRETCH"/>
|
|
|
|
|
|
|
|
<!-- Add the borders of the surrounding blocks -->
|
2009-02-02 13:07:38 +00:00
|
|
|
<Child type="Widget" skin="HB_LEFT" offset="86 2 2 16" align="ALIGN_TOP ALIGN_RIGHT"/>
|
|
|
|
<Child type="Widget" skin="HB_RIGHT" offset="0 2 2 16" align="ALIGN_TOP ALIGN_LEFT"/>
|
|
|
|
<Child type="Widget" skin="HB_TR" offset="0 0 2 2" align="ALIGN_TOP ALIGN_LEFT"/>
|
|
|
|
<Child type="Widget" skin="HB_TL" offset="86 0 2 2" align="ALIGN_TOP ALIGN_RIGHT"/>
|
|
|
|
<Child type="Widget" skin="HB_BR" offset="0 18 2 2" align="ALIGN_BOTTOM ALIGN_LEFT"/>
|
|
|
|
<Child type="Widget" skin="HB_BL" offset="86 18 2 2" align="ALIGN_BOTTOM ALIGN_RIGHT"/>
|
2009-02-01 02:21:08 +00:00
|
|
|
</Skin>
|
|
|
|
|
2009-02-02 13:07:38 +00:00
|
|
|
<!-- ----------------------------------------------------
|
|
|
|
|
|
|
|
WINDOW DEFINITION
|
|
|
|
|
|
|
|
------------------------------------------------------ -->
|
|
|
|
|
2009-02-01 02:21:08 +00:00
|
|
|
<Skin name = "MW_Window" size = "256 54">
|
|
|
|
<Property key="FontName" value = "MyGUI_CoreFont.18" />
|
|
|
|
<Property key="FontHeight" value = "18" />
|
|
|
|
<Property key="AlignText" value = "ALIGN_CENTER" />
|
2009-02-02 13:07:38 +00:00
|
|
|
<Property key="Colour" value = "0.8 0.8 0.8" />
|
2009-02-01 02:21:08 +00:00
|
|
|
<Property key="ToStick" value = "true" />
|
|
|
|
|
2009-02-05 14:11:59 +00:00
|
|
|
<Child type="Widget" skin="BlackBG" offset = "6 26 244 22" align = "ALIGN_STRETCH" name = "Client"/>
|
2009-02-01 02:21:08 +00:00
|
|
|
|
|
|
|
<!-- Outer orders -->
|
|
|
|
<Child type="Widget" skin="TB_T" offset="4 0 248 4" align="ALIGN_TOP ALIGN_HSTRETCH" name="Action">
|
|
|
|
<Property key="Scale" value = "0 1 0 -1"/>
|
|
|
|
</Child>
|
|
|
|
<Child type="Widget" skin="TB_L" offset="0 4 4 46" align="ALIGN_LEFT ALIGN_VSTRETCH" name="Action">
|
|
|
|
<Property key="Scale" value = "1 0 -1 0"/>
|
|
|
|
</Child>
|
|
|
|
<Child type="Widget" skin="TB_B" offset="4 50 248 4" align="ALIGN_BOTTOM ALIGN_HSTRETCH" name="Action">
|
|
|
|
<Property key="Scale" value = "0 0 0 1"/>
|
|
|
|
</Child>
|
|
|
|
<Child type="Widget" skin="TB_R" offset="252 4 4 46" align="ALIGN_RIGHT ALIGN_VSTRETCH" name="Action">
|
|
|
|
<Property key="Scale" value = "0 0 1 0"/>
|
|
|
|
</Child>
|
|
|
|
|
|
|
|
<Child type="Widget" skin="TB_BR" offset="252 50 4 4" align="ALIGN_RIGHT ALIGN_BOTTOM" name="Action">
|
|
|
|
<Property key="Scale" value = "0 0 1 1"/>
|
|
|
|
</Child>
|
|
|
|
<Child type="Widget" skin="TB_BL" offset="0 50 4 4" align="ALIGN_LEFT ALIGN_BOTTOM" name="Action">
|
|
|
|
<Property key="Scale" value = "1 0 -1 1"/>
|
|
|
|
</Child>
|
|
|
|
<Child type="Widget" skin="TB_TR" offset="252 0 4 4" align="ALIGN_RIGHT ALIGN_TOP" name="Action">
|
|
|
|
<Property key="Scale" value = "0 1 1 -1"/>
|
|
|
|
</Child>
|
|
|
|
<Child type="Widget" skin="TB_TL" offset="0 0 4 4" align="ALIGN_LEFT ALIGN_TOP" name="Action">
|
|
|
|
<Property key="Scale" value = "1 1 -1 -1"/>
|
|
|
|
</Child>
|
|
|
|
|
|
|
|
<!-- Inner borders -->
|
2009-02-02 13:07:38 +00:00
|
|
|
<Child type="Widget" skin="IB_T" offset="6 24 244 2" align="ALIGN_TOP ALIGN_HSTRETCH"/>
|
|
|
|
<Child type="Widget" skin="IB_B" offset="6 48 244 2" align="ALIGN_BOTTOM ALIGN_HSTRETCH"/>
|
|
|
|
<Child type="Widget" skin="IB_L" offset="4 26 2 22" align="ALIGN_LEFT ALIGN_VSTRETCH"/>
|
|
|
|
<Child type="Widget" skin="IB_R" offset="250 26 2 22" align="ALIGN_RIGHT ALIGN_VSTRETCH"/>
|
|
|
|
<Child type="Widget" skin="IB_TL" offset="4 24 2 2" align="ALIGN_TOP ALIGN_LEFT"/>
|
|
|
|
<Child type="Widget" skin="IB_TR" offset="250 24 2 2" align="ALIGN_TOP ALIGN_RIGHT"/>
|
|
|
|
<Child type="Widget" skin="IB_BL" offset="4 48 2 2" align="ALIGN_BOTTOM ALIGN_LEFT"/>
|
|
|
|
<Child type="Widget" skin="IB_BR" offset="250 48 2 2" align="ALIGN_BOTTOM ALIGN_RIGHT"/>
|
2009-02-01 02:21:08 +00:00
|
|
|
|
|
|
|
<!-- Caption -->
|
|
|
|
<Child type="Widget" skin="HB_ALL" offset="4 4 248 20" align = "ALIGN_TOP ALIGN_HSTRETCH">
|
|
|
|
<Property key="Scale" value = "1 1 0 0"/>
|
|
|
|
</Child>
|
|
|
|
|
|
|
|
<Child type="Widget" skin="MW_Caption" offset = "80 4 88 20" align = "ALIGN_HCENTER ALIGN_TOP" name = "Caption">
|
|
|
|
</Child>
|
|
|
|
|
|
|
|
<!-- This invisible button makes it possible to move the
|
|
|
|
window by dragging the caption. -->
|
|
|
|
<Child type="Button" offset="4 4 248 20" align="ALIGN_HSTRETCH ALIGN_TOP" name="Action">
|
|
|
|
<Property key="Scale" value = "1 1 0 0"/>
|
|
|
|
</Child>
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-02-02 13:07:38 +00:00
|
|
|
<!-- Leftover code - remove later
|
2009-02-01 02:21:08 +00:00
|
|
|
<Child type="Button" skin="WindowX" offset = "20 80 24 30" align = "ALIGN_LEFT ALIGN_TOP" name = "Button">
|
|
|
|
<Property key="Event" value = "close"/>
|
|
|
|
</Child>
|
|
|
|
-->
|
|
|
|
|
|
|
|
</Skin>
|
|
|
|
</MyGUI>
|