<?xml version="1.0" encoding="UTF-8"?> <MyGUI type="Resource" version="1.1"> <!-- Button graphics --> <Resource type="AutoSizedResourceSkin" name="BTN_Top" texture="textures\menu_button_frame_top.dds"> <Property key="NeedMouse" value="false"/> <BasisSkin type="TileRect" align="HStretch"> <State name="normal"> <Property key="TileH" value="true"/> <Property key="TileV" value="true"/> </State> </BasisSkin> </Resource> <Resource type="AutoSizedResourceSkin" name="BTN_Bottom" texture="textures\menu_button_frame_bottom.dds"> <Property key="NeedMouse" value="false"/> <BasisSkin type="TileRect" align="HStretch"> <State name="normal" > <Property key="TileH" value="true"/> <Property key="TileV" value="true"/> </State> </BasisSkin> </Resource> <Resource type="AutoSizedResourceSkin" name="BTN_Left" texture="textures\menu_button_frame_left.dds"> <Property key="NeedMouse" value="false"/> <BasisSkin type="TileRect" align="VStretch"> <State name="normal"> <Property key="TileH" value="true"/> <Property key="TileV" value="true"/> </State> </BasisSkin> </Resource> <Resource type="AutoSizedResourceSkin" name="BTN_Right" texture="textures\menu_button_frame_right.dds"> <Property key="NeedMouse" value="false"/> <BasisSkin type="TileRect" align="VStretch"> <State name="normal"> <Property key="TileH" value="true"/> <Property key="TileV" value="true"/> </State> </BasisSkin> </Resource> <Resource type="AutoSizedResourceSkin" name="BTN_TopLeft" texture="textures\menu_button_frame_top_left_corner.dds"> <Property key="NeedMouse" value="false"/> <BasisSkin type="MainSkin"> <State name="normal"/> </BasisSkin> </Resource> <Resource type="AutoSizedResourceSkin" name="BTN_TopRight" texture="textures\menu_button_frame_top_right_corner.dds"> <Property key="NeedMouse" value="false"/> <BasisSkin type="MainSkin"> <State name="normal"/> </BasisSkin> </Resource> <Resource type="AutoSizedResourceSkin" name="BTN_BottomLeft" texture="textures\menu_button_frame_bottom_left_corner.dds"> <Property key="NeedMouse" value="false"/> <BasisSkin type="MainSkin"> <State name="normal"/> </BasisSkin> </Resource> <Resource type="AutoSizedResourceSkin" name="BTN_BottomRight" texture="textures\menu_button_frame_bottom_right_corner.dds"> <Property key="NeedMouse" value="false"/> <BasisSkin type="MainSkin"> <State name="normal"/> </BasisSkin> </Resource> <!-- Button widget --> <Resource type="ResourceSkin" name="MW_Button" size="136 24" version="3.2.1"> <Property key="FontName" value="Default"/> <Property key="TextAlign" value="Center"/> <Property key="NeedKey" value="true"/> <Child type="Widget" skin="BTN_Left" offset="0 4 4 16" align="VStretch Left"/> <Child type="Widget" skin="BTN_Right" offset="132 4 4 16" align="VStretch Right"/> <Child type="Widget" skin="BTN_Top" offset="4 0 128 4" align="HStretch Top"/> <Child type="Widget" skin="BTN_Bottom" offset="4 20 128 4" align="HStretch Bottom"/> <Child type="Widget" skin="BTN_TopLeft" offset="0 0 4 4" align="Top Left"/> <Child type="Widget" skin="BTN_TopRight" offset="132 0 4 4" align="Top Right"/> <Child type="Widget" skin="BTN_BottomLeft" offset="0 20 4 4" align="Bottom Left"/> <Child type="Widget" skin="BTN_BottomRight" offset="132 20 4 4" align="Bottom Right"/> <BasisSkin type="SimpleText" offset="4 3 128 16" align="Stretch"> <State name="disabled" colour="#{fontcolour=disabled}" shift="0"/> <State name="normal" colour="#{fontcolour=normal}" shift="0"/> <State name="highlighted" colour="#{fontcolour=normal_over}" shift="0"/> <State name="pushed" colour="#{fontcolour=normal_pressed}" shift="0"/> <State name="disabled_checked" colour="#{fontcolour=disabled}" shift="0"/> <State name="normal_checked" colour="#{fontcolour=active}" shift="0"/> <State name="highlighted_checked" colour="#{fontcolour=active_over}" shift="0"/> <State name="pushed_checked" colour="#{fontcolour=active_pressed}" shift="0"/> </BasisSkin> </Resource> <!-- Button widget, 4 px padding on the right --> <Resource type="ResourceSkin" name="MW_Button_RightPadding" size="140 24" version="3.2.1"> <Property key="FontName" value="Default"/> <Property key="TextAlign" value="Center"/> <!-- padding --> <Child type="Widget" skin="" offset="136 0 4 24" align="Right VStretch"/> <Child type="Widget" skin="BTN_Left" offset="0 4 4 16" align="VStretch Left"/> <Child type="Widget" skin="BTN_Right" offset="132 4 4 16" align="VStretch Right"/> <Child type="Widget" skin="BTN_Top" offset="4 0 128 4" align="HStretch Top"/> <Child type="Widget" skin="BTN_Bottom" offset="4 20 128 4" align="HStretch Bottom"/> <Child type="Widget" skin="BTN_TopLeft" offset="0 0 4 4" align="Top Left"/> <Child type="Widget" skin="BTN_TopRight" offset="132 0 4 4" align="Top Right"/> <Child type="Widget" skin="BTN_BottomLeft" offset="0 20 4 4" align="Bottom Left"/> <Child type="Widget" skin="BTN_BottomRight" offset="132 20 4 4" align="Bottom Right"/> <Child type="Widget" skin="BTN_BottomRight" offset="132 20 4 4" align="Bottom Right"/> <BasisSkin type="SimpleText" offset="4 3 128 16" align="Stretch"> <State name="disabled" colour="#{fontcolour=disabled}" shift="0"/> <State name="normal" colour="#{fontcolour=normal}" shift="0"/> <State name="highlighted" colour="#{fontcolour=normal_over}" shift="0"/> <State name="pushed" colour="#{fontcolour=normal_pressed}" shift="0"/> <State name="disabled_checked" colour="#{fontcolour=disabled}" shift="0"/> <State name="normal_checked" colour="#{fontcolour=active}" shift="0"/> <State name="highlighted_checked" colour="#{fontcolour=active_over}" shift="0"/> <State name="pushed_checked" colour="#{fontcolour=active_pressed}" shift="0"/> </BasisSkin> </Resource> </MyGUI>