0ad/binaries/data/mods/official/gui/test/3_session.xml
Acumen b727fbfa15 Resource Pool update.
This was SVN commit r1330.
2004-11-15 21:07:02 +00:00

1030 lines
44 KiB
XML
Executable File

<?xml version="1.0" encoding="iso-8859-1" standalone="no" ?>
<!DOCTYPE objects SYSTEM "../gui.dtd">
<!--
==========================================
- SESSION GUI -
==========================================
-->
<objects>
<object type="empty" name="session_gui" hotkey="flipgui.toggle" size="0 0 100% 100%" z="1" hidden="true">
<action on="Press"><![CDATA[
FlipGUI();
]]></action>
<action on="Tick"><![CDATA[
getObjectInfo();
]]></action>
<!-- GROUP: GROUP PANE -->
<object type="empty" name="session_group_pane" hotkey="grouppane.toggle" size="0 0 100% 100%" z="1" hidden="true">
<action on="Press"><![CDATA[
GUIObjectToggle("session_group_pane");
]]></action>
<object type="text" name="session_group_pane_bg" sprite="tooltip-background" z="60" ghost="true" hidden="false"/>
<!-- First row. -->
<object type="button" name="session_group_pane_portrait_1" style="portrait" z="60" hidden="false">1
<action on="Load"><![CDATA[
AddSizeGroupPane(this.name, 0, 0);
]]></action>
</object>
<object type="progressbar" name="session_group_pane_portrait_1_bar" style="group_portrait_bar" z="60" hidden="false">
<action on="Load"><![CDATA[
AddSizeGroupPaneBar(this.name);
]]></action>
</object>
<object type="button" name="session_group_pane_portrait_2" style="portrait" z="60" hidden="false">2
<action on="Load"><![CDATA[
AddSizeGroupPane(this.name, 0, 1);
]]></action>
</object>
<object type="progressbar" name="session_group_pane_portrait_2_bar" style="group_portrait_bar" z="60" hidden="false">
<action on="Load"><![CDATA[
AddSizeGroupPaneBar(this.name);
]]></action>
</object>
<object type="button" name="session_group_pane_portrait_3" style="portrait" z="60" hidden="false">3
<action on="Load"><![CDATA[
AddSizeGroupPane(this.name, 0, 2);
]]></action>
</object>
<object type="progressbar" name="session_group_pane_portrait_3_bar" style="group_portrait_bar" z="60" hidden="false">
<action on="Load"><![CDATA[
AddSizeGroupPaneBar(this.name);
]]></action>
</object>
<object type="button" name="session_group_pane_portrait_4" style="portrait" z="60" hidden="false">4
<action on="Load"><![CDATA[
AddSizeGroupPane(this.name, 0, 3);
]]></action>
</object>
<object type="progressbar" name="session_group_pane_portrait_4_bar" style="group_portrait_bar" z="60" hidden="false">
<action on="Load"><![CDATA[
AddSizeGroupPaneBar(this.name);
]]></action>
</object>
<object type="button" name="session_group_pane_portrait_5" style="portrait" z="60" hidden="false">5
<action on="Load"><![CDATA[
AddSizeGroupPane(this.name, 0, 4);
]]></action>
</object>
<object type="progressbar" name="session_group_pane_portrait_5_bar" style="group_portrait_bar" z="60" hidden="false">
<action on="Load"><![CDATA[
AddSizeGroupPaneBar(this.name);
]]></action>
</object>
<object type="button" name="session_group_pane_portrait_6" style="portrait" z="60" hidden="false">6
<action on="Load"><![CDATA[
AddSizeGroupPane(this.name, 0, 5);
]]></action>
</object>
<object type="progressbar" name="session_group_pane_portrait_6_bar" style="group_portrait_bar" z="60" hidden="false">
<action on="Load"><![CDATA[
AddSizeGroupPaneBar(this.name);
]]></action>
</object>
<object type="button" name="session_group_pane_portrait_7" style="portrait" z="60" hidden="false">7
<action on="Load"><![CDATA[
AddSizeGroupPane(this.name, 0, 6);
]]></action>
</object>
<object type="progressbar" name="session_group_pane_portrait_7_bar" style="group_portrait_bar" z="60" hidden="false">
<action on="Load"><![CDATA[
AddSizeGroupPaneBar(this.name);
]]></action>
</object>
<object type="button" name="session_group_pane_portrait_8" style="portrait" z="60" hidden="false">8
<action on="Load"><![CDATA[
AddSizeGroupPane(this.name, 0, 7);
]]></action>
</object>
<object type="progressbar" name="session_group_pane_portrait_8_bar" style="group_portrait_bar" z="60" hidden="false">
<action on="Load"><![CDATA[
AddSizeGroupPaneBar(this.name);
]]></action>
</object>
<object type="button" name="session_group_pane_portrait_9" style="portrait" z="60" hidden="false">9
<action on="Load"><![CDATA[
AddSizeGroupPane(this.name, 0, 8);
]]></action>
</object>
<object type="progressbar" name="session_group_pane_portrait_9_bar" style="group_portrait_bar" z="60" hidden="false">
<action on="Load"><![CDATA[
AddSizeGroupPaneBar(this.name);
]]></action>
</object>
<object type="button" name="session_group_pane_portrait_10" style="portrait" z="60" hidden="false">10
<action on="Load"><![CDATA[
AddSizeGroupPane(this.name, 0, 9);
]]></action>
</object>
<object type="progressbar" name="session_group_pane_portrait_10_bar" style="group_portrait_bar" z="60" hidden="false">
<action on="Load"><![CDATA[
AddSizeGroupPaneBar(this.name);
]]></action>
</object>
<object type="button" name="session_group_pane_portrait_11" style="portrait" z="60" hidden="false">11
<action on="Load"><![CDATA[
AddSizeGroupPane(this.name, 0, 10);
]]></action>
</object>
<object type="progressbar" name="session_group_pane_portrait_11_bar" style="group_portrait_bar" z="60" hidden="false">
<action on="Load"><![CDATA[
AddSizeGroupPaneBar(this.name);
]]></action>
</object>
<object type="button" name="session_group_pane_portrait_12" style="portrait" z="60" hidden="false">12
<action on="Load"><![CDATA[
AddSizeGroupPane(this.name, 0, 11);
]]></action>
</object>
<object type="progressbar" name="session_group_pane_portrait_12_bar" style="group_portrait_bar" z="60" hidden="false">
<action on="Load"><![CDATA[
AddSizeGroupPaneBar(this.name);
]]></action>
</object>
<object type="button" name="session_group_pane_portrait_13" style="portrait" z="60" hidden="false">13
<action on="Load"><![CDATA[
AddSizeGroupPane(this.name, 0, 12);
]]></action>
</object>
<object type="progressbar" name="session_group_pane_portrait_13_bar" style="group_portrait_bar" z="60" hidden="false">
<action on="Load"><![CDATA[
AddSizeGroupPaneBar(this.name);
]]></action>
</object>
<object type="button" name="session_group_pane_portrait_14" style="portrait" z="60" hidden="false">14
<action on="Load"><![CDATA[
AddSizeGroupPane(this.name, 0, 13);
]]></action>
</object>
<object type="progressbar" name="session_group_pane_portrait_14_bar" style="group_portrait_bar" z="60" hidden="false">
<action on="Load"><![CDATA[
AddSizeGroupPaneBar(this.name);
]]></action>
</object>
<object type="button" name="session_group_pane_portrait_15" style="portrait" z="60" hidden="false">15
<action on="Load"><![CDATA[
AddSizeGroupPane(this.name, 0, 14);
]]></action>
</object>
<object type="progressbar" name="session_group_pane_portrait_15_bar" style="group_portrait_bar" z="60" hidden="false">
<action on="Load"><![CDATA[
AddSizeGroupPaneBar(this.name);
]]></action>
</object>
<!-- Second row. -->
<object type="button" name="session_group_pane_portrait_16" style="portrait" z="60" hidden="false">16
<action on="Load"><![CDATA[
AddSizeGroupPane(this.name, 1, 0);
]]></action>
</object>
<object type="progressbar" name="session_group_pane_portrait_16_bar" style="group_portrait_bar" z="60" hidden="false">
<action on="Load"><![CDATA[
AddSizeGroupPaneBar(this.name);
]]></action>
</object>
<object type="button" name="session_group_pane_portrait_17" style="portrait" z="60" hidden="false">17
<action on="Load"><![CDATA[
AddSizeGroupPane(this.name, 1, 1);
]]></action>
</object>
<object type="progressbar" name="session_group_pane_portrait_17_bar" style="group_portrait_bar" z="60" hidden="false">
<action on="Load"><![CDATA[
AddSizeGroupPaneBar(this.name);
]]></action>
</object>
<object type="button" name="session_group_pane_portrait_18" style="portrait" z="60" hidden="false">18
<action on="Load"><![CDATA[
AddSizeGroupPane(this.name, 1, 2);
]]></action>
</object>
<object type="progressbar" name="session_group_pane_portrait_18_bar" style="group_portrait_bar" z="60" hidden="false">
<action on="Load"><![CDATA[
AddSizeGroupPaneBar(this.name);
]]></action>
</object>
<object type="button" name="session_group_pane_portrait_19" style="portrait" z="60" hidden="false">19
<action on="Load"><![CDATA[
AddSizeGroupPane(this.name, 1, 3);
]]></action>
</object>
<object type="progressbar" name="session_group_pane_portrait_19_bar" style="group_portrait_bar" z="60" hidden="false">
<action on="Load"><![CDATA[
AddSizeGroupPaneBar(this.name);
]]></action>
</object>
<object type="button" name="session_group_pane_portrait_20" style="portrait" z="60" hidden="false">20
<action on="Load"><![CDATA[
AddSizeGroupPane(this.name, 1, 4);
]]></action>
</object>
<object type="progressbar" name="session_group_pane_portrait_20_bar" style="group_portrait_bar" z="60" hidden="false">
<action on="Load"><![CDATA[
AddSizeGroupPaneBar(this.name);
]]></action>
</object>
<object type="button" name="session_group_pane_portrait_21" style="portrait" z="60" hidden="false">21
<action on="Load"><![CDATA[
AddSizeGroupPane(this.name, 1, 5);
]]></action>
</object>
<object type="progressbar" name="session_group_pane_portrait_21_bar" style="group_portrait_bar" z="60" hidden="false">
<action on="Load"><![CDATA[
AddSizeGroupPaneBar(this.name);
]]></action>
</object>
<object type="button" name="session_group_pane_portrait_22" style="portrait" z="60" hidden="false">22
<action on="Load"><![CDATA[
AddSizeGroupPane(this.name, 1, 6);
]]></action>
</object>
<object type="progressbar" name="session_group_pane_portrait_22_bar" style="group_portrait_bar" z="60" hidden="false">
<action on="Load"><![CDATA[
AddSizeGroupPaneBar(this.name);
]]></action>
</object>
<object type="button" name="session_group_pane_portrait_23" style="portrait" z="60" hidden="false">23
<action on="Load"><![CDATA[
AddSizeGroupPane(this.name, 1, 7);
]]></action>
</object>
<object type="progressbar" name="session_group_pane_portrait_23_bar" style="group_portrait_bar" z="60" hidden="false">
<action on="Load"><![CDATA[
AddSizeGroupPaneBar(this.name);
]]></action>
</object>
<object type="button" name="session_group_pane_portrait_24" style="portrait" z="60" hidden="false">24
<action on="Load"><![CDATA[
AddSizeGroupPane(this.name, 1, 8);
]]></action>
</object>
<object type="progressbar" name="session_group_pane_portrait_24_bar" style="group_portrait_bar" z="60" hidden="false">
<action on="Load"><![CDATA[
AddSizeGroupPaneBar(this.name);
]]></action>
</object>
<object type="button" name="session_group_pane_portrait_25" style="portrait" z="60" hidden="false">25
<action on="Load"><![CDATA[
AddSizeGroupPane(this.name, 1, 9);
]]></action>
</object>
<object type="progressbar" name="session_group_pane_portrait_25_bar" style="group_portrait_bar" z="60" hidden="false">
<action on="Load"><![CDATA[
AddSizeGroupPaneBar(this.name);
]]></action>
</object>
<object type="button" name="session_group_pane_portrait_26" style="portrait" z="60" hidden="false">26
<action on="Load"><![CDATA[
AddSizeGroupPane(this.name, 1, 10);
]]></action>
</object>
<object type="progressbar" name="session_group_pane_portrait_26_bar" style="group_portrait_bar" z="60" hidden="false">
<action on="Load"><![CDATA[
AddSizeGroupPaneBar(this.name);
]]></action>
</object>
<object type="button" name="session_group_pane_portrait_27" style="portrait" z="60" hidden="false">27
<action on="Load"><![CDATA[
AddSizeGroupPane(this.name, 1, 11);
]]></action>
</object>
<object type="progressbar" name="session_group_pane_portrait_27_bar" style="group_portrait_bar" z="60" hidden="false">
<action on="Load"><![CDATA[
AddSizeGroupPaneBar(this.name);
]]></action>
</object>
<object type="button" name="session_group_pane_portrait_28" style="portrait" z="60" hidden="false">28
<action on="Load"><![CDATA[
AddSizeGroupPane(this.name, 1, 12);
]]></action>
</object>
<object type="progressbar" name="session_group_pane_portrait_28_bar" style="group_portrait_bar" z="60" hidden="false">
<action on="Load"><![CDATA[
AddSizeGroupPaneBar(this.name);
]]></action>
</object>
<object type="button" name="session_group_pane_portrait_29" style="portrait" z="60" hidden="false">29
<action on="Load"><![CDATA[
AddSizeGroupPane(this.name, 1, 13);
]]></action>
</object>
<object type="progressbar" name="session_group_pane_portrait_29_bar" style="group_portrait_bar" z="60" hidden="false">
<action on="Load"><![CDATA[
AddSizeGroupPaneBar(this.name);
]]></action>
</object>
<object type="button" name="session_group_pane_portrait_30" style="portrait" z="60" hidden="false">30
<action on="Load"><![CDATA[
AddSizeGroupPane(this.name, 1, 14);
]]></action>
</object>
<object type="progressbar" name="session_group_pane_portrait_30_bar" style="group_portrait_bar" z="60" hidden="false">
<action on="Load"><![CDATA[
AddSizeGroupPaneBar(this.name);
]]></action>
</object>
<!-- Third row. -->
<object type="button" name="session_group_pane_portrait_31" style="portrait" z="60" hidden="false">31
<action on="Load"><![CDATA[
AddSizeGroupPane(this.name, 2, 0);
]]></action>
</object>
<object type="progressbar" name="session_group_pane_portrait_31_bar" style="group_portrait_bar" z="60" hidden="false">
<action on="Load"><![CDATA[
AddSizeGroupPaneBar(this.name);
]]></action>
</object>
<object type="button" name="session_group_pane_portrait_32" style="portrait" z="60" hidden="false">32
<action on="Load"><![CDATA[
AddSizeGroupPane(this.name, 2, 1);
]]></action>
</object>
<object type="progressbar" name="session_group_pane_portrait_32_bar" style="group_portrait_bar" z="60" hidden="false">
<action on="Load"><![CDATA[
AddSizeGroupPaneBar(this.name);
]]></action>
</object>
<object type="button" name="session_group_pane_portrait_33" style="portrait" z="60" hidden="false">33
<action on="Load"><![CDATA[
AddSizeGroupPane(this.name, 2, 2);
]]></action>
</object>
<object type="progressbar" name="session_group_pane_portrait_33_bar" style="group_portrait_bar" z="60" hidden="false">
<action on="Load"><![CDATA[
AddSizeGroupPaneBar(this.name);
]]></action>
</object>
<object type="button" name="session_group_pane_portrait_34" style="portrait" z="60" hidden="false">34
<action on="Load"><![CDATA[
AddSizeGroupPane(this.name, 2, 3);
]]></action>
</object>
<object type="progressbar" name="session_group_pane_portrait_34_bar" style="group_portrait_bar" z="60" hidden="false">
<action on="Load"><![CDATA[
AddSizeGroupPaneBar(this.name);
]]></action>
</object>
<object type="button" name="session_group_pane_portrait_35" style="portrait" z="60" hidden="false">35
<action on="Load"><![CDATA[
AddSizeGroupPane(this.name, 2, 4);
]]></action>
</object>
<object type="progressbar" name="session_group_pane_portrait_35_bar" style="group_portrait_bar" z="60" hidden="false">
<action on="Load"><![CDATA[
AddSizeGroupPaneBar(this.name);
]]></action>
</object>
<object type="button" name="session_group_pane_portrait_36" style="portrait" z="60" hidden="false">36
<action on="Load"><![CDATA[
AddSizeGroupPane(this.name, 2, 5);
]]></action>
</object>
<object type="progressbar" name="session_group_pane_portrait_36_bar" style="group_portrait_bar" z="60" hidden="false">
<action on="Load"><![CDATA[
AddSizeGroupPaneBar(this.name);
]]></action>
</object>
<object type="button" name="session_group_pane_portrait_37" style="portrait" z="60" hidden="false">37
<action on="Load"><![CDATA[
AddSizeGroupPane(this.name, 2, 6);
]]></action>
</object>
<object type="progressbar" name="session_group_pane_portrait_37_bar" style="group_portrait_bar" z="60" hidden="false">
<action on="Load"><![CDATA[
AddSizeGroupPaneBar(this.name);
]]></action>
</object>
<object type="button" name="session_group_pane_portrait_38" style="portrait" z="60" hidden="false">38
<action on="Load"><![CDATA[
AddSizeGroupPane(this.name, 2, 7);
]]></action>
</object>
<object type="progressbar" name="session_group_pane_portrait_38_bar" style="group_portrait_bar" z="60" hidden="false">
<action on="Load"><![CDATA[
AddSizeGroupPaneBar(this.name);
]]></action>
</object>
<object type="button" name="session_group_pane_portrait_39" style="portrait" z="60" hidden="false">39
<action on="Load"><![CDATA[
AddSizeGroupPane(this.name, 2, 8);
]]></action>
</object>
<object type="progressbar" name="session_group_pane_portrait_39_bar" style="group_portrait_bar" z="60" hidden="false">
<action on="Load"><![CDATA[
AddSizeGroupPaneBar(this.name);
]]></action>
</object>
<object type="button" name="session_group_pane_portrait_40" style="portrait" z="60" hidden="false">40
<action on="Load"><![CDATA[
AddSizeGroupPane(this.name, 2, 9);
]]></action>
</object>
<object type="progressbar" name="session_group_pane_portrait_40_bar" style="group_portrait_bar" z="60" hidden="false">
<action on="Load"><![CDATA[
AddSizeGroupPaneBar(this.name);
]]></action>
</object>
<object type="button" name="session_group_pane_portrait_41" style="portrait" z="60" hidden="false">41
<action on="Load"><![CDATA[
AddSizeGroupPane(this.name, 2, 10);
]]></action>
</object>
<object type="progressbar" name="session_group_pane_portrait_41_bar" style="group_portrait_bar" z="60" hidden="false">
<action on="Load"><![CDATA[
AddSizeGroupPaneBar(this.name);
]]></action>
</object>
<object type="button" name="session_group_pane_portrait_42" style="portrait" z="60" hidden="false">42
<action on="Load"><![CDATA[
AddSizeGroupPane(this.name, 2, 11);
]]></action>
</object>
<object type="progressbar" name="session_group_pane_portrait_42_bar" style="group_portrait_bar" z="60" hidden="false">
<action on="Load"><![CDATA[
AddSizeGroupPaneBar(this.name);
]]></action>
</object>
<object type="button" name="session_group_pane_portrait_43" style="portrait" z="60" hidden="false">43
<action on="Load"><![CDATA[
AddSizeGroupPane(this.name, 2, 12);
]]></action>
</object>
<object type="progressbar" name="session_group_pane_portrait_43_bar" style="group_portrait_bar" z="60" hidden="false">
<action on="Load"><![CDATA[
AddSizeGroupPaneBar(this.name);
]]></action>
</object>
<object type="button" name="session_group_pane_portrait_44" style="portrait" z="60" hidden="false">44
<action on="Load"><![CDATA[
AddSizeGroupPane(this.name, 2, 13);
]]></action>
</object>
<object type="progressbar" name="session_group_pane_portrait_44_bar" style="group_portrait_bar" z="60" hidden="false">
<action on="Load"><![CDATA[
AddSizeGroupPaneBar(this.name);
]]></action>
</object>
<object type="button" name="session_group_pane_portrait_45" style="portrait" z="60" hidden="false">45
<action on="Load"><![CDATA[
AddSizeGroupPane(this.name, 2, 14);
]]></action>
</object>
<object type="progressbar" name="session_group_pane_portrait_45_bar" style="group_portrait_bar" z="60" hidden="false">
<action on="Load"><![CDATA[
AddSizeGroupPaneBar(this.name);
]]></action>
</object>
</object>
<!-- GROUP: RESOURCE BAR -->
<object type="empty" name="session_top_bar" hotkey="resourcepool.toggle" size="0 0 100% 100%" z="1" hidden="false">
<action on="Press"><![CDATA[
GUIObjectToggle("session_top_bar");
]]></action>
<object type="button" name="resource_food_counter" sprite="resource_food_counter" style="resource_counter" z="70" hidden="false">
<action on="Load"><![CDATA[
this.caption = "123,456";
AddSizeCoord(this.name,
crd_resource_food_x, crd_resource_food_y, crd_resource_food_x+crd_resource_counter_width, crd_resource_food_y+crd_resource_counter_height, mid_screen, top_screen, mid_screen, top_screen,
crd_resource_food_x, -crd_resource_food_y-crd_resource_counter_height, crd_resource_food_x+crd_resource_counter_width, -crd_resource_food_y, mid_screen, bottom_screen, mid_screen, bottom_screen);
]]></action>
</object>
<object type="button" name="resource_wood_counter" sprite="resource_wood_counter" style="resource_counter" z="70" hidden="false">
<action on="Load"><![CDATA[
this.caption = "789,012";
AddSizeCoord(this.name,
crd_resource_wood_x, crd_resource_wood_y, crd_resource_wood_x+crd_resource_counter_width, crd_resource_wood_y+crd_resource_counter_height, mid_screen, top_screen, mid_screen, top_screen,
crd_resource_wood_x, -crd_resource_wood_y-crd_resource_counter_height, crd_resource_wood_x+crd_resource_counter_width, -crd_resource_wood_y, mid_screen, bottom_screen, mid_screen, bottom_screen);
]]></action>
</object>
<object type="button" name="resource_stone_counter" sprite="resource_stone_counter" style="resource_counter" z="70" hidden="false">
<action on="Load"><![CDATA[
this.caption = "109,854";
AddSizeCoord(this.name,
crd_resource_stone_x, crd_resource_stone_y, crd_resource_stone_x+crd_resource_counter_width, crd_resource_stone_y+crd_resource_counter_height, mid_screen, top_screen, mid_screen, top_screen,
crd_resource_stone_x, -crd_resource_stone_y-crd_resource_counter_height, crd_resource_stone_x+crd_resource_counter_width, -crd_resource_stone_y, mid_screen, bottom_screen, mid_screen, bottom_screen);
]]></action>
</object>
<object type="button" name="resource_ore_counter" sprite="resource_ore_counter" style="resource_counter" z="70" hidden="false">
<action on="Load"><![CDATA[
this.caption = "42";
AddSizeCoord(this.name,
crd_resource_ore_x, crd_resource_ore_y, crd_resource_ore_x+crd_resource_counter_width, crd_resource_ore_y+crd_resource_counter_height, mid_screen, top_screen, mid_screen, top_screen,
crd_resource_ore_x, -crd_resource_ore_y-crd_resource_counter_height, crd_resource_ore_x+crd_resource_counter_width, -crd_resource_ore_y, mid_screen, bottom_screen, mid_screen, bottom_screen);
]]></action>
</object>
<object type="button" name="resource_population_counter" sprite="resource_population_counter" style="resource_counter" z="70" hidden="false">
<action on="Load"><![CDATA[
this.caption = "199/200";
AddSizeCoord(this.name,
crd_resource_population_x, crd_resource_population_y, crd_resource_population_x+crd_resource_counter_long_width, crd_resource_population_y+crd_resource_counter_height, mid_screen, top_screen, mid_screen, top_screen,
crd_resource_population_x, -crd_resource_population_y-crd_resource_counter_height, crd_resource_population_x+crd_resource_counter_long_width, -crd_resource_population_y, mid_screen, bottom_screen, mid_screen, bottom_screen);
]]></action>
</object>
<!-- / GROUP: RESOURCE BAR -->
</object>
<!-- GROUP: MAP ORB -->
<object type="empty" name="session_map_orb" hotkey="maporb.toggle" size="0 0 100% 100%" z="1" hidden="false">
<action on="Press"><![CDATA[
GUIObjectToggle("session_map_orb");
]]></action>
<object type="text" name="session_panel_minimap_bg" sprite="session_panel_minimap_bg" z="60" ghost="true" hidden="false">
<action on="Load"><![CDATA[
AddSizeString(this.name,
"100%-174 0%+2 100% 0%+176",
"100%-174 100%-174 100% 100%-176");
]]></action>
</object>
<object type="minimap" name="session_panel_minimap" z="60" hidden="false">
<action on="Load"><![CDATA[
AddSizeString(this.name,
"100%-176 0 100% 176",
"100%-176 100%-176 100% 100%");
]]></action>
</object>
<object type="button" name="session_panel_minimap_segleft1" sprite="session_panel_minimap_segleft1" z="60" hidden="false">
<action on="Load"><![CDATA[
AddSizeString(this.name,
"100%-206 0%+2 100%-174 0%+38",
"100%-206 100%-175 100%-174 100%-129");
]]></action>
</object>
<object type="button" name="session_panel_minimap_segleft2" sprite="session_panel_minimap_segleft2" z="60" hidden="false">
<action on="Load"><![CDATA[
AddSizeString(this.name,
"100%-214 0%+45 100%-174 0%+89",
"100%-214 100%-131 100%-174 100%-87");
]]></action>
</object>
<object type="button" name="session_panel_minimap_segleft3" sprite="session_panel_minimap_segleft3" z="60" hidden="false">
<action on="Load"><![CDATA[
AddSizeString(this.name,
"100%-214 0%+86 100%-174 0%+130",
"100%-214 100%-90 100%-174 100%-46");
]]></action>
</object>
<object type="button" name="session_panel_minimap_segleft4" sprite="session_panel_minimap_segleft4" z="60" hidden="false">
<action on="Load"><![CDATA[
AddSizeString(this.name,
"100%-206 0%+127 100%-174 0%+163",
"100%-206 100%-48 100%-174 100%-12");
]]></action>
</object>
<object type="button" name="session_panel_minimap_segbottom4" sprite="session_panel_minimap_segbottom4" z="60" hidden="false">
<action on="Load"><![CDATA[
AddSizeString(this.name,
"100%-46 0%+173 100%-2 0%+213",
"100%-46 100%-205 100%-2 100%-165");
]]></action>
</object>
<object type="button" name="session_panel_minimap_segbottom3" sprite="session_panel_minimap_segbottom3" z="60" hidden="false">
<action on="Load"><![CDATA[
AddSizeString(this.name,
"100%-88 0%+173 100%-42 0%+213",
"100%-88 100%-213 100%-42 100%");
]]></action>
</object>
<object type="button" name="session_panel_minimap_segbottom2" sprite="session_panel_minimap_segbottom2" z="60" hidden="false">
<action on="Load"><![CDATA[
AddSizeString(this.name,
"100%-130 0%+173 100%-84 0%+213",
"100%-130 100%-213 100%-84 100%");
]]></action>
</object>
<object type="button" name="session_panel_minimap_segbottom1" sprite="session_panel_minimap_segbottom1" z="60" hidden="false">
<action on="Load"><![CDATA[
AddSizeString(this.name,
"100%-174 0%+173 100%-130 0%+213",
"100%-174 100%-205 100%-130 100%-165");
]]></action>
</object>
<!-- / GROUP: MAP ORB -->
</object>
<!-- GROUP: STATUS ORB -->
<object type="empty" name="session_status_orb" hotkey="statusorb.toggle" size="0 0 100% 100%" z="1" hidden="true">
<action on="Press"><![CDATA[
GUIObjectToggle("session_status_orb");
]]></action>
<!-- STATUS ORB BACKGROUND -->
<object type="button" name="session_panel_status_bg" sprite="session_panel_status_bg-top" textcolor="255 255 255" text-align="left" text-valign="top" z="70" ghost="true" hidden="false">
<action on="Load"><![CDATA[
AddSizeString(this.name,
"0% 0% 0%+184 0%+184",
"0% 100%-184 0%+184 100%");
]]></action>
</object>
<!-- SELECTED UNIT LARGE PORTRAIT -->
<object type="button" name="session_panel_status_portrait" style="portrait" z="70" hidden="false">
<action on="Load"><![CDATA[
AddSizeString(this.name,
"0%+4 0%+116 0%+68 0%+180",
"0%+4 100%-180 0%+68 100%-116");
setPortrait(this.name, "unit_dude");
]]></action>
</object>
<!-- RANK ICON -->
<object type="button" name="session_panel_status_icon_rank" sprite="statistic_rank2" ghost="true" z="70" hidden="false">
<action on="Load"><![CDATA[
AddSizeString("session_panel_status_icon_rank",
"0%+50 0%+44 0%+70 0%+47",
"0%+50 100%-180 0%+70 100%-160");
]]></action>
</object>
<!-- HITPOINTS BAR -->
<object type="progressbar" name="session_panel_status_icon_hp_bar" style="group_portrait_bar" sprite-background="back-bar" ghost="true" z="70" hidden="false">
<action on="Load"><![CDATA[
AddSizeString("session_panel_status_icon_hp_bar",
"0%+6 0%+147 0%+66 0%+160",
"0%+6 100%-114 0%+66 100%-108");
]]></action>
</object>
<!-- EXPERIENCE BAR -->
<object type="progressbar" name="session_panel_status_icon_exp_bar" style="up_bar" sprite-background="back-bar" ghost="true" z="70" hidden="false">
<action on="Load"><![CDATA[
AddSizeString("session_panel_status_icon_exp_bar",
"0%+6 0%+147 0%+66 0%+160",
"0%+6 100%-106 0%+66 100%-98");
]]></action>
</object>
<!-- HITPOINTS TEXT -->
<object type="button" name="session_panel_status_icon_hp_text" font="verdana10" textcolor="0 255 0" text-align="center" text-valign="bottom" ghost="true" z="70" hidden="false">
<action on="Load"><![CDATA[
AddSizeString("session_panel_status_icon_hp_text",
"0%+46 0%+148 0%+146 0%+161",
"0%+46 100%-110 0%+146 100%-104");
]]></action>
</object>
<!-- EXPERIENCE TEXT -->
<object type="button" name="session_panel_status_icon_exp_text" font="verdana10" textcolor="255 255 0" text-align="center" text-valign="bottom" ghost="true" z="70" hidden="false">
<action on="Load"><![CDATA[
AddSizeString("session_panel_status_icon_exp_text",
"0%+46 0%+148 0%+146 0%+161",
"0%+46 100%-102 0%+146 100%-94");
getGUIObjectByName("session_panel_status_icon_exp_text").caption = "100/200";
]]></action>
</object>
<object type="button" name="session_panel_status_icon_hp" sprite="statistic_hp" ghost="true" z="70" hidden="true">
<action on="Load"><![CDATA[
AddSizeString("session_panel_status_icon_hp",
"0%+75 0%+125 0%+95 0%+145",
"0%+75 100%-57 0%+95 100%-37");
]]></action>
</object>
<!-- NAME TEXT -->
<object type="text" name="session_panel_status_name1" font="verdana10" textcolor="200 200 200" ghost="true" z="70" hidden="false">
<action on="Load"><![CDATA[
AddSizeString("session_panel_status_name1",
"0%+2 0%+4 0%+254 0%+27",
"0%+2 100%-60 0%+254 100%-37");
]]></action>
</object>
<object type="text" name="session_panel_status_name2" font="verdana12" textcolor="255 255 255" ghost="true" z="70" hidden="false">
<action on="Load"><![CDATA[
AddSizeString("session_panel_status_name2",
"0%+2 0%+19 0%+254 0%+42",
"0%+2 100%-45 0%+254 100%-22");
]]></action>
</object>
<object type="text" name="session_panel_status_name3" font="verdana10" textcolor="200 200 200" ghost="true" z="70" hidden="false">
<action on="Load"><![CDATA[
AddSizeString("session_panel_status_name3",
"0%+2 0%+34 0%+254 0%+59",
"0%+2 100%-28 0%+254 100%-17");
]]></action>
</object>
<!-- STATUS ORB STATISTICS AND ICONS (Experience, Hitpoints, Supply, Garrison) -->
<object type="button" name="session_panel_status_icon_supply" textcolor="252 148 78" text-align="center" text-valign="center" ghost="true" z="70" hidden="false">
<action on="Load"><![CDATA[
AddSizeString("session_panel_status_icon_supply",
"0%+135 0%+65 0%+150 0%+130",
"0%+135 100%-110 0%+150 100%-45");
getGUIObjectByName("session_panel_status_icon_supply").caption = "[icon=icon_resource_food] 1575";
]]></action>
</object>
<object type="button" name="session_panel_status_icon_garrison" textcolor="100 100 255" text-align="center" text-valign="center" ghost="true" z="70" hidden="false">
<action on="Load"><![CDATA[
AddSizeString("session_panel_status_icon_garrison",
"0%+116 0%+65 0%+141 0%+130",
"0%+116 100%-160 0%+141 100%-95");
getGUIObjectByName("session_panel_status_icon_garrison").caption = "[icon=icon_statistic_garrison] 23/30";
]]></action>
</object>
<!-- PRIMARY COMMAND BUTTONS (arcs the Status Orb) -->
<object type="button" name="session_panel_status_command_pri_1" style="portrait" textcolor="255 255 255" z="70" hidden="false">1
<action on="Load"><![CDATA[
AddSizeString("session_panel_status_command_pri_1",
"0 184 32 216",
"0 100%-216 32 100%-184");
]]></action>
</object>
<object type="button" name="session_panel_status_command_pri_2" style="portrait" textcolor="255 255 255" z="70" hidden="false">2
<action on="Load"><![CDATA[
AddSizeString("session_panel_status_command_pri_2",
"32 184 64 216",
"32 100%-216 64 100%-184");
]]></action>
</object>
<object type="button" name="session_panel_status_command_pri_3" style="portrait" textcolor="255 255 255" z="70" hidden="false">3
<action on="Load"><![CDATA[
AddSizeString("session_panel_status_command_pri_3",
"65 184 97 216",
"65 100%-216 97 100%-184");
]]></action>
</object>
<object type="button" name="session_panel_status_command_pri_4" style="portrait" textcolor="255 255 255" z="70" hidden="false">4
<action on="Load"><![CDATA[
AddSizeString("session_panel_status_command_pri_4",
"97 180 129 212",
"97 100%-212 129 100%-180");
]]></action>
</object>
<object type="button" name="session_panel_status_command_pri_5" style="portrait" textcolor="255 255 255" z="70" hidden="false">5
<action on="Load"><![CDATA[
AddSizeString("session_panel_status_command_pri_5",
"128 168 160 200",
"128 100%-200 160 100%-168");
]]></action>
</object>
<object type="button" name="session_panel_status_command_pri_6" style="portrait" textcolor="255 255 255" z="70" hidden="false">6
<action on="Load"><![CDATA[
AddSizeString("session_panel_status_command_pri_6",
"154 148 186 180",
"154 100%-180 186 100%-148");
]]></action>
</object>
<object type="button" name="session_panel_status_command_pri_7" style="portrait" textcolor="255 255 255" z="70" hidden="false">7
<action on="Load"><![CDATA[
AddSizeString("session_panel_status_command_pri_7",
"172 121 204 153",
"172 100%-153 204 100%-121");
]]></action>
</object>
<object type="button" name="session_panel_status_command_pri_8" style="portrait" textcolor="255 255 255" z="70" hidden="false">8
<action on="Load"><![CDATA[
AddSizeString("session_panel_status_command_pri_8",
"184 90 216 122",
"184 100%-122 216 100%-90");
]]></action>
</object>
<object type="button" name="session_panel_status_command_pri_9" style="portrait" textcolor="255 255 255" z="70" hidden="false">9
<action on="Load"><![CDATA[
AddSizeString("session_panel_status_command_pri_9",
"183 57 215 89",
"183 100%-89 215 100%-57");
]]></action>
</object>
<object type="button" name="session_panel_status_command_pri_10" style="portrait" textcolor="255 255 255" z="70" hidden="false">10
<action on="Load"><![CDATA[
AddSizeString("session_panel_status_command_pri_10",
"171 26 203 58",
"171 100%-58 203 100%-26");
]]></action>
</object>
<object type="button" name="session_panel_status_command_pri_11" style="portrait" textcolor="255 255 255" z="70" hidden="false">11
<action on="Load"><![CDATA[
AddSizeString("session_panel_status_command_pri_11",
"150 0 182 32",
"150 100%-32 182 100%");
]]></action>
</object>
<!-- SECONDARY COMMAND BUTTONS (arcs the Primary Command Buttons) -->
<!-- / GROUP: STATUS ORB -->
</object>
<!-- GROUP: TEAM TRAY -->
<object type="empty" name="session_team_tray" hotkey="teamtray.toggle" size="0 0 100% 100%" z="60" hidden="true">
<action on="Press"><![CDATA[
GUIObjectToggle("session_team_tray");
]]></action>
<object type="button" name="session_team_tray_1" style="portrait" textcolor="255 255 255" hidden="false">
<action on="Load"><![CDATA[
AddSizeString("session_team_tray_1",
"100%-32 200 100% 232",
"100%-32 100%-488 100% 100%-456");
]]></action>
</object>
<object type="text" name="session_team_tray_1_num" textcolor="255 255 255" ghost="true" hidden="false">1
<action on="Load"><![CDATA[
AddSizeString("session_team_tray_1_num",
"100%-20 200 100% 220",
"100%-20 100%-488 100% 100%-468");
]]></action>
</object>
<object type="button" name="session_team_tray_2" style="portrait" textcolor="255 255 255" hidden="false">
<action on="Load"><![CDATA[
AddSizeString("session_team_tray_2",
"100%-32 232 100% 264",
"100%-32 100%-456 100% 100%-424");
]]></action>
</object>
<object type="text" name="session_team_tray_2_num" textcolor="255 255 255" ghost="true" hidden="false">2
<action on="Load"><![CDATA[
AddSizeString("session_team_tray_2_num",
"100%-20 232 100% 252",
"100%-20 100%-456 100% 100%-436");
]]></action>
</object>
<object type="button" name="session_team_tray_3" style="portrait" textcolor="255 255 255" hidden="false">
<action on="Load"><![CDATA[
AddSizeString("session_team_tray_3",
"100%-32 264 100% 296",
"100%-32 100%-424 100% 100%-392");
]]></action>
</object>
<object type="text" name="session_team_tray_3_num" textcolor="255 255 255" ghost="true" hidden="false">3
<action on="Load"><![CDATA[
AddSizeString("session_team_tray_3_num",
"100%-20 264 100% 284",
"100%-20 100%-424 100% 100%-304");
]]></action>
</object>
<object type="button" name="session_team_tray_4" style="portrait" textcolor="255 255 255" hidden="false">
<action on="Load"><![CDATA[
AddSizeString("session_team_tray_4",
"100%-32 296 100% 328",
"100%-32 100%-392 100% 100%-360");
]]></action>
</object>
<object type="text" name="session_team_tray_4_num" textcolor="255 255 255" ghost="true" hidden="false">4
<action on="Load"><![CDATA[
AddSizeString("session_team_tray_4_num",
"100%-20 296 100% 316",
"100%-20 100%-392 100% 100%-372");
]]></action>
</object>
<object type="button" name="session_team_tray_5" style="portrait" textcolor="255 255 255" hidden="false">
<action on="Load"><![CDATA[
AddSizeString("session_team_tray_5",
"100%-32 328 100% 360",
"100%-32 100%-360 100% 100%-328");
]]></action>
</object>
<object type="text" name="session_team_tray_5_num" textcolor="255 255 255" ghost="true" hidden="false">5
<action on="Load"><![CDATA[
AddSizeString("session_team_tray_5_num",
"100%-20 328 100% 348",
"100%-20 100%-360 100% 100%-340");
]]></action>
</object>
<object type="button" name="session_team_tray_6" style="portrait" textcolor="255 255 255" hidden="false">
<action on="Load"><![CDATA[
AddSizeString("session_team_tray_6",
"100%-32 360 100% 392",
"100%-32 100%-328 100% 100%-296");
]]></action>
</object>
<object type="text" name="session_team_tray_6_num" textcolor="255 255 255" ghost="true" hidden="false">6
<action on="Load"><![CDATA[
AddSizeString("session_team_tray_6_num",
"100%-20 360 100% 380",
"100%-20 100%-328 100% 100%-308");
]]></action>
</object>
<object type="button" name="session_team_tray_7" style="portrait" textcolor="255 255 255" hidden="false">
<action on="Load"><![CDATA[
AddSizeString("session_team_tray_7",
"100%-32 392 100% 424",
"100%-32 100%-296 100% 100%-264");
]]></action>
</object>
<object type="text" name="session_team_tray_7_num" textcolor="255 255 255" ghost="true" hidden="false">7
<action on="Load"><![CDATA[
AddSizeString("session_team_tray_7_num",
"100%-20 392 100% 412",
"100%-20 100%-296 100% 100%-276");
]]></action>
</object>
<object type="button" name="session_team_tray_8" style="portrait" textcolor="255 255 255" hidden="false">
<action on="Load"><![CDATA[
AddSizeString("session_team_tray_8",
"100%-32 424 100% 456",
"100%-32 100%-264 100% 100%-232");
]]></action>
</object>
<object type="text" name="session_team_tray_8_num" textcolor="255 255 255" ghost="true" hidden="false">8
<action on="Load"><![CDATA[
AddSizeString("session_team_tray_8_num",
"100%-20 424 100% 444",
"100%-20 100%-264 100% 100%-244");
]]></action>
</object>
<object type="button" name="session_team_tray_9" style="portrait" textcolor="255 255 255" hidden="false">
<action on="Load"><![CDATA[
AddSizeString("session_team_tray_9",
"100%-32 456 100% 488",
"100%-32 100%-232 100% 100%-200");
]]></action>
</object>
<object type="text" name="session_team_tray_9_num" textcolor="255 255 255" ghost="true" hidden="false">9
<action on="Load"><![CDATA[
AddSizeString("session_team_tray_9_num",
"100%-20 456 100% 476",
"100%-20 100%-232 100% 100%-212");
]]></action>
</object>
<!-- / GROUP: TRAY -->
</object>
<!--
==========================================
- HIDDEN (HOTKEY ONLY) -
==========================================
-->
<!--
==========================================
- DEBUG -
==========================================
-->
<!-- FPS COUNTER -->
<object type="text" name="FPS_Counter" z="100" hotkey="fps.toggle" textcolor="200 200 0" font="verdana16" ghost="true" hidden="false">
<action on="Load"><![CDATA[
AddSizeString("FPS_Counter",
"18 100%-35 200 100%",
"18 0% 200 0%+35");
]]></action>
<action on="Press"><![CDATA[
GUIObjectToggle("FPS_Counter");
]]></action>
<action on="Tick"><![CDATA[
UpdateFPSCounter(mouse);
]]></action>
</object>
<!--
==========================================
- TEST -
==========================================
-->
<!-- / SESSION GUI -->
</object>
</objects>