1 <!-- ****************************************** -->
3 <!-- ****************************************** -->
5 <root id="interface" x="0" y="0" w="800" h="600" active="true" />
6 <proc id="proc_nothing"></proc>
7 <!-- a text with border -->
8 <template name="bc_border_text" keep="true" posref="TM TM" posparent="parent" x="0" y="-20" w="-4">
9 <group id="#id" posref="#posref" x="#x" y="#y" posparent="#posparent" child_resize_h="true" sizeref="w" w="#w">
11 <group id="text" posref="TL TL" x="4" y="-4" child_resize_h="true" sizeref="w" w="-8">
12 <view type="bitmap" id="bg" sizeref="hw" h="0" w="0" scale="true" texture="W_box_blank.tga"/>
13 <view type="text_id_formated" format="$t" id="text" textid="#text_id" multi_line="true" fontsize="12" shadow="true" global_color="false"/>
18 <instance template="thin_bc_border" posparent="text"/>
22 <template name="bc_border_text2" keep="true" posref="TM TM" posparent="parent" x="0" y="0" w="-4">
23 <group id="#id" posref="#posref" x="#x" y="#y" posparent="#posparent" child_resize_h="true" w="#w">
24 <group id="text" posref="TL TL" x="4" y="-4" child_resize_h="true" sizeref="w" w="-8">
25 <view type="bitmap" id="bg" sizeref="hw" h="0" w="0" scale="true" texture="W_box_blank.tga" />
26 <view type="text_id_formated" format="$t" id="text" textid="#text_id" multi_line="true" fontsize="12" shadow="true" global_color="false" />
29 <instance template="thin_bc_border" posparent="text" />
32 <!-- template for border inside of a group -->
33 <template name="inner_thin_border_group" posparent="parent" keep="true" inherit_gc_alpha="false" posref="BL BL" w="0" h="0">
34 <group id="itb" posparent="#posparent" sizeref="hw" w="#w" h="#h" posref="#posref">
35 <view type="bitmap" id="bg" texture="W_box_blank.tga" scale="true" posref="MM MM" sizeref="hw" w="-8" h="-8" inherit_gc_alpha="#inherit_gc_alpha" />
36 <view type="bitmap" id="tlb" texture="W_box_top_left.tga" posref="TL TL" inherit_gc_alpha="#inherit_gc_alpha" />
37 <view type="bitmap" id="trb" texture="W_box_top_right.tga" posref="TR TR" inherit_gc_alpha="#inherit_gc_alpha" />
38 <view type="bitmap" id="brb" texture="W_box_bot_right.tga" posref="BR BR" inherit_gc_alpha="#inherit_gc_alpha" />
39 <view type="bitmap" id="blb" texture="W_box_bot_left.tga" posref="BL BL" inherit_gc_alpha="#inherit_gc_alpha" />
40 <view type="bitmap" id="tb" texture="W_box_top.tga" posref="TM TM" scale="true" sizeref="w" w="-8" h="4" inherit_gc_alpha="#inherit_gc_alpha" />
41 <view type="bitmap" id="bb" texture="W_box_bot.tga" posref="BM BM" scale="true" sizeref="w" w="-8" h="4" inherit_gc_alpha="#inherit_gc_alpha" />
42 <view type="bitmap" id="lb" texture="W_box_left.tga" posref="ML ML" scale="true" sizeref="h" h="-8" w="4" inherit_gc_alpha="#inherit_gc_alpha" />
43 <view type="bitmap" id="rb" texture="W_box_right.tga" posref="MR MR" scale="true" sizeref="h" h="-8" w="4" inherit_gc_alpha="#inherit_gc_alpha" />
46 <!-- *********************************** -->
47 <!-- * TEMPLATE FOR SCENE INFORMATION * -->
48 <!-- *********************************** -->
49 <!-- * In scene user info with guild logo * -->
50 <define id="in_scene_user_info_bar_h" value="4" />
51 <define id="in_scene_user_info_bar_space" value="2" />
52 <define id="in_scene_user_bar_length" value="120" />
53 <!-- * In scene Target Selected * -->
54 <template name="string_cursor" id="" keep="true">
55 <group id="#id" posref="BL TL" x="0" y="0" child_resize_w="true" h="32" active="true">
57 <view type="text" id="fake_txt" posref="TL TL" x="22" fontsize="12" shadow="true" hardtext="uimGcmTradePact" color="255 255 255 0" />
59 <view type="bitmap" id="curs_L" posref="TL TL" texture="curs_L.tga" global_color="false" />
60 <view type="bitmap" id="curs_R" posref="TR TL" posparent="fake_txt" x="-10" texture="curs_R.tga" global_color="false" />
61 <view type="bitmap" id="curs_M" posref="TM TM" posparent="fake_txt" sizeref="w" w="-20" scale="true" h="32" texture="curs_M.tga" global_color="false" />
62 <view type="text" id="real_txt" posref="ML ML" x="26" y="0" fontsize="12" shadow="true" hardtext="uimGcmTradePact" color="255 255 255 255" global_color="false" />
65 <!-- hardware version of the text cursor : mouse cursor is not duplicated on the left of the text -->
66 <template name="string_cursor_hardware" id="" keep="true">
67 <group id="#id" posref="BL TL" x="0" y="0" child_resize_w="true" h="32" active="true">
69 <view type="text" id="fake_txt" posref="TL TL" x="22" fontsize="12" shadow="true" hardtext="uimGcmTradePact" color="255 255 255 0" />
71 <view type="bitmap" id="curs_L" posref="TL TL" texture="curs_L_no_mouse.tga" global_color="false" />
72 <view type="bitmap" id="curs_R" posref="TR TL" posparent="fake_txt" x="-10" texture="curs_R.tga" global_color="false" />
73 <view type="bitmap" id="curs_M" posref="TM TM" posparent="fake_txt" sizeref="w" w="-20" scale="true" h="32" texture="curs_M.tga" global_color="false" />
74 <view type="text" id="real_txt" posref="ML ML" x="26" y="0" fontsize="12" shadow="true" hardtext="uimGcmTradePact" color="255 255 255 255" global_color="false" />
77 <template name="in_scene_user_info" id="" keep="true">
78 <group id="#id" type="in_scene_user_info" header_active="false" options="no_bordure" openable="false" savable="false" resizer="true" movable="false" right_button="false" opened="true" child_resize_w="true" child_resize_h="true" w="0" h="0" win_priority="%win_priority_world_space" posref="BL BM" use_cursor="false">
79 <group id="right" child_resize_w="true" child_resize_h="true" w="0" x="38" h="158" posref="TL TL" child_resize_hmargin="7">
80 <view type="text" id="info0" posref="TL TL" x="0" y="-7" fontsize="14" shadow="true" hardtext="" color="255 255 255 255" global_color="true" />
81 <view type="text" id="info1" posref="BL TL" posparent="info0" x="0" fontsize="12" shadow="true" hardtext="" color="255 255 255 255" global_color="true" />
82 <view type="text" id="info2" posref="BL TL" posparent="info1" x="0" fontsize="10" shadow="true" hardtext="" color="255 255 255 255" global_color="true" />
83 <view type="bitmap" id="permanent_content" posref="TR TL" posparent="info0" y="0" x="4" texture="" global_color="false" />
84 <view type="bitmap" id="target" posref="TR TL" posparent="info0" x="4" texture="target.tga" global_color="false" />
85 <view type="bitmap" id="invisible_logo" posref="TR TL" posparent="target" x="2" y="3" scale="true" w="20" h="20" texture="ico_fear.tga" active="false" global_color="false" />
86 <view type="bitmap" id="mission_target" posref="TR TL" posparent="invisible_logo" x="2" y="4" texture="target_mission.tga" global_color="false" />
87 <view type="bitmap" id="win_top" posparent="info2" posref="BL TL" y="-8" texture="Infos_top.tga" global_color="true" />
88 <view type="bitmap" id="win_mid" posparent="win_top" posref="BL TL" scale="true" w="70" h="1" texture="Infos_mid.tga" global_color="true" />
89 <view type="bitmap" id="win_bot" posparent="win_mid" posref="BL TL" texture="Infos_bot.tga" global_color="true" />
90 <view type="bitmap" id="win_jauge_mid" posparent="win_bot" posref="TL ML" x="0" y="-2" scale="true" w="128" h="24" texture="Bg_jauge_mid.tga" global_color="true" />
91 <view type="bitmap" id="win_jauge_top" posparent="win_jauge_mid" posref="TL BL" texture="Bg_jauge_top.tga" global_color="true" />
92 <view type="bitmap" id="win_jauge_bot" posparent="win_jauge_mid" posref="BL TL" texture="Bg_jauge_bot.tga" global_color="true" />
93 <view type="bitmap" id="bar0" posparent="win_jauge_top" posref="TL TL" x="3" y="-3" scale="true" w="64" h="4" texture="Jauge_fill.tga" color="128 128 128 255" global_color="false" />
94 <view type="bitmap" id="bar1" posparent="bar0" posref="BL TL" x="0" y="-2" scale="true" w="120" h="4" texture="Jauge_fill.tga" color="128 128 128 255" global_color="false" />
95 <view type="bitmap" id="bar2" posparent="bar1" posref="BL TL" x="0" y="-2" scale="true" w="112" h="4" texture="Jauge_fill.tga" color="128 128 128 255" global_color="false" />
96 <view type="bitmap" id="bar3" posparent="bar2" posref="BL TL" x="0" y="-2" scale="true" w="30" h="4" texture="Jauge_fill.tga" color="128 128 128 255" global_color="false" />
97 <view type="bitmap" id="bar4" posparent="bar3" posref="BL TL" x="0" y="-2" scale="true" w="0" h="4" texture="Jauge_fill.tga" color="128 128 128 255" global_color="false" />
99 <ctrl type="sheet" id="guild_logo" posref="TL TR" posparent="right" x="-4" y="-7" slot="false" nature="guild_flag" value="UI:TEMP:GUILD_SHEET" dragable="false" color="255 255 255 255" />
100 <view type="bitmap" id="npc_mission_logo" posref="TL TL" slot="false" x="0" color="255 255 255 255" render_layer="1" texture="" global_color="false" />
101 <view type="bitmap" id="npc_mission_logo_over" posref="TL TL" slot="false" x="0" color="255 255 255 255" render_layer="2" texture="" global_color="false" />
103 <group id="right_rp" posref="TR TL" posparent="right" x="4" child_resize_w="true" child_resize_h="true" child_resize_wmargin="4">
104 <view type="bitmap" id="rp_logo_3" posref="TL TL" x="0" w="24" h="24" scale="true" slot="false" color="255 255 255 255" render_layer="1" texture="" active="false" global_color="false" />
105 <view type="bitmap" id="rp_logo_4" posref="TR TL" x="0" w="24" h="24" scale="true" slot="false" posparent="rp_logo_3" color="255 255 255 255" render_layer="1" texture="" active="false" global_color="false" />
107 <group id="right_pvp" posref="BL TL" posparent="right_rp" x="-2" child_resize_w="true" child_resize_h="true" child_resize_wmargin="4" child_resize_hmargin="4">
108 <group id="top_pvp" posref="TL TL" w="0" h="0" child_resize_w="true" child_resize_h="true" child_resize_wmargin="4" child_resize_hmargin="4">
109 <view type="bitmap" id="pvp_faction_logo" posref="TL TL" active="false" texture="blank.tga" global_color="false" />
110 <view type="bitmap" id="pvp_faction_logo2" posref="TR TL" x="-4" posparent="pvp_faction_logo" active="false" texture="blank.tga" global_color="false" />
111 <view type="bitmap" id="rp_logo_1" posref="TL TL" x="2" y="-2" w="24" h="24" scale="true" slot="false" color="255 255 255 255" render_layer="1" texture="" active="false" global_color="false" />
112 <view type="bitmap" id="rp_logo_2" posref="TR TL" w="24" h="24" scale="true" slot="false" posparent="rp_logo_1" color="255 255 255 255" render_layer="1" texture="" active="false" global_color="false" />
114 <group id="bottom_pvp" posref="BL TL" posparent="top_pvp" child_resize_w="true" child_resize_h="true" child_resize_wmargin="4" child_resize_hmargin="4">
115 <view type="bitmap" id="pvp_outpost_logo" posref="TL TL" x="2" y="-2" active="false" texture="building_state_24x24.tga" global_color="false" />
116 <view type="bitmap" id="pvp_duel_logo" posref="TR TL" posparent="pvp_outpost_logo" active="false" texture="pvp_duel.tga" global_color="false" />
121 <!-- prototype for fast cloning -->
122 <instance template="in_scene_user_info" id="in_scene_user_info_proto" />
123 <template name="in_scene_user_info_back" id="" keep="true">
124 <group id="#id" type="in_scene_user_info" header_active="false" options="no_bordure" openable="false" savable="false" resizer="true" movable="false" right_button="false" opened="true" child_resize_w="true" child_resize_h="true" child_resize_hmargin="20" w="0" h="86" win_priority="%win_priority_world_space" posref="BL BM" use_cursor="false">
125 <group id="right" x="42" y="-20" child_resize_w="true" w="0" h="86" posref="TL TL">
126 <view type="bitmap" id="win_top" posref="TL TL" y="-10" texture="Infos_top.tga" global_color="true" />
127 <view type="bitmap" id="win_mid" posref="BL TL" posparent="win_top" scale="true" w="7" h="50" texture="Infos_mid.tga" global_color="true" />
128 <view type="bitmap" id="win_bot" posref="BL TL" posparent="win_mid" texture="Infos_bot.tga" global_color="true" />
129 <view type="bitmap" id="win_jauge_mid" posref="BR ML" x="-1" y="1" posparent="win_bot" scale="true" w="128" h="24" texture="Bg_jauge_mid.tga" global_color="true" />
130 <view type="bitmap" id="win_jauge_top" posref="TL BL" posparent="win_jauge_mid" texture="Bg_jauge_top.tga" global_color="true" />
131 <view type="bitmap" id="win_jauge_bot" posref="BL TL" posparent="win_jauge_mid" texture="Bg_jauge_bot.tga" global_color="true" />
132 <view type="text" id="info0" posref="TL TL" x="8" y="-3" fontsize="14" shadow="true" hardtext="" color="255 255 255 255" global_color="true" />
133 <view type="text" id="info1" posref="TL TL" x="8" y="-17" fontsize="12" shadow="true" hardtext="" color="255 255 255 255" global_color="true" />
134 <view type="text" id="info2" posref="TL TL" x="8" y="-32" fontsize="10" shadow="true" hardtext="" color="255 255 255 255" global_color="true" />
135 <view type="bitmap" id="target" posref="TR TL" posparent="info0" x="4" y="" texture="target.tga" global_color="false" />
136 <view type="bitmap" id="mission_target" posref="TR TL" posparent="info0" x="25" y="" texture="target_mission.tga" global_color="false" />
137 <view type="bitmap" id="bar0" posref="TL TL" posparent="win_jauge_top" x="3" y="-2" scale="true" w="64" h="4" texture="Jauge_fill.tga" color="128 128 128 255" global_color="false" />
138 <view type="bitmap" id="bar1" posref="BL TL" posparent="bar0" x="0" y="-2" scale="true" w="120" h="4" texture="Jauge_fill.tga" color="128 128 128 255" global_color="false" />
139 <view type="bitmap" id="bar2" posref="BL TL" posparent="bar1" x="0" y="-2" scale="true" w="112" h="4" texture="Jauge_fill.tga" color="128 128 128 255" global_color="false" />
140 <view type="bitmap" id="bar3" posref="BL TL" posparent="bar2" x="0" y="-2" scale="true" w="30" h="4" texture="Jauge_fill.tga" color="128 128 128 255" global_color="false" />
141 <view type="bitmap" id="bar4" posref="BL TL" posparent="bar3" x="0" y="-2" scale="true" w="0" h="4" texture="Jauge_fill.tga" color="128 128 128 255" global_color="false" />
143 <ctrl type="sheet" id="guild_logo" posref="ML MR" x="-8" slot="false" posparent="right" nature="guild_flag" value="UI:TEMP:GUILD_SHEET" dragable="false" color="255 255 255 255" />
146 <instance template="in_scene_user_info_back" id="in_scene_user_info_back_proto" />
147 <template name="forage_source" id="" keep="true">
148 <group id="#id" type="in_scene_user_info" header_active="false" options="no_bordure" openable="false" savable="false" resizer="true" movable="false" right_button="false" opened="true" child_resize_w="true" child_resize_h="true" win_priority="%win_priority_world_space" posref="BL BM" use_cursor="true">
149 <!--<group id="right" x="240" y="320" child_resize_w="true" w="0" h="126" posref="TL TL" >-->
150 <group id="right" child_resize_w="true" w="0" h="158" x="42" y="-20" posref="TL TL">
151 <view type="text" id="info0" posref="TL TL" x="0" y="0" fontsize="14" shadow="true" hardtext="Forage_Source" color="255 255 255 255" global_color="true" />
152 <view type="bitmap" id="win_jauge_mid" posref="BL TL" posparent="info0" x="0" y="-6" scale="true" w="152" h="100" texture="Bg_source_mid.tga" global_color="true" />
153 <view type="bitmap" id="win_jauge_top" posref="TL BL" posparent="win_jauge_mid" texture="Bg_source_top.tga" global_color="true" />
154 <view type="bitmap" id="win_jauge_bot" posref="BL TL" posparent="win_jauge_mid" texture="Bg_source_bot.tga" global_color="true" />
155 <view type="bitmap" id="bar0" posref="TL TL" posparent="win_jauge_top" x="27" y="-14" scale="true" w="64" h="4" texture="Jauge_fill.tga" color="255 255 255 255" global_color="false" />
156 <view type="bitmap" id="bar1" posref="BL TL" posparent="bar0" x="0" y="-16" scale="true" w="112" h="4" texture="Jauge_fill.tga" color="0 180 255 255" global_color="false" />
157 <view type="bitmap" id="bar2" posref="BL TL" posparent="bar1" x="0" y="-16" scale="true" w="120" h="4" texture="Jauge_fill.tga" color="255 127 127 255" global_color="false" />
158 <view type="bitmap" id="bar3" posref="BL TL" posparent="bar2" x="0" y="-16" scale="true" w="30" h="4" texture="Jauge_fill.tga" color="255 175 0 255" global_color="false" />
159 <view type="bitmap" id="bar4" posref="BL TL" posparent="bar3" x="0" y="-16" scale="true" w="98" h="4" texture="Jauge_fill.tga" color="255 125 0 255" global_color="false" />
160 <view type="bitmap" id="icon0" posref="ML MR" posparent="bar0" x="0" y="0" texture="forage_time.tga" global_color="false" />
161 <view type="bitmap" id="icon1" posref="ML MR" posparent="bar1" x="0" y="-2" texture="forage_content.tga" global_color="false" />
162 <view type="bitmap" id="icon2" posref="ML MR" posparent="bar2" x="0" y="-1" texture="forage_life.tga" global_color="false" />
163 <view type="bitmap" id="icon3" posref="ML MR" posparent="bar3" x="0" y="0" texture="forage_danger.tga" global_color="false" />
164 <view type="bitmap" id="icon4" posref="ML MR" posparent="bar4" x="0" y="0" texture="forage_spawn.tga" global_color="false" />
165 <!-- Some ToolTip Info -->
166 <ctrl type="tooltip" id="tt0" posparent="icon0" posref="TL TL" sizeref="wh" w="0" h="0" tooltip="uittForageTime" />
167 <ctrl type="tooltip" id="tt1" posparent="icon1" posref="TL TL" sizeref="wh" w="0" h="0" tooltip="uittForageContent" />
168 <ctrl type="tooltip" id="tt2" posparent="icon2" posref="TL TL" sizeref="wh" w="0" h="0" tooltip="uittForageLife" />
169 <ctrl type="tooltip" id="tt3" posparent="icon3" posref="TL TL" sizeref="wh" w="0" h="0" tooltip="uittForageDanger" />
170 <ctrl type="tooltip" id="tt4" posparent="icon4" posref="TL TL" sizeref="wh" w="0" h="0" tooltip="uittForageKami" />
171 <ctrl type="tooltip" id="ttb0" posparent="bar0" posref="ML ML" sizeref="w" w="0" h="24" tooltip="uittForageTime" />
172 <ctrl type="tooltip" id="ttb1" posparent="bar1" posref="ML ML" sizeref="w" w="0" h="24" tooltip="uittForageContent" />
173 <ctrl type="tooltip" id="ttb2" posparent="bar2" posref="ML ML" sizeref="w" w="0" h="24" tooltip="uittForageLife" />
174 <ctrl type="tooltip" id="ttb3" posparent="bar3" posref="ML ML" sizeref="w" w="0" h="24" tooltip="uittForageDanger" />
175 <ctrl type="tooltip" id="ttb4" posparent="bar4" posref="ML ML" sizeref="w" w="0" h="24" tooltip="uittForageKami" />
177 <view type="bitmap" id="guild_logo" posref="TL TR" x="-2" y="16" slot="false" posparent="right" color="255 255 255 255" texture="" global_color="false" />
180 <instance template="forage_source" id="forage_source_proto" />
181 <!-- flying text in scene (deltax is the delta xcoord to apply right for the user, and left for the ennemy) -->
182 <define id="in_scene_flying_char_offsetx" value="30" />
183 <template name="in_scene_flying_text" id="" keep="true">
184 <group id="#id" type="in_scene_user_info" header_active="false" options="no_bordure" openable="false" savable="false" resizer="false" movable="false" right_button="false" opened="true" child_resize_w="true" child_resize_h="true" w="0" h="0" win_priority="%win_priority_world_space" posref="BL BM" use_cursor="false" user_scale="true" in_scene_offset_y="20">
185 <view type="text" id="text" posref="TL TL" x="0" y="0" fontsize="18" shadow="true" hardtext="" color="255 255 255 255" global_color="false" />
188 <!-- * Bulle de dialogue a droite du perso * -->
189 <!-- NOT USED FOR THE MOMENT !!!
190 <template name="3dbulle_R" id="" >
191 <group id="#id" type="container" header_active="false" options="no_bordure" openable="false" savable="false" resizer="true" movable="false" right_button="false" opened="true" child_resize_w="true" w="0" max_w="256" min_w="48" h="48" >
193 <group id="header_opened" x="0" y="0" child_resize_w="true" w="0" child_resize_h="true" h="0" max_w="256" min_w="48" max_h="512" min_h="48" posref="TL TL" >
195 <group id="window" x="0" y="0" child_resize_w="true" w="0" child_resize_h="true" h="0" posref="TL TL" >
196 <view type="bitmap" id="win_M" posref="MM MM" scale="true" sizeref="wh" w="-10" h="-10" texture="Bulle_M.tga" global_color="false"/>
197 <view type="bitmap" id="win_T" posparent="win_M" posref="TL BL" scale="true" sizeref="w" w="0" h="5" texture="Bulle_T.tga" global_color="false"/>
198 <view type="bitmap" id="win_B" posparent="win_M" posref="BL TL" scale="true" sizeref="w" w="0" h="5" texture="Bulle_B.tga" global_color="false"/>
199 <view type="bitmap" id="win_L" posparent="win_M" posref="TL TR" scale="true" sizeref="h" w="5" h="0" texture="Bulle_L.tga" global_color="false"/>
200 <view type="bitmap" id="win_R" posparent="win_M" posref="TR TL" scale="true" sizeref="h" w="5" h="0" texture="Bulle_R.tga" global_color="false"/>
201 <view type="bitmap" id="win_TL" posref="TL TL" texture="Bulle_TL.tga" global_color="false"/>
202 <view type="bitmap" id="win_TR" posref="TR TR" texture="Bulle_TR.tga" global_color="false"/>
203 <view type="bitmap" id="win_BL" posref="BL BL" texture="Bulle_BL.tga" global_color="false"/>
204 <view type="bitmap" id="win_BR" posref="BR BR" texture="Bulle_BR.tga" global_color="false"/>
206 <view type="text" id="text" posref="TL TL" x="5" y="-5" hardtext="#hardtext"
207 fontsize="12" justification="justified" color="0 0 0 255" global_color="false"
208 multi_line="true" multi_line_space="0" line_maxw="160" multi_line_maxw_only="true" />
209 <! - Yoyo: Fake to have minimum bubble size - >
210 <group id="min_w" posparent="text" posref="TL TL" x="0" y="0" w="48" h="14" />
214 <view type="bitmap" id="win_talk" posref="BL TL" x="24" y="2" posparent="window" texture="Bulle_Say_R.tga" global_color="false"/>
221 <!-- * Bulle de dialogue a gauche du perso * -->
222 <template name="3dbulle_L" id="" hardtext="uiTestDialogue" keep="true">
223 <group id="#id" type="in_scene_bubble" header_active="false" options="no_bordure" openable="false" savable="false" resizer="true" movable="false" right_button="false" opened="true" child_resize_w="true" w="0" max_w="512" min_w="48" child_resize_h="true" in_scene_offset_x="-95" win_priority="%win_priority_world_space" posref="BL BR" use_cursor="true">
224 <group id="header_opened" x="0" y="0" child_resize_w="true" w="0" child_resize_h="true" h="0" max_w="512" min_w="48" max_h="512" min_h="48" posref="TL TL">
225 <group id="window" x="0" y="0" child_resize_w="true" child_resize_wmargin="10" child_resize_h="true" child_resize_hmargin="10" posref="TL TL">
226 <group id="back" x="0" y="0" w="0" h="0" sizeref="wh" posref="TL TL">
227 <view type="bitmap" id="win_M" posref="MM MM" scale="true" sizeref="wh" w="-10" h="-10" texture="Bulle_M.tga" global_color="false" />
228 <view type="bitmap" id="win_T" posparent="win_M" posref="TL BL" scale="true" sizeref="w" w="0" h="5" texture="Bulle_T.tga" global_color="false" />
229 <view type="bitmap" id="win_B" posparent="win_M" posref="BL TL" scale="true" sizeref="w" w="0" h="5" texture="Bulle_B.tga" global_color="false" />
230 <view type="bitmap" id="win_L" posparent="win_M" posref="TL TR" scale="true" sizeref="h" w="5" h="0" texture="Bulle_L.tga" global_color="false" />
231 <view type="bitmap" id="win_R" posparent="win_M" posref="TR TL" scale="true" sizeref="h" w="5" h="0" texture="Bulle_R.tga" global_color="false" />
232 <view type="bitmap" id="win_TL" posref="TL TL" texture="Bulle_TL.tga" global_color="false" />
233 <view type="bitmap" id="win_TR" posref="TR TR" texture="Bulle_TR.tga" global_color="false" />
234 <view type="bitmap" id="win_BL" posref="BL BL" texture="Bulle_BL.tga" global_color="false" />
235 <view type="bitmap" id="win_BR" posref="BR BR" texture="Bulle_BR.tga" global_color="false" />
237 <view type="text" id="text" posref="TL TL" x="5" y="-24" hardtext="#hardtext" fontsize="12" justification="dont_clip_word" color="0 0 0 255" global_color="false" multi_line="true" multi_line_space="0" line_maxw="320" multi_line_maxw_only="true" />
238 <ctrl type="button" button_type="push_button" tx_normal="Bulle_next.tga" tx_pushed="Bulle_next.tga" tx_over="Bulle_next.tga" color="255 255 255 255" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_normal="false" global_color_over="false" global_color_pushed="false" tooltip="uiNext" id="but_next" posref="TR TR" x="-5" y="-5" onclick_l="bubble_next" active="false" />
239 <ctrl type="button" button_type="push_button" tx_normal="Bulle_quit.tga" tx_pushed="Bulle_quit.tga" tx_over="Bulle_quit.tga" color="255 255 255 255" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_normal="false" global_color_over="false" global_color_pushed="false" tooltip="uiSkip" id="but_skip" posref="TL TR" posparent="but_next" x="-4" y="0" onclick_l="bubble_skip" active="false" />
240 <!-- Yoyo: Fake to have minimum bubble size -->
241 <group id="min_w" posparent="text" posref="TL TL" x="0" y="0" w="48" h="14" />
243 <view type="bitmap" id="win_talk" posref="BR TR" x="-24" y="2" posparent="window" texture="Bulle_Say_L.tga" global_color="false" />
247 <!-- * Bulle de dialogue dynamique a gauche du perso
248 textid of the views are updated by code * -->
249 <style style="dynchat_desc" type="text" fontsize="12" justification="dont_clip_word" color="0 0 0 255" global_color="false" multi_line="true" multi_line_space="0" line_maxw="320" multi_line_maxw_only="true" />
250 <style style="dynchat_option" type="text_id" dynamic_string="true" format_taged="true" fontsize="10" justification="dont_clip_word" color="0 0 64 255" underlined="true" global_color="false" multi_line="true" multi_line_space="0" line_maxw="320" multi_line_maxw_only="true" />
251 <style style="dynchat_option_but" type="button_link" posref="TL TL" x="0" y="0" sizeref="wh" w="0" h="0" onclick_l="dynchat_click_option" />
252 <template name="dyn_3dbulle_L" id="" keep="true">
253 <group id="#id" type="in_scene_bubble" header_active="false" options="no_bordure" openable="false" savable="false" resizer="true" movable="false" right_button="false" opened="true" child_resize_w="true" w="0" max_w="512" min_w="48" child_resize_h="true" in_scene_offset_x="-95" win_priority="%win_priority_world_space" posref="BL BR" use_cursor="true">
254 <group id="header_opened" x="0" y="0" child_resize_w="true" w="0" child_resize_h="true" h="0" max_w="512" min_w="48" max_h="512" min_h="48" posref="TL TL">
255 <group id="window" x="0" y="0" child_resize_w="true" child_resize_wmargin="10" child_resize_h="true" child_resize_hmargin="10" posref="TL TL">
256 <group id="back" x="0" y="0" w="0" h="0" sizeref="wh" posref="TL TL">
257 <view type="bitmap" id="win_M" posref="MM MM" scale="true" sizeref="wh" w="-10" h="-10" texture="Bulle_M.tga" global_color="false" />
258 <view type="bitmap" id="win_T" posparent="win_M" posref="TL BL" scale="true" sizeref="w" w="0" h="5" texture="Bulle_T.tga" global_color="false" />
259 <view type="bitmap" id="win_B" posparent="win_M" posref="BL TL" scale="true" sizeref="w" w="0" h="5" texture="Bulle_B.tga" global_color="false" />
260 <view type="bitmap" id="win_L" posparent="win_M" posref="TL TR" scale="true" sizeref="h" w="5" h="0" texture="Bulle_L.tga" global_color="false" />
261 <view type="bitmap" id="win_R" posparent="win_M" posref="TR TL" scale="true" sizeref="h" w="5" h="0" texture="Bulle_R.tga" global_color="false" />
262 <view type="bitmap" id="win_TL" posref="TL TL" texture="Bulle_TL.tga" global_color="false" />
263 <view type="bitmap" id="win_TR" posref="TR TR" texture="Bulle_TR.tga" global_color="false" />
264 <view type="bitmap" id="win_BL" posref="BL BL" texture="Bulle_BL.tga" global_color="false" />
265 <view type="bitmap" id="win_BR" posref="BR BR" texture="Bulle_BR.tga" global_color="false" />
267 <view style="dynchat_desc" id="text" posref="TL TL" x="5" y="-24" />
268 <ctrl type="button" button_type="push_button" tx_normal="Bulle_next.tga" tx_pushed="Bulle_next.tga" tx_over="Bulle_next.tga" color="255 255 255 255" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_normal="false" global_color_over="false" global_color_pushed="false" tooltip="uiNext" id="but_next" posref="TR TR" x="-5" y="-5" onclick_l="bubble_next" active="false" />
269 <ctrl type="button" button_type="push_button" tx_normal="Bulle_quit.tga" tx_pushed="Bulle_quit.tga" tx_over="Bulle_quit.tga" color="255 255 255 255" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_normal="false" global_color_over="false" global_color_pushed="false" tooltip="uiSkip" id="but_skip" posref="TL TR" posparent="but_next" x="-4" y="0" onclick_l="bubble_skip" active="false" />
270 <!-- Yoyo: Fake to have minimum bubble size -->
271 <group id="min_w" posparent="text" posref="TL TL" x="0" y="0" w="48" h="14" />
272 <view style="dynchat_option" id="opt0" posparent="text" posref="BL TL" x="16" y="-4" />
273 <view style="dynchat_option" id="opt1" posparent="opt0" posref="BL TL" x="0" y="-4" />
274 <view style="dynchat_option" id="opt2" posparent="opt1" posref="BL TL" x="0" y="-5" />
275 <view style="dynchat_option" id="opt3" posparent="opt2" posref="BL TL" x="0" y="-5" />
276 <view style="dynchat_option" id="opt4" posparent="opt3" posref="BL TL" x="0" y="-5" />
277 <view style="dynchat_option" id="opt5" posparent="opt4" posref="BL TL" x="0" y="-5" />
278 <view style="dynchat_option" id="opt6" posparent="opt5" posref="BL TL" x="0" y="-5" />
279 <view style="dynchat_option" id="opt7" posparent="opt6" posref="BL TL" x="0" y="-5" />
280 <ctrl style="dynchat_option_but" id="optb0" posparent="opt0" params_l="0" />
281 <ctrl style="dynchat_option_but" id="optb1" posparent="opt1" params_l="1" />
282 <ctrl style="dynchat_option_but" id="optb2" posparent="opt2" params_l="2" />
283 <ctrl style="dynchat_option_but" id="optb3" posparent="opt3" params_l="3" />
284 <ctrl style="dynchat_option_but" id="optb4" posparent="opt4" params_l="4" />
285 <ctrl style="dynchat_option_but" id="optb5" posparent="opt5" params_l="5" />
286 <ctrl style="dynchat_option_but" id="optb6" posparent="opt6" params_l="6" />
287 <ctrl style="dynchat_option_but" id="optb7" posparent="opt7" params_l="7" />
289 <view type="bitmap" id="win_talk" posref="BR TR" x="-24" y="2" posparent="window" texture="Bulle_Say_L.tga" global_color="false" />
293 <!-- * Bulle d'IA a droite * -->
294 <template name="3dIA_R" id="">
295 <group id="#id" type="container" header_active="false" options="no_bordure" openable="false" savable="false" resizer="true" movable="false" right_button="false" opened="true" w="66" h="72">
296 <group id="header_opened" x="0" y="0" w="66" h="72" posref="TL TL">
297 <view type="bitmap" id="win_ia" posref="TL TL" texture="Bulle_IA.tga" global_color="false" />
298 <view type="bitmap" id="win_think" posref="BL BL" x="2" y="0" texture="Bulle_Think_R.tga" global_color="false" />
299 <view type="bitmap" id="ia" posparent="win_ia" posref="MM MM" texture="IA_Surpris.tga" global_color="false" />
303 <!-- * Bulle d'IA a gauche * -->
304 <template name="3dIA_L" id="">
305 <group id="#id" type="container" header_active="false" options="no_bordure" openable="false" savable="false" resizer="true" movable="false" right_button="false" opened="true" w="66" h="72">
306 <group id="header_opened" x="0" y="0" w="66" h="72" posref="TL TL">
307 <view type="bitmap" id="win_ia" posref="TL TL" texture="Bulle_IA.tga" global_color="false" />
308 <view type="bitmap" id="win_think" posref="BR BR" x="-2" y="0" texture="Bulle_Think_L.tga" global_color="false" />
309 <view type="bitmap" id="ia" posparent="win_ia" posref="MM MM" texture="IA_Surpris.tga" global_color="false" />
313 <!-- ********************************* -->
314 <!-- * TEMPLATE FOR MENU SEPARATORS * -->
315 <!-- ********************************* -->
316 <template name="menu_separator" keep="true">
317 <group id="sep_gr" posref="BL BL" sizeref="w" w="0" h="4">
318 <!-- width is setupped by the menu -->
319 <view type="bitmap" id="m" scale="true" w="0" h="0" sizeref="wh" texture="W_line_hor3.tga" />
322 <!-- the same as menu_separator, but this is just a place holder (must give height of the separator -->
323 <template name="menu_separator_empty" keep="true">
324 <group id="sep" posref="BL BL" w="4" h="4" x="-4">
325 <!-- <view type="bitmap" id="l" posref="TL TL" texture="w_button_08_over.tga" /> -->
328 <!-- ******************************* -->
329 <!-- * TEMPLATE FOR MENU CHECKBOX * -->
330 <!-- ******************************* -->
331 <template name="menu_checkbox" keep="true" onclick_l="" params_l="">
332 <group id="cb" child_resize_h="true" child_resize_w="true">
333 <ctrl type="button" id="b" button_type="toggle_button" posref="TL TL" tx_normal="W_sound_off.tga" tx_pushed="W_sound_on.tga" tx_over="W_button_14_over.tga" color="255 255 255 255" col_pushed="255 255 255 255" col_over="255 255 255 255" global_color_pushed="false" onclick_l="#onclick_l" params_l="#params_l" />
336 <!-- **************************************** -->
337 <!-- * BASE PARAMETERS FOR MENU (COLOR ..) * -->
338 <!-- **************************************** -->
339 <group type="menu" id="base_menu" mouse_pos="true" exit_click_b="true" win_priority="%win_priority_highest" space="1" fontsize="12" shadow="true" color="255 255 255 200" shadow_color="0 0 0 255" color_over="0 0 0 255" shadow_color_over="0 0 0 0" color_grayed="255 255 255 64" shadow_color_grayed="0 0 0 255" highlight_over="255 255 255 150" case_mode="%case_normal"></group>
340 <group type="menu" id="base_menu_with_color" extends="base_menu">
341 <action id="choose_ui_alpha" name="uimChooseUIAlpha" handler="choose_ui_alpha" cond="eq(@UI:VARIABLES:GC_POPUP, 1)" icon="r2_toolbar_properties_pushed.tga" />
342 <action id="lock_unlock" name="uimLockUnlock" handler="lock_unlock" cond="eq(@UI:VARIABLES:GC_POPUP, 1)" icon="r2ed_toolbar_lock_small.tga" />
343 <action id="help" name="uimHelp" handler="ic_help" cond="eq(@UI:VARIABLES:GC_HAS_HELP, 1)" icon="tb_help.tga" />
345 <!-- ************** -->
346 <!-- * ITEM MENU * -->
347 <!-- ************** -->
348 <proc id="move_to_bag">
349 <action handler="move_item" params="to=lists|nblist=1|listsheet0=ui:interface:inventory:content:bag:iil:bag_icons" />
351 <proc id="move_to_pa">
352 <action handler="move_item" params="to=lists|nblist=1|listsheet0=ui:interface:inventory:content:pa@0:iil:bag_icons" />
354 <proc id="move_to_room">
355 <action handler="move_item" params="to=lists|nblist=1|listsheet0=ui:interface:inventory:content:room:iil:bag_icons" />
357 <proc id="move_to_guild">
358 <action handler="move_item" params="to=lists|nblist=1|listsheet0=ui:interface:inventory:content:guild:iil:bag_icons" />
360 <!-- item menu when we are in bags (do not modify hierarchy or ids if you do not modify the code) -->
361 <group type="menu" id="item_menu_in_bag" extends="base_menu" on_deactive="item_menu_deactivate" on_active="item_menu_check">
362 <action id="cris_enchant" name="uimCristalEnchant" handler="item_cristal_enchant" icon="cristal_spell.tga"/>
363 <action id="cris_reload" name="uimCristalReload" handler="item_cristal_reload" icon="cristal_ammo.tga"/>
364 <action id="teleport_use" name="uimTeleportUse" handler="teleport_use" icon="mp_batiment_noyau_maduk.tga"/>
365 <action id="item_consume" name="uimItemConsume" handler="item_consume" icon="conso_nectar.tga"/>
366 <action id="item_execute" name="uimItemTextDisplay" handler="item_execute" icon="r2_hand_can_pan.tga"/>
367 <action id="xp_catalyser_use" name="uimXpCatalyserUse" handler="xp_catalyser_use" icon="ico_cataliseur_xp.tga"/>
368 <action id="item_text_display" name="uiOpen" handler="item_text_display" params="ui:interface:edit_custom" icon="r2ed_tool_scenario_window.tga"/>
370 <!-- Move to an Animal -->
371 <action id="move" name="uimMoveTo" icon="curs_can_pan.tga">
372 <action id="bag" name="uimMtBag" handler="proc" params="move_to_bag" icon="ico_mission_purse.tga"/>
373 <!-- MAX_INVENTORY_ANIMAL -->
374 <action id="pa0" name="uimMtPaMount0" handler="proc" params="move_to_pa|0" icon="mektoub_map.tga"/>
375 <action id="pa1" name="uimMtPaMount1" handler="proc" params="move_to_pa|1" icon="mektoub_map.tga"/>
376 <action id="pa2" name="uimMtPaMount2" handler="proc" params="move_to_pa|2" icon="mektoub_map.tga"/>
377 <action id="pa3" name="uimMtPaMount3" handler="proc" params="move_to_pa|3" icon="mektoub_map.tga"/>
378 <action id="pa4" name="uiPABagTitleMount4" handler="proc" params="move_to_pa|4" icon="spe_beast.tga"/>
379 <action id="pa5" name="uiPABagTitleMount5" handler="proc" params="move_to_pa|5" icon="spe_beast.tga"/>
380 <action id="pa6" name="uiPABagTitleMount6" handler="proc" params="move_to_pa|6" icon="spe_beast.tga"/>
381 <action id="guild" name="uimMtGuild" handler="proc" params="move_to_guild" icon="spe_memory.tga"/>
382 <action id="room" name="uimMtRoom" handler="proc" params="move_to_room" icon="building_state2.tga"/>
384 <!--<action id="drop" name="uimDrop" handler="proc" params="drop_item_proc" />-->
385 <action id="equip" name="uimEquip" handler="inv_auto_equip" icon="filter_armor.tga"/>
386 <action id="infos" name="uimBoldInfo" handler="open_item_help" icon="brick_default.tga"/>
387 <action id="lockunlock" name="uimLockItem" handler="lock_inv_item" icon="r2ed_toolbar_lock_small.tga"/>
388 <action id="item_text_edition" name="uimItemTextEdit" handler="item_text_edition" params="ui:interface:edit_custom" icon="r2ed_tool_scenario_window.tga" />
390 <action id="destroy" name="uimDestroy" handler="proc" params="destroy_item_proc" icon="r2_toolbar_kill_small.tga" />
392 <action id="item_group" name="uimGroup" icon="r2_toolbar_customize_look_small.tga"/>
393 <!-- Will be activated and populated in code -->
394 <group type="menu" id="item_group_menu" extends="base_menu"></group>
396 <!-- MAX_INVENTORY_ANIMAL -->
397 <link expr="switch(@%pa_beast0:TYPE, 'uimMtPaMount0', 'uimMtPaMount0', 'uimMtPaPacker0', 'uimMtPaDemon0')" target="ui:interface:item_menu_in_bag:move:pa0:hardtext" />
398 <link expr="switch(@%pa_beast1:TYPE, 'uimMtPaMount1', 'uimMtPaMount1', 'uimMtPaPacker1', 'uimMtPaDemon1')" target="ui:interface:item_menu_in_bag:move:pa1:hardtext" />
399 <link expr="switch(@%pa_beast2:TYPE, 'uimMtPaMount2', 'uimMtPaMount2', 'uimMtPaPacker2', 'uimMtPaDemon2')" target="ui:interface:item_menu_in_bag:move:pa2:hardtext" />
400 <link expr="switch(@%pa_beast3:TYPE, 'uimMtPaMount3', 'uimMtPaMount3', 'uimMtPaPacker3', 'uimMtPaDemon3')" target="ui:interface:item_menu_in_bag:move:pa3:hardtext" />
401 <!-- item menu when we are in self -->
402 <group type="menu" id="item_menu_in_self" extends="base_menu" on_active="item_menu_base_check">
403 <!--<action id="drop" name="uimDrop" handler="proc" params="drop_item_proc"/>-->
404 <action id="infos" name="uimBoldInfo" handler="open_item_help" params="" icon="brick_default.tga"/>
405 <action id="lockunlock" name="uimLockItem" handler="lock_inv_item" icon="r2ed_toolbar_lock_small.tga"/>
407 <action id="destroy" name="uimDestroy" handler="proc" params="destroy_item_proc" icon="r2_toolbar_kill_small.tga" />
409 <!-- item menu when we are in hotbar -->
410 <group type="menu" id="item_menu_in_hotbar" extends="base_menu" on_active="item_menu_check">
411 <action id="cris_enchant" name="uimCristalEnchant" handler="item_cristal_enchant" icon="cristal_spell.tga"/>
412 <action id="cris_reload" name="uimCristalReload" handler="item_cristal_reload" icon="cristal_ammo.tga"/>
413 <action id="teleport_use" name="uimTeleportUse" handler="teleport_use" icon="mp_batiment_noyau_maduk.tga"/>
414 <action id="item_consume" name="uimItemConsume" handler="item_consume" icon="conso_nectar.tga"/>
415 <action id="item_execute" name="uimItemTextDisplay" handler="item_execute" icon="r2_hand_can_pan.tga"/>
416 <action id="xp_catalyser_use" name="uimXpCatalyserUse" handler="xp_catalyser_use" icon="ico_cataliseur_xp.tga"/>
417 <action id="item_text_display" name="uiOpen" handler="item_text_display" params="ui:interface:edit_custom" icon="r2ed_tool_scenario_window.tga"/>
419 <action id="infos" name="uimBoldInfo" handler="open_item_help" params="" icon="brick_default.tga"/>
421 <action id="destroy" name="uimDestroy" handler="proc" params="destroy_item_proc" icon="r2_toolbar_kill_small.tga" />
423 <!-- item menu default -->
424 <group type="menu" id="item_menu" extends="base_menu" on_active="item_menu_base_check">
425 <!--<action id="drop" name="uimDrop" handler="proc" params="drop_item_proc"/>-->
426 <action id="move" name="uimMoveTo" icon="curs_can_pan.tga">
427 <!--<action id="bag" name="uimMtBag" handler="proc" params="move_to_bag" /> -->
429 <action id="infos" name="uimBoldInfo" handler="open_item_help" params="" icon="brick_default.tga"/>
430 <action id="lockunlock" name="uimLockItem" handler="lock_inv_item" icon="r2ed_toolbar_lock_small.tga"/>
432 <action id="destroy" name="uimDestroy" handler="proc" params="destroy_item_proc" icon="r2_toolbar_kill_small.tga"/>
434 <define id="item_modal_menu" value="ui:interface:item_menu" />
435 <define id="self_item_modal_menu" value="ui:interface:item_menu_in_self" />
436 <define id="hotbar_item_modal_menu" value="ui:interface:item_menu_in_hotbar" />
437 <!-- ************************ -->
438 <!-- * ITEM DROP PROCEDURE * -->
439 <!-- ************************ -->
440 <!-- modal de selection d'armure/fourreaux -->
441 <group type="modal" id="bag_choose" x="0" y="0" w="182" posref="BL TL" child_resize_h="true" exit_click_out="true" exit_click_l="true" options="skin_modal">
442 <group type="list_sheet_filter_clm_slot" id="list" posref="TL TL" value="%bag" wspace="2" hspace="2" array="false" x="0" y="0" w="182" display_empty_slot="true" onclick_l="inv_drop" params_l="src=ctrl_launch_modal" onclick_r="open_help_auto" lmargin="4" rmargin="4" tmargin="4" bmargin="4" column_max="4" child_resize_h="true"></group>
445 <group type="modal" id="hotbar_choose" options="skin_modal" x="0" y="0" w="194" posref="BL TL" child_resize_h="true" exit_click_out="true" exit_click_l="true">
446 <group type="list_sheet_filter_hotbar_slot" id="list" posref="TL TL" value="%bag" wspace="2" hspace="2" array="false" x="2" y="0" w="194"
447 child_resize_h="true"
448 display_empty_slot="true"
450 params_l="src=ctrl_launch_modal"
451 onclick_r="open_help_auto"
452 lmargin="10" rmargin="6"
453 tmargin="10" bmargin="6"
456 maxitem="%max_bag_invslot" >
458 <ctrl style="skin_scroll" id="scroll_row" posref="TL TL" />
461 <!-- the player buy an item from a bot -->
465 <!-- set sheet of item to buy -->
466 <!--<action handler="set" params="dblink=%item_to_trade_sheet:SHEET|value=getSheetID(getDraggedSheet())" /> -->
467 <!-- activate the box to choose the number of item to but (stackable item) -->
468 <!--<action handler="set_active" params="target=ui:interface:confirm_buy:content:quantity|active=isStackable(getDraggedSheet())"/>-->
469 <!-- set the number of item to 1 -->
470 <!--<action handler="set" params="dblink=%num_stackable_item_to_trade|value=1"/>-->
471 <!-- activate the dialog to choose -->
472 <!--<action handler="buy_dropped_item"/>-->
475 <proc id="drop_item" >
477 <!-- If the item is from the inventory, just swap the item -->
478 <!-- <action handler="swap_item" params="@0" cond="eq(getSheetSelectionGroup(getDraggedSheet()), 'inventory_selection')"/> -->
479 <!-- If the items comes from a bot inventory, display the dialog to buy it -->
480 <!-- <action handler="proc" cond="eq(getDroppedItemSelectionGroup(), 'buy_selection')" params="buy_item"/>-->
482 <proc id="drop_item">
483 <action handler="swap_item" params="@0" />
485 <proc id="drag_item"></proc>
487 <proc id="test_can_drop"> -->
488 <!-- If the item is from the inventory, can drop if it is an item -->
490 <action handler="isitem" params="@0" cond="eq(getSheetSelectionGroup(getDraggedSheet()), 'inventory_selection')"/>
492 <!-- If the items comes from a bot inventory, can drop on an empty slot only. The source must also be an item -->
494 <action handler="itemtoemptyslottest" params="@0" cond="eq(getSheetSelectionGroup(getDraggedSheet()), 'buy_selection')"/>
499 <proc id="test_can_drop">
500 <action handler="isitem" params="@0" />
502 <!-- ******************* -->
504 <!-- ******************* -->
505 <template name="argent" posparent="parent" x="0" y="0" w="110" h="16" posref="TL TL" id="" tooltip="uittPlayerMoney">
506 <group id="#id" posparent="#posparent" posref="#posref" w="#w" h="#h" x="#x" y="#y">
507 <!-- Yoyo: pust scale=true, because this texture may be replaced with Faction icones (32x32) -->
508 <view type="bitmap" id="icone" posref="TL TL" texture="money_seve.tga" scale="true" w="16" h="16" global_color="false" />
509 <instance template="box_widget" id="box1" posref="TL TL" sizeref="w" w="-18" h="16" x="18" />
510 <view type="text_number" id="val1" posparent="box1" posref="MR MR" x="-3" y="0" color="135 243 28 255" shadow="true" fontsize="10" value="#value" global_color="false" positive="true" format="true" />
511 <view type="text" id="bad_price" posparent="box1" posref="MR MR" x="-3" y="0" color="192 192 192 255" shadow="true" fontsize="10" hardtext="uiBadPrice" global_color="false" />
512 <ctrl type="tooltip" id="tt" posparent="box1" posref="TL TL" sizeref="wh" w="0" h="0" tooltip="#tooltip" />
513 <!-- display bad price text if price value is -1 -->
514 <link expr="eq(@#value, -1)" target="bad_price:active" />
515 <link expr="ne(@#value, -1)" target="val1:active" />
518 <template name="elyps" posparent="parent" x="0" y="0" w="110" h="16" posref="TL TL" id="" tooltip="uittPlayerElyps" active="true">
519 <group id="#id" posparent="#posparent" posref="#posref" w="#w" h="#h" x="#x" y="#y" active="#active">
520 <view type="bitmap" id="icone" posref="TL TL" texture="points_atys_24.tga" scale="true" w="16" h="16" global_color="false" />
521 <instance template="box_widget" id="box1" posref="TL TL" sizeref="w" w="-18" h="16" x="18" />
522 <view type="text_number" id="val1" posparent="box1" posref="MR MR" x="-3" y="0" color="135 243 28 255" shadow="true" fontsize="10" value="#value" global_color="false" positive="true" format="true" />
523 <ctrl type="tooltip" id="tt" posparent="box1" posref="TL TL" sizeref="wh" w="0" h="0" tooltip="#tooltip" />
526 <!-- ********************* -->
527 <!-- * SKILL POINTS * -->
528 <!-- ********************* -->
529 <template name="skill_points_widget" posparent="parent" sizeref="w" posref="TL TL" x="0" y="0" id="" fontsize_text="10" fontsize_number="10" hardtext="uiSkillPoints" tooltip="" global_color="true">
530 <group id="#id" child_resize_h="true" posparent="#posparent" posref="#posref" sizeref="w" x="#x" y="#y" global_color="#global_color">
531 <view type="text" id="sp_text" posref="ML ML" color="255 255 255 255" x="8" shadow="true" fontsize="#fontsize_text" hardtext="#hardtext" global_color="#global_color" />
532 <view type="text_number" id="sp_value" posref="MR MR" x="-4" y="0" color="255 255 255 255" shadow="true" fontsize="#fontsize_number" value="#value" global_color="#global_color" />
534 <instance template="text_tt" posparent="#id" tooltip="#tooltip" />
536 <template name="skill_points_widget2" posparent="parent" posref="TL TL" x="0" y="0" id="" fontsize_text="10" fontsize_number="10" hardtext="uiSkillPoints">
537 <group id="#id" child_resize_h="true" posparent="#posparent" posref="#posref" child_resize_w="true" x="#x" y="#y">
538 <view type="text" id="sp_text" posref="ML ML" color="255 255 255 255" shadow="true" fontsize="#fontsize_text" hardtext="#hardtext" global_color="false" />
539 <view type="text_number" id="sp_value" posref="MR ML" posparent="sp_text" x="4" y="0" color="255 255 255 255" shadow="true" fontsize="#fontsize_number" value="#value" global_color="false" />
542 <!-- ********************* -->
543 <!-- * FACTION POINTS * -->
544 <!-- ********************* -->
545 <template name="faction_points_widget" id="" posref="TL TL" posparent="parent" x="0" y="0" sizeref="w" sizeparent="parent" w="0">
546 <group id="#id" posref="#posref" posparent="#posparent" x="#x" y="#y" sizeref="#sizeref" sizeparent="#sizeparent" w="#w" h="98">
548 <view type="text" id="factionpt_t" posref="TL TL" x="0" y="0" hardtext="uiFactionPointTable" shadow="true" color="255 255 255 255" global_color="false" fontsize="12" />
549 <instance template="text_tt" tooltip="uittIdentityFaction" posparent="factionpt_t" />
550 <!-- left part : kami fyros zorai -->
551 <group id="left" posref="TL TL" x="0" y="-14" sizeref="w5" w="0" h="84" inherit_gc_alpha="true">
553 <view type="bitmap" id="ikami" posref="TL TL" x="8" y="-8" inherit_gc_alpha="false" texture="points_kami_24.tga" global_color="false" />
554 <view type="bitmap" id="ifyro" posref="TL TL" x="8" y="-32" inherit_gc_alpha="false" texture="points_fyros_24.tga" global_color="false" />
555 <view type="bitmap" id="izora" posref="TL TL" x="8" y="-56" inherit_gc_alpha="false" texture="points_zorai_24.tga" global_color="false" />
557 <view type="text" id="tkami" posref="TL TL" x="34" y="-12" w="-16" color="255 255 255 255" fontsize="12" shadow="true" hardtext="uiFactionPoint_Kami" />
558 <view type="text" id="tfyro" posref="TL TL" x="34" y="-36" color="255 255 255 255" fontsize="12" shadow="true" hardtext="uiFactionPoint_Fyros" />
559 <view type="text" id="tzora" posref="TL TL" x="34" y="-60" color="255 255 255 255" fontsize="12" shadow="true" hardtext="uiFactionPoint_Zorai" />
561 <view type="text_number" id="vkami" posref="TR TR" x="-8" y="-12" w="-16" color="255 255 255 255" shadow="true" fontsize="12" value="%faction_points_kami" positive="true" />
562 <view type="text_number" id="vfyro" posref="TR TR" x="-8" y="-36" color="255 255 255 255" shadow="true" fontsize="12" value="%faction_points_fyros" positive="true" />
563 <view type="text_number" id="vzora" posref="TR TR" x="-8" y="-60" color="255 255 255 255" shadow="true" fontsize="12" value="%faction_points_zorai" positive="true" />
564 <instance template="inner_thin_border" posparent="parent" inherit_gc_alpha="true" />
566 <!-- right part : karavan matis tryker -->
567 <group id="right" posref="TR TR" x="0" y="-14" w="-1" sizeref="w5" h="84" inherit_gc_alpha="true">
569 <view type="bitmap" id="ikara" posref="TL TL" x="8" y="-8" inherit_gc_alpha="false" texture="points_karavan_24.tga" global_color="false" />
570 <view type="bitmap" id="imati" posref="TL TL" x="8" y="-32" inherit_gc_alpha="false" texture="points_matis_24.tga" global_color="false" />
571 <view type="bitmap" id="itryk" posref="TL TL" x="8" y="-56" inherit_gc_alpha="false" texture="points_tryker_24.tga" global_color="false" />
573 <view type="text" id="tkara" posref="TL TL" x="34" y="-12" w="-16" color="255 255 255 255" fontsize="12" shadow="true" hardtext="uiFactionPoint_Karavan" />
574 <view type="text" id="tmati" posref="TL TL" x="34" y="-36" color="255 255 255 255" fontsize="12" shadow="true" hardtext="uiFactionPoint_Matis" />
575 <view type="text" id="ttryk" posref="TL TL" x="34" y="-60" color="255 255 255 255" fontsize="12" shadow="true" hardtext="uiFactionPoint_Tryker" />
577 <view type="text_number" id="vkara" posref="TR TR" x="-8" y="-12" color="255 255 255 255" shadow="true" fontsize="12" value="%faction_points_karavan" positive="true" />
578 <view type="text_number" id="vmati" posref="TR TR" x="-8" y="-36" color="255 255 255 255" shadow="true" fontsize="12" value="%faction_points_matis" positive="true" />
579 <view type="text_number" id="vtryk" posref="TR TR" x="-8" y="-60" color="255 255 255 255" shadow="true" fontsize="12" value="%faction_points_tryker" positive="true" />
580 <instance template="inner_thin_border" posparent="parent" inherit_gc_alpha="true" />
584 <!-- *********************** -->
585 <!-- * ORGANIZATION POINTS * -->
586 <!-- *********************** -->
587 <template name="org_points_widget" id="" posref="TL TL" posparent="parent" x="0" y="0" sizeref="w" sizeparent="parent" w="0">
588 <group id="#id" posref="#posref" posparent="#posparent" x="#x" y="#y" sizeref="#sizeref" sizeparent="#sizeparent" w="#w" h="50">
589 <view type="text" id="orgpt_t" posref="TL TL" x="0" y="0" hardtext="uiOrgPointTable" shadow="true" color="255 255 255 255" global_color="false" fontsize="12" />
590 <instance template="text_tt" tooltip="uittIdentityOrganization" posparent="orgpt_t" />
592 <group id="left" posref="TL TL" x="0" y="-14" sizeref="w5" w="0" h="36" inherit_gc_alpha="true">
594 <view type="bitmap" id="imara" posref="TL TL" x="8" y="-8" inherit_gc_alpha="false" texture="points_marauder_24.tga" global_color="false" />
596 <view type="text" id="tmara" posref="TL TL" x="34" y="-12" w="-16" color="255 255 255 255" fontsize="12" shadow="true" hardtext="uiFameMarauders" />
598 <view type="text_number" id="vmara" posref="TR TR" x="-8" y="-12" w="-16" color="255 255 255 255" shadow="true" fontsize="12" value="%faction_points_marauder" positive="true" />
599 <instance template="inner_thin_border" posparent="parent" inherit_gc_alpha="true" />
602 <group id="right" posref="TR TR" x="0" y="-14" sizeref="w5" w="-1" h="36" inherit_gc_alpha="true">
604 <view type="bitmap" id="iranger" posref="TL TL" x="8" y="-8" inherit_gc_alpha="false" texture="points_ranger_24.tga" global_color="false" />
606 <view type="text" id="tranger" posref="TL TL" x="34" y="-12" w="-16" color="255 255 255 255" fontsize="12" shadow="true" hardtext="uiOrganization_7" />
608 <view type="text_number" id="vranger" posref="TR TR" x="-8" y="-12" color="255 255 255 255" shadow="true" fontsize="12" value="%faction_points_ranger" positive="true" />
609 <instance template="inner_thin_border" posparent="parent" inherit_gc_alpha="true" />
613 <!-- ********************* -->
614 <!-- * KNOWLEDGE OF ATYS * -->
615 <!-- ********************* -->
616 <template name="ecosystem_points_widget" id="" posref="TL TL" posparent="parent" x="0" y="0" sizeref="w" sizeparent="parent" w="0">
617 <group id="#id" posref="#posref" posparent="#posparent" x="#x" y="#y" sizeref="#sizeref" sizeparent="#sizeparent" w="#w" h="78">
618 <view type="text" id="ecosystem_points_title" posref="TL TL" x="0" y="0" hardtext="uiR2EDEcosystemPointsTitle" shadow="true" color="255 255 255 255" global_color="false" fontsize="12" />
620 <group id="left" posref="TL TL" x="0" y="-14" sizeref="w5" w="0" h="64" inherit_gc_alpha="true">
621 <instance template="ecosystem_points" id="basic" posref="TL TL" x="8" y="-8" w="-16" tooltip="uiR2EDBasicsPointsTooltip" text="uiR2EDBasicsPoints" />
622 <instance template="ecosystem_points" id="desert" posparent="basic" posref="BL TL" tooltip="uiR2EDDesertPointsTooltip" text="uiR2EDDesertPoints" />
623 <instance template="ecosystem_points" id="subtropic" posparent="desert" posref="BL TL" tooltip="uiR2EDSubtropicPointsTooltip" text="uiR2EDSubtropicPoints" />
624 <instance template="inner_thin_border" posparent="parent" inherit_gc_alpha="true" />
627 <group id="right" posref="TR TR" x="0" y="-14" sizeref="w5" w="-1" h="64" inherit_gc_alpha="true">
628 <instance template="ecosystem_points" id="forest" posref="TL TL" x="8" y="-8" w="-16" tooltip="uiR2EDForestPointsTooltip" text="uiR2EDForestPoints" />
629 <instance template="ecosystem_points" id="jungle" posparent="forest" posref="BL TL" tooltip="uiR2EDJunglePointsTooltip" text="uiR2EDJunglePoints" />
630 <instance template="ecosystem_points" id="primeroot" posparent="jungle" posref="BL TL" tooltip="uiR2EDPrimeRootPointsTooltip" text="uiR2EDPrimeRootPoints" />
631 <instance template="inner_thin_border" posparent="parent" inherit_gc_alpha="true" />
635 <!-- ******************* -->
636 <!-- * SELECT NUMBER * -->
637 <!-- ******************* -->
638 <template name="SNH" id="" value="" loop="true" min="0" max="9" posparent="parent" posref="MM MM" x="0" y="0" w="28" h="20" delta="1">
639 <group type="select_number" id="#id" value="#value" loop="#loop" min="#min" max="#max" x="#x" y="#y" w="#w" h="#h" posparent="#posparent" posref="#posref" delta="#delta">
640 <view type="bitmap" id="slot_number" posref="ML ML" texture="W_slot_number.tga" />
641 <view type="text" id="number" posparent="slot_number" posref="MM MM" x="-1" y="-2" color="255 255 255 255" fontsize="12" shadow="true" hardtext="0" global_color="false" />
642 <ctrl type="button" id="arrow_up" button_type="push_button" posref="TR TR" tx_normal="W_arrow_up_2.tga" tx_pushed="W_arrow_up_2.tga" tx_over="W_button_10_over.tga" />
643 <ctrl type="button" id="arrow_down" button_type="push_button" posref="BR BR" tx_normal="W_arrow_down_2.tga" tx_pushed="W_arrow_down_2.tga" tx_over="W_button_10_over.tga" />
646 <template name="SNV" id="" value="" loop="true" min="0" max="9" posparent="parent" posref="MM MM" x="0" y="0" w="16" h="40" delta="1">
647 <group type="select_number" id="#id" value="#value" loop="#loop" min="#min" max="#max" x="#x" y="#y" w="#w" h="#h" posparent="#posparent" posref="#posref" delta="#delta">
648 <view type="bitmap" id="slot_number" posref="MM MM" texture="W_slot_number.tga" />
649 <view type="text" id="number" posparent="slot_number" posref="MM MM" x="-1" y="-2" color="255 255 255 255" fontsize="12" shadow="true" hardtext="0" global_color="false" />
650 <ctrl type="button" id="arrow_up" button_type="push_button" posref="TM TM" tx_normal="W_arrow_up_1.tga" tx_pushed="W_arrow_up_1.tga" tx_over="W_button_12_over.tga" />
651 <ctrl type="button" id="arrow_down" button_type="push_button" posref="BM BM" tx_normal="W_arrow_down_1.tga" tx_pushed="W_arrow_down_1.tga" tx_over="W_button_12_over.tga" />
657 <!-- test if drop can be done depending on the mode
658 Param 0 is src=... (filled by code)
660 <proc id="slot_can_drop">
661 <action cond="eq(getSheetSelectionGroup(getDraggedSheet()), 'inventory_selection')" handler="isitem_slot" params="@0" />
662 <action cond="eq(getSheetSelectionGroup(getDraggedSheet()), 'buy_selection')" handler="isitem_slot" params="@0|test_empty=true" />
664 <!-- Exemple of ifthenelse function
665 <view type="text" id="notabene" posparent="handr" posref="MM MM" color="255 255 255 255" fontsize="12" shadow="true" hardtext="0" />
666 <link expr="ifthenelse(isRangeWeapon (@%set_base:#setnumber:%set_r),str('RW'),str('.'))" target="notabene:hardtext" />
668 <!-- template for border inside of a group -->
669 <template name="inner_thin_border" posparent="parent" keep="true" inherit_gc_alpha="false">
670 <view type="bitmap" id="bg" texture="W_box_blank.tga" scale="true" posparent="#posparent" posref="MM MM" sizeref="hw" w="-8" h="-8" inherit_gc_alpha="#inherit_gc_alpha" />
671 <view type="bitmap" id="tlb" texture="W_box_top_left.tga" posref="TL TL" posparent="#posparent" inherit_gc_alpha="#inherit_gc_alpha" />
672 <view type="bitmap" id="trb" texture="W_box_top_right.tga" posref="TR TR" posparent="#posparent" inherit_gc_alpha="#inherit_gc_alpha" />
673 <view type="bitmap" id="brb" texture="W_box_bot_right.tga" posref="BR BR" posparent="#posparent" inherit_gc_alpha="#inherit_gc_alpha" />
674 <view type="bitmap" id="blb" texture="W_box_bot_left.tga" posref="BL BL" posparent="#posparent" inherit_gc_alpha="#inherit_gc_alpha" />
675 <view type="bitmap" id="tb" texture="W_box_top.tga" posref="TM TM" posparent="#posparent" scale="true" sizeref="w" w="-8" h="4" inherit_gc_alpha="#inherit_gc_alpha" />
676 <view type="bitmap" id="bb" texture="W_box_bot.tga" posref="BM BM" posparent="#posparent" scale="true" sizeref="w" w="-8" h="4" inherit_gc_alpha="#inherit_gc_alpha" />
677 <view type="bitmap" id="lb" texture="W_box_left.tga" posref="ML ML" posparent="#posparent" scale="true" sizeref="h" h="-8" w="4" inherit_gc_alpha="#inherit_gc_alpha" />
678 <view type="bitmap" id="rb" texture="W_box_right.tga" posref="MR MR" posparent="#posparent" scale="true" sizeref="h" h="-8" w="4" inherit_gc_alpha="#inherit_gc_alpha" />
683 <template name="chat_box" posparent="parent" posref="TL TL" x="0" y="0" w="0" h="64" sizeref="" maxelements="200" keep="true" chat="false">
684 <group type="scroll_text" id="#id" sizeref="#sizeref" w="#w" h="#h" posparent="#posparent" posref="#posref" y="#y" x="#x" popup_minh="96">
686 <ctrl type="button" id="button_add" posref="TR TR" button_type="push_button" tx_normal="W_scale_more_3.tga" tx_pushed="W_scale_more_3.tga" tx_over="W_button_08_over.tga"/>
687 <ctrl type="button" id="button_sub" posref="TL TR" posparent="button_add" x="-4" button_type="push_button" tx_normal="W_scale_less_3.tga" tx_pushed="W_scale_less_3.tga" tx_over="W_button_08_over.tga"/>
689 <group id="black" posref="BR BR" sizeref="hw" w="-10" h="-12" inherit_gc_alpha="true" />
690 <instance template="inner_thin_border" posparent="black" inherit_gc_alpha="true" />
691 <group type="list" id="text_list" chat="#chat" fontsize="10" posref="BL BL" posparent="black" x="2" y="2" space="0" sizeref="hw" w="-4" h="-4" maxelements="#maxelements" />
692 <ctrl style="skin_scroll" id="scroll_bar" />
695 <template name="chat_box_mainchat" posparent="parent" posref="TL TL" x="0" y="0" w="0" h="0" sizeref="" maxelements="200" keep="true" chat="false">
696 <group type="scroll_text" id="#id" w="#w" h="#h" sizeref="#sizeref" posparent="#posparent" posref="#posref" y="#y" x="#x">
698 <ctrl type="button" id="button_add" posref="TR TR" button_type="push_button" tx_normal="W_scale_more_3.tga" tx_pushed="W_scale_more_3.tga" tx_over="W_button_08_over.tga"/>
699 <ctrl type="button" id="button_sub" posref="TL TR" posparent="button_add" x="-4" button_type="push_button" tx_normal="W_scale_less_3.tga" tx_pushed="W_scale_less_3.tga" tx_over="W_button_08_over.tga"/>
701 <group id="black" posref="BR BR" sizeref="hw" w="-10" h="-4" inherit_gc_alpha="true" />
702 <instance template="inner_thin_border" posparent="black" inherit_gc_alpha="true" />
703 <group type="list" id="text_list" chat="#chat" fontsize="10" posref="BL BL" posparent="black" x="2" y="2" space="0" sizeref="hw" w="-4" h="-4" maxelements="#maxelements" />
704 <ctrl style="skin_scroll" id="scroll_bar" />
707 <!-- ********************* -->
708 <!-- * EDIT BOX WIDGET * -->
709 <!-- ********************* -->
710 <template name="edit_box_widget" active="true" posref="TL TL" text_x="0" text_y="0" text_ref="BL BL" child_resize_h="true" child_resize_hmargin="0" multi_line="false" x="0" y="0" w="0" h="0" sizeref="" id="eb" posparent="parent" onenter="chat_box_entry" params="" reset_focus_on_hide="true" enter_loose_focus="true" prompt=">" enter_recover_focus="true" max_num_chars="255" menu_r="" onchange="" onchange_params="" entry_type="text" keep="true" max_historic="40" fontsize="10" shadow="true" shadow_x="1" shadow_y="1" shadow_color="0 0 0 255" shadow_outline="false" backup_father_container_pos="false" want_return="false" clear_on_escape="false" color="255 255 255 255" continuous_text_update="false" bg_texture="W_box_blank.tga" on_focus_lost="" on_focus_lost_params="" max_float_prec="5" tooltip="" tooltip_parent="" negative_filter="" render_layer="0">
711 <group id="#id" active="#active" posref="#posref" x="#x" y="#y" posparent="#posparent" child_resize_h="#child_resize_h" child_resize_hmargin="#child_resize_hmargin" sizeref="#sizeref" w="#w" h="#h" render_layer="#render_layer" >
712 <group type="edit_box" sizeref="w" w="-8" id="eb" posref="TL TL" x="4" y="-4" child_resize_h="true" onenter="#onenter" params="#params" onchange="#onchange" onchange_params="#onchange_params" max_num_chars="#max_num_chars" prompt="#prompt" enter_loose_focus="#enter_loose_focus" enter_recover_focus="#enter_recover_focus" entry_type="#entry_type" reset_focus_on_hide="#reset_focus_on_hide" menu_r="#menu_r" max_historic="#max_historic" want_return="#want_return" clear_on_escape="#clear_on_escape" backup_father_container_pos="#backup_father_container_pos" on_focus_lost="#on_focus_lost" on_focus_lost_params="#on_focus_lost_params" max_float_prec="#max_float_prec" tooltip="#tooltip" tooltip_parent="#tooltip_parent" negative_filter="#negative_filter" render_layer="#render_layer">
713 <view type="bitmap" id="bg" scale="true" sizeref="hw" h="0" w="0" texture="#bg_texture" inherit_gc_alpha="true" render_layer="#render_layer" />
714 <view id="edit_text" type="text" continuous_update="#continuous_text_update" x="#text_x" y="#text_y" posref="#text_ref" multi_line="#multi_line" multi_line_space="0" fontsize="#fontsize" color="#color" shadow="#shadow" shadow_x="#shadow_x" shadow_y="#shadow_y" shadow_color="#shadow_color" shadow_outline="#shadow_outline" hardtext="" global_color="false" render_layer="#render_layer" />
716 <!-- border around the list -->
717 <view type="bitmap" id="tlb" texture="W_box_top_left.tga" posparent="eb" posref="TL BR" inherit_gc_alpha="true" render_layer="#render_layer" />
718 <view type="bitmap" id="trb" texture="W_box_top_right.tga" posparent="eb" posref="TR BL" inherit_gc_alpha="true" render_layer="#render_layer" />
719 <view type="bitmap" id="brb" texture="W_box_bot_right.tga" posparent="eb" posref="BR TL" inherit_gc_alpha="true" render_layer="#render_layer" />
720 <view type="bitmap" id="blb" texture="W_box_bot_left.tga" posparent="eb" posref="BL TR" inherit_gc_alpha="true" render_layer="#render_layer" />
721 <view type="bitmap" id="tb" texture="W_box_top.tga" posparent="eb" posref="TL BL" scale="true" sizeref="w" w="0" h="4" inherit_gc_alpha="true" render_layer="#render_layer" />
722 <view type="bitmap" id="bb" texture="W_box_bot.tga" posparent="eb" posref="BL TL" scale="true" sizeref="w" w="0" h="4" inherit_gc_alpha="true" render_layer="#render_layer" />
723 <view type="bitmap" id="lb" texture="W_box_left.tga" posparent="eb" posref="TL TR" scale="true" sizeref="h" h="0" w="4" inherit_gc_alpha="true" render_layer="#render_layer" />
724 <view type="bitmap" id="rb" texture="W_box_right.tga" posparent="eb" posref="TR TL" scale="true" sizeref="h" h="0" w="4" inherit_gc_alpha="true" render_layer="#render_layer" />
727 <!-- ******************************* -->
728 <!-- * MULTILINE EDIT BOX WIDGET * -->
729 <!-- ******************************* -->
730 <template name="edit_box_widget_multiline" posref="TL TL" text_x="0" text_y="0" text_ref="BL BL" child_resize_h="true" multi_line="true" multi_min_line="0" x="0" y="0" w="0" h="0" sizeref="" id="eb" posparent="parent" onenter="chat_box_entry" params="" reset_focus_on_hide="true" enter_loose_focus="true" prompt=">" enter_recover_focus="true" max_num_chars="10000" max_num_return="50" menu_r="" onchange="" onchange_params="" entry_type="text" keep="true" max_historic="40" fontsize="10" shadow="true" shadow_x="1" shadow_y="1" shadow_color="0 0 0 255" shadow_outline="false" backup_father_container_pos="false" want_return="false" color="255 255 255 255" sizeref_eb="w" render_layer="0" negative_filter="">
731 <group id="#id" posref="#posref" x="#x" y="#y" posparent="#posparent" child_resize_h="#child_resize_h" sizeref="#sizeref" w="#w" h="#h" render_layer="#render_layer">
732 <group type="edit_box" sizeref="#sizeref_eb" w="-8" id="eb" posref="TL TL" x="4" y="-4" child_resize_h="#child_resize_h" onenter="#onenter" params="#params" onchange="#onchange" onchange_params="#onchange_params" max_num_chars="#max_num_chars" max_num_return="#max_num_return" prompt="#prompt" enter_loose_focus="#enter_loose_focus" enter_recover_focus="#enter_recover_focus" entry_type="#entry_type" reset_focus_on_hide="#reset_focus_on_hide" menu_r="#menu_r" max_historic="#max_historic" want_return="#want_return" backup_father_container_pos="#backup_father_container_pos" render_layer="#render_layer" negative_filter="#negative_filter">
733 <view type="bitmap" id="bg" scale="true" sizeref="hw" h="0" w="0" texture="W_box_blank.tga" inherit_gc_alpha="true" render_layer="#render_layer" />
734 <view id="edit_text" type="text" x="#text_x" y="#text_y" posref="#text_ref" multi_line="#multi_line" multi_line_space="0" multi_min_line="#multi_min_line" fontsize="#fontsize" color="#color" shadow="#shadow" shadow_x="#shadow_x" shadow_y="#shadow_y" shadow_color="#shadow_color" shadow_outline="#shadow_outline" hardtext="" global_color="false" render_layer="#render_layer" />
736 <!-- border around the list -->
737 <view type="bitmap" id="tlb" texture="W_box_top_left.tga" posparent="eb" posref="TL BR" inherit_gc_alpha="true" render_layer="#render_layer" />
738 <view type="bitmap" id="trb" texture="W_box_top_right.tga" posparent="eb" posref="TR BL" inherit_gc_alpha="true" render_layer="#render_layer" />
739 <view type="bitmap" id="brb" texture="W_box_bot_right.tga" posparent="eb" posref="BR TL" inherit_gc_alpha="true" render_layer="#render_layer" />
740 <view type="bitmap" id="blb" texture="W_box_bot_left.tga" posparent="eb" posref="BL TR" inherit_gc_alpha="true" render_layer="#render_layer" />
741 <view type="bitmap" id="tb" texture="W_box_top.tga" posparent="eb" posref="TL BL" scale="true" sizeref="w" w="0" h="4" inherit_gc_alpha="true" render_layer="#render_layer" />
742 <view type="bitmap" id="bb" texture="W_box_bot.tga" posparent="eb" posref="BL TL" scale="true" sizeref="w" w="0" h="4" inherit_gc_alpha="true" render_layer="#render_layer" />
743 <view type="bitmap" id="lb" texture="W_box_left.tga" posparent="eb" posref="TL TR" scale="true" sizeref="h" h="0" w="4" inherit_gc_alpha="true" render_layer="#render_layer" />
744 <view type="bitmap" id="rb" texture="W_box_right.tga" posparent="eb" posref="TR TL" scale="true" sizeref="h" h="0" w="4" inherit_gc_alpha="true" render_layer="#render_layer" />
747 <!-- ******************** -->
748 <!-- * STACK SELECTION * -->
749 <!-- ******************** -->
750 <proc id="stack_dialog_ok">
751 <action handler="stack_item" />
752 <action handler="leave_modal" />
754 <!-- declare the dummy stack selection slot -->
755 <variable entry="UI:VARIABLES:STACK_SELECTED:DSPSLOT:SHEET" type="sint32" value="0" />
756 <variable entry="UI:VARIABLES:STACK_SELECTED:DSPSLOT:QUANTITY" type="sint32" value="0" />
757 <variable entry="UI:VARIABLES:STACK_SELECTED:DSPSLOT:QUALITY" type="sint32" value="0" />
758 <variable entry="UI:VARIABLES:STACK_SELECTED:DSPSLOT:USER_COLOR" type="sint32" value="0" />
759 <variable entry="UI:VARIABLES:STACK_SELECTED:DSPSLOT:WEIGHT" type="sint32" value="0" />
760 <variable entry="UI:VARIABLES:STACK_SELECTED:DSPSLOT:NAMEID" type="sint32" value="0" />
761 <variable entry="UI:VARIABLES:STACK_SELECTED:DSPSLOT:INFOVERSION" type="sint32" value="0" />
762 <variable entry="UI:VARIABLES:STACK_SELECTED:DSPSLOT:ENCHANT" type="sint32" value="0" />
763 <variable entry="UI:VARIABLES:STACK_SELECTED:DSPSLOT:RM_CLASS_TYPE" type="sint32" value="0" />
764 <variable entry="UI:VARIABLES:STACK_SELECTED:DSPSLOT:RM_FABER_STAT_TYPE" type="sint32" value="0" />
766 <group type="modal" id="stack_dialog" exit_click_out="true" posref="TL TL" w="155" h="80" options="skin_modal" on_enter="proc" on_enter_params="stack_dialog_ok">
767 <view type="text" id="text" posref="TL TL" x="4" y="-4" color="255 255 255 255" fontsize="12" shadow="true" global_color="false" hardtext="uiSelectQuantity" />
768 <ctrl type="sheet" id="sheet" onclick_r="open_help_auto" value="UI:VARIABLES:STACK_SELECTED:DSPSLOT" posref="MM MM" x="-26" y="0" use_quantity="false" />
769 <view type="text" id="x" posparent="sheet" posref="MR MM" x="8" y="0" color="255 255 255 255" fontsize="12" shadow="true" hardtext="X" />
770 <instance template="edit_box_widget" id="edit" entry_type="positive_integer" text_ref="TR TR" text_y="0" fontsize="12" posparent="sheet" posref="MR ML" x="16" y="0" text_x="-2" w="32" prompt="" enter_loose_focus="false" multi_line="false" max_num_chars="3" onchange="editbox_number" onchange_params="value=UI:VARIABLES:STACK_SELECTED:CUR_QUANTITY|update_text=false" onenter="proc" params="stack_dialog_ok" max_historic="0" />
771 <instance template="button_ok_cancel" posref="BR BR" x="-4" y="4" onclick_ok="proc" onclick_ok_param="stack_dialog_ok" onclick_cancel="leave_modal" onclick_cancel_param="" />
773 <!-- ************************ -->
774 <!-- * UI COLOR SELECTIONS * -->
775 <!-- ************************ -->
776 <variable entry="UI:TEMP:COLOR:R" type="sint64" value="0" />
777 <variable entry="UI:TEMP:COLOR:G" type="sint64" value="0" />
778 <variable entry="UI:TEMP:COLOR:B" type="sint64" value="0" />
779 <variable entry="UI:VARIABLES:ALPHA_BG" type="sint32" />
780 <variable entry="UI:VARIABLES:ALPHA_CONTENT" type="sint32" />
781 <variable entry="UI:VARIABLES:ALPHA_ROLLOVER_BG" type="sint32" />
782 <variable entry="UI:VARIABLES:ALPHA_ROLLOVER_CONTENT" type="sint32" />
783 <variable entry="UI:VARIABLES:USER_ALPHA" type="sint32" value="0" />
784 <proc id="cancel_choose_ui_alpha">
785 <action handler="cancel_choose_ui_alpha" params="" />
786 <action handler="leave_modal" params="" />
788 <group type="modal" id="define_ui_transparency" posref="TM BM" y="-8" h="190" child_resize_w="true" child_resize_wmargin="16" exit_click_out="true" onclick_out="proc" onclick_out_params="cancel_choose_ui_alpha" options="skin_modal" win_priority="%win_priority_highest">
789 <view type="text" id="text_opacity" posref="TM TM" x="0" y="-4" color="255 255 255 255" fontsize="12" shadow="true" global_color="false" hardtext="uimChooseUIAlpha" />
790 <!-- button to use global settings -->
791 <group id="globals_settings" posparent="text_opacity" posref="BM TM" y="-8" child_resize_h="true" child_resize_w="true">
792 <view type="text" id="text_use_glob_alp" posref="TM TM" x="10" y="-2" color="255 255 255 255" fontsize="10" shadow="true" hardtext="uiUserAlpha" />
793 <ctrl type="button" id="use_glob_alp" button_type="toggle_button" posparent="text_use_glob_alp" posref="ML MR" x="-4" y="0" tx_normal="w_opacity_on.tga" tx_pushed="w_slot_on.tga" tx_over="w_slot_on.tga" color="255 255 255 255" col_pushed="255 255 255 255" col_over="255 255 255 0" onclick_l="use_global_alpha_settings" />
794 <link expr="@UI:VARIABLES:USER_ALPHA" target="use_glob_alp:pushed" />
796 <view type="text" id="pipo" posref="TM TM" x="0" y="-40" color="255 255 255 255" fontsize="10" shadow="true" hardtext="uiLocalAlpha" />
798 <view type="text" id="text_alp_bg" posparent="pipo" posref="BM TM" x="0" y="-8" color="255 255 255 160" fontsize="8" shadow="true" hardtext="uiAlphaBG" />
799 <view type="bitmap" id="b1" posparent="text_alp_bg" posref="BM TM" scale="true" x="0" y="-4" w="64" h="2" texture="W_line_hor2.tga" />
800 <ctrl type="scroll" id="alp1" posparent="b1" posref="MM MM" x="0" y="0" w="64" h="8" vertical="false" align="L" min="0" max="255" value="UI:VARIABLES:ALPHA_BG" tracksize="8" onscroll="" params="" tx_topright="w_scroll_R.tga" tx_middle="w_scroll_l123_m.tga" tx_bottomleft="w_scroll_L.tga" />
802 <view type="text" id="text_alp_content" posparent="b1" x="0" y="-8" posref="BM TM" color="255 255 255 160" fontsize="8" shadow="true" hardtext="uiAlphaContent" />
803 <view type="bitmap" id="b2" posparent="text_alp_content" posref="BM TM" scale="true" x="0" y="-4" w="64" h="2" texture="W_line_hor2.tga" />
804 <ctrl type="scroll" id="alp2" posparent="b2" posref="MM MM" x="0" y="0" w="64" h="8" vertical="false" align="L" min="64" max="255" value="UI:VARIABLES:ALPHA_CONTENT" tracksize="8" onscroll="" params="" tx_topright="w_scroll_R.tga" tx_middle="w_scroll_l123_m.tga" tx_bottomleft="w_scroll_L.tga" />
805 <!-- rollover background -->
806 <view type="text" id="text_alp_rollover_bg" posparent="b2" x="0" y="-8" posref="BM TM" color="255 255 255 160" fontsize="8" shadow="true" hardtext="uiAlphaRolloverBG" />
807 <view type="bitmap" id="b3" posparent="text_alp_rollover_bg" posref="BM TM" scale="true" x="0" y="-4" w="64" h="2" texture="W_line_hor2.tga" />
808 <ctrl type="scroll" id="alp3" posparent="b3" posref="MM MM" x="0" y="0" w="64" h="8" vertical="false" align="L" min="0" max="255" value="UI:VARIABLES:ALPHA_ROLLOVER_BG" tracksize="8" onscroll="" params="" tx_topright="w_scroll_R.tga" tx_middle="w_scroll_l123_m.tga" tx_bottomleft="w_scroll_L.tga" />
809 <!-- rollover content -->
810 <view type="text" id="text_alp_rollover_content" posparent="b3" x="0" y="-8" posref="BM TM" color="255 255 255 160" fontsize="8" shadow="true" hardtext="uiAlphaRolloverContent" />
811 <view type="bitmap" id="b4" posparent="text_alp_rollover_content" posref="BM TM" scale="true" x="0" y="-4" w="64" h="2" texture="W_line_hor2.tga" />
812 <ctrl type="scroll" id="alp4" posparent="b4" posref="MM MM" x="0" y="0" w="64" h="8" vertical="false" align="L" min="64" max="255" value="UI:VARIABLES:ALPHA_ROLLOVER_CONTENT" tracksize="8" onscroll="" params="" tx_topright="w_scroll_R.tga" tx_middle="w_scroll_l123_m.tga" tx_bottomleft="w_scroll_L.tga" />
813 <link expr="@UI:VARIABLES:USER_ALPHA" target="alp1:active,alp2:active,alp3:active,alp4:active" />
814 <link expr="ifthenelse(@UI:VARIABLES:USER_ALPHA, 255, 96)" target="pipo:alpha,text_alp_bg:alpha,b1:alpha,text_alp_content:alpha,b2:alpha,text_alp_rollover_bg:alpha,text_alp_rollover_content:alpha,b3:alpha,b4:alpha" />
815 <link expr="ifthenelse(@UI:VARIABLES:USER_ALPHA, 96, 255)" target="globals_settings:text_use_glob_alp:alpha" />
816 <instance template="button_ok_cancel" posref="BR BR" x="-4" y="4" onclick_ok="leave_modal" onclick_ok_param="" onclick_cancel="proc" onclick_cancel_param="cancel_choose_ui_alpha" />
817 <link expr="depends(@UI:VARIABLES:ALPHA_CONTENT)" action="set" params="dblink=UI:VARIABLES:ALPHA_BG|value=min(@UI:VARIABLES:ALPHA_CONTENT, @UI:VARIABLES:ALPHA_BG)" />
818 <link expr="depends(@UI:VARIABLES:ALPHA_BG)" action="set" params="dblink=UI:VARIABLES:ALPHA_CONTENT|value=max(@UI:VARIABLES:ALPHA_CONTENT, @UI:VARIABLES:ALPHA_BG)" />
819 <link expr="depends(@UI:VARIABLES:ALPHA_ROLLOVER_CONTENT)" action="set" params="dblink=UI:VARIABLES:ALPHA_ROLLOVER_BG|value=min(@UI:VARIABLES:ALPHA_ROLLOVER_CONTENT, @UI:VARIABLES:ALPHA_ROLLOVER_BG)" />
820 <link expr="depends(@UI:VARIABLES:ALPHA_ROLLOVER_BG)" action="set" params="dblink=UI:VARIABLES:ALPHA_ROLLOVER_CONTENT|value=max(@UI:VARIABLES:ALPHA_ROLLOVER_CONTENT, @UI:VARIABLES:ALPHA_ROLLOVER_BG)" />
822 <!-- **************** -->
823 <!-- * BOX WIDGET * -->
824 <!-- **************** -->
825 <template name="box_widget" posref="TL TL" x="0" y="0" w="64" h="16" id="" posparent="parent" sizeref="" keep="true" render_layer="0">
826 <group id="#id" posparent="#posparent" posref="#posref" w="#w" h="#h" x="#x" y="#y" sizeref="#sizeref">
827 <group id="bg" sizeref="hw" h="0" w="0" />
828 <view type="bitmap" render_layer="#render_layer" id="back" scale="true" posparent="bg" posref="MM MM" sizeref="hw" h="-8" w="-8" texture="W_box_blank.tga" inherit_gc_alpha="true" />
829 <view type="bitmap" render_layer="#render_layer" id="bgb" scale="true" sizeref="hw" h="0" w="0" texture="W_box_blank.tga" inherit_gc_alpha="true" />
830 <view type="bitmap" render_layer="#render_layer" id="tlb" texture="W_box_top_left.tga" posref="TL TL" inherit_gc_alpha="true" />
831 <view type="bitmap" render_layer="#render_layer" id="trb" texture="W_box_top_right.tga" posref="TR TR" inherit_gc_alpha="true" />
832 <view type="bitmap" render_layer="#render_layer" id="brb" texture="W_box_bot_right.tga" posref="BR BR" inherit_gc_alpha="true" />
833 <view type="bitmap" render_layer="#render_layer" id="blb" texture="W_box_bot_left.tga" posref="BL BL" inherit_gc_alpha="true" />
834 <view type="bitmap" render_layer="#render_layer" id="tb" texture="W_box_top.tga" posref="TM TM" scale="true" sizeref="w" w="-8" h="4" inherit_gc_alpha="true" />
835 <view type="bitmap" render_layer="#render_layer" id="bb" texture="W_box_bot.tga" posref="BM BM" scale="true" sizeref="w" w="-8" h="4" inherit_gc_alpha="true" />
836 <view type="bitmap" render_layer="#render_layer" id="lb" texture="W_box_left.tga" posref="ML ML" scale="true" sizeref="h" h="-8" w="4" inherit_gc_alpha="true" />
837 <view type="bitmap" render_layer="#render_layer" id="rb" texture="W_box_right.tga" posref="MR MR" scale="true" sizeref="h" h="-8" w="4" inherit_gc_alpha="true" />
840 <template name="frame_widget" posref="TL TL" x="0" y="0" w="64" h="16" id="" posparent="parent" sizeref="" keep="true">
841 <group id="#id" posparent="#posparent" posref="#posref" w="#w" h="#h" x="#x" y="#y" sizeref="#sizeref">
842 <group id="bg" sizeref="hw" h="0" w="0" />
843 <view type="bitmap" id="t" texture="blank.tga" posref="TM TM" scale="true" sizeref="w" w="0" h="1" color="3 3 3 255" />
844 <view type="bitmap" id="b" texture="blank.tga" posref="BM BM" scale="true" sizeref="w" w="0" h="1" color="160 160 160 255" />
845 <view type="bitmap" id="l" texture="blank.tga" posref="ML ML" scale="true" sizeref="h" h="-2" w="1" color="45 45 45 255" />
846 <view type="bitmap" id="r" texture="blank.tga" posref="MR MR" scale="true" sizeref="h" h="-2" w="1" color="129 129 129 255" />
849 <template name="border_select_widget" posref="TL TL" x="0" y="0" w="64" h="16" id="" posparent="parent" sizeref="" keep="true" alpha="255" render_layer="0">
850 <group id="#id" posparent="#posparent" posref="#posref" w="#w" h="#h" x="#x" y="#y" sizeref="#sizeref">
851 <group id="bg" sizeref="hw" h="0" w="0" />
852 <view type="bitmap" id="t" texture="blank.tga" posref="TM TM" scale="true" sizeref="w" w="0" h="1" global_color="false" color="255 255 255 #alpha" render_layer="#render_layer" />
853 <view type="bitmap" id="b" texture="blank.tga" posref="BM BM" scale="true" sizeref="w" w="0" h="1" global_color="false" color="255 255 255 #alpha" render_layer="#render_layer" />
854 <view type="bitmap" id="l" texture="blank.tga" posref="ML ML" scale="true" sizeref="h" h="-2" w="1" global_color="false" color="255 255 255 #alpha" render_layer="#render_layer" />
855 <view type="bitmap" id="r" texture="blank.tga" posref="MR MR" scale="true" sizeref="h" h="-2" w="1" global_color="false" color="255 255 255 #alpha" render_layer="#render_layer" />
858 <!-- template for the inner border of a dialog, with thick border on the left -->
859 <template name="inner_thick_border" id="inner_thick_border" posparent="parent" keep="true">
860 <group id="#id" posref="TL TL" sizeref="hw">
861 <view type="bitmap" id="tlb" texture="W_L0_TL.tga" posparent="#posparent" posref="TL TL" />
862 <view type="bitmap" id="trb" texture="W_L0_TR.tga" posparent="#posparent" posref="TR TR" />
863 <view type="bitmap" id="brb" texture="W_L0_BR.tga" posparent="#posparent" posref="BR BR" />
864 <view type="bitmap" id="blb" texture="W_L0_BL.tga" posparent="#posparent" posref="BL BL" />
865 <view type="bitmap" id="tb" texture="W_L0_T.tga" posparent="#posparent" posref="TL TL" scale="true" sizeref="w" w="-24" h="8" x="16" />
866 <view type="bitmap" id="bb" texture="W_L0_B.tga" posparent="#posparent" posref="BL BL" scale="true" sizeref="w" w="-24" h="8" x="16" />
867 <view type="bitmap" id="lb" texture="W_L0_L.tga" posparent="#posparent" posref="TL TL" scale="true" sizeref="h" h="-16" w="16" y="-8" />
868 <view type="bitmap" id="rb" texture="W_L0_R.tga" posparent="#posparent" posref="TR TR" scale="true" sizeref="h" h="-16" w="8" y="-8" />
871 <!-- ***************** -->
872 <!-- * CONTEXT HELP * -->
873 <!-- ***************** -->
874 <template name="context_help_border" id="border" w="12" h="9">
875 <group id="#id" posref="TL TL" sizeref="wh" w="#w" h="#h" >
877 <view type="bitmap" id="midcolor" sizeref="wh" posref="MM MM" h="-4" w="-4" scale="true" global_color="false" texture="blank.tga" />
880 <!-- Define varaibles for the list sheet of the root brick selection modal-->
881 <!--<define id="phrase_brick_selection_max" value_from_code="getPhraseBrickSelectionMax()" />-->
882 <variable entry="UI:VARIABLES:CRYSTALBRICKS:$i:SHEET" type="sint32" value="0" size="64" />
883 <!-- Over Text used for buttons or controls -->
884 <group id="context_help" posref="BL BL" child_resize_w="true" child_resize_wmargin="12" child_resize_h="true" child_resize_hmargin="9">
885 <instance template="context_help_border"/>
886 <!--System, don'change the ids -->
887 <view type="text" id="text" posref="TM TM" y="-6" color="255 255 255 255" global_color="false" fontsize="10" shadow="true" multi_line="true" multi_line_space="1" line_maxw="300" multi_line_maxw_only="true" />
889 <!-- Over Text used for actions : this include additionnal icons -->
890 <group id="action_context_help" posref="BL BL" child_resize_w="true" child_resize_wmargin="12" child_resize_h="true" child_resize_hmargin="9">
891 <instance template="context_help_border"/>
892 <!--System, don'change the ids -->
893 <view type="text" id="text" posref="TL TL" y="-6" x="5" color="255 255 255 255" global_color="false" fontsize="10" shadow="true" multi_line="true" multi_line_space="1" line_maxw="300" multi_line_maxw_only="true" />
894 <view type="text" id="success_rate" y="0" posparent="text" posref="BL TL" hardtext="success_rate" active="false" global_color="false" />
895 <view type="bitmap" id="hp_cost" texture="ico_heal.tga" global_color="false" posref="BL TL" posparent="success_rate" />
896 <view type="bitmap" id="sta_cost" y="0" texture="ico_stamina.tga" global_color="false" posref="BL TL" posparent="hp_cost" />
897 <view type="bitmap" id="sap_cost" y="0" texture="ico_sap.tga" global_color="false" posref="BL TL" posparent="sta_cost" />
898 <view type="bitmap" id="focus_cost" y="0" texture="ico_focus.tga" global_color="false" posref="BL TL" posparent="sap_cost" />
899 <view type="bitmap" id="cast_time" y="0" texture="ico_time.tga" global_color="false" posref="BL TL" posparent="focus_cost" />
900 <view type="bitmap" id="cast_range" y="0" texture="ico_range.tga" global_color="false" posref="BL TL" posparent="cast_time" />
901 <view type="text" id="hp_cost_text" posparent="hp_cost" posref="MR ML" hardtext="0" global_color="false" />
902 <view type="text" id="sta_cost_text" posparent="sta_cost" posref="MR ML" hardtext="0" global_color="false" />
903 <view type="text" id="sap_cost_text" posparent="sap_cost" posref="MR ML" hardtext="0" global_color="false" />
904 <view type="text" id="focus_cost_text" posparent="focus_cost" posref="MR ML" hardtext="0" global_color="false" />
905 <view type="text" id="cast_time_text" posparent="cast_time" posref="MR ML" hardtext="0" global_color="false" />
906 <view type="text" id="cast_range_text" posparent="cast_range" posref="MR ML" hardtext="0" global_color="false" />
907 <view type="text" id="disable_time" y="0" posparent="cast_range_text" posref="BL TL" hardtext="uittDisableTime" active="false" global_color="false" />
908 <view type="text" id="regen_time" y="0" posparent="disable_time" posref="BL TL" hardtext="regen_time" active="false" global_color="false" />
910 <!-- Over Text used for Buff Items : this include additionnal icons -->
911 <group id="buff_item_context_help" posref="BL BL" child_resize_w="true" child_resize_wmargin="12" child_resize_h="true" child_resize_hmargin="9" global_color="false">
912 <instance template="context_help_border"/>
913 <!--System, don'change the ids -->
914 <view type="text" id="text" posref="TL TL" y="-6" x="5" color="255 255 255 255" global_color="false" fontsize="10" shadow="true" multi_line="true" multi_line_space="1" line_maxw="300" multi_line_maxw_only="true" />
915 <view type="bitmap" id="hp_buff" h="15" y="0" texture="ico_heal.tga" global_color="false" posref="BL TL" posparent="text" active="true" />
916 <view type="bitmap" id="sta_buff" y="0" texture="ico_stamina.tga" global_color="false" posref="BL TL" posparent="hp_buff" />
917 <view type="bitmap" id="sap_buff" y="0" texture="ico_sap.tga" global_color="false" posref="BL TL" posparent="sta_buff" />
918 <view type="bitmap" id="focus_buff" y="0" texture="ico_focus.tga" global_color="false" posref="BL TL" posparent="sap_buff" />
919 <view type="bitmap" id="durability" y="0" texture="ico_absorb_damage.tga" global_color="false" posref="BL TL" posparent="focus_buff" />
920 <view type="text" id="hp_buff_text" posparent="hp_buff" posref="MR ML" hardtext="0" global_color="false" />
921 <view type="text" id="sta_buff_text" posparent="sta_buff" posref="MR ML" hardtext="0" global_color="false" />
922 <view type="text" id="sap_buff_text" posparent="sap_buff" posref="MR ML" hardtext="0" global_color="false" />
923 <view type="text" id="focus_buff_text" posparent="focus_buff" posref="MR ML" hardtext="0" global_color="false" />
924 <view type="text" id="durability_text" posparent="durability" posref="MR ML" hardtext="0" global_color="false" />
925 <view type="text" id="durability_sep" posparent="durability_text" posref="MR ML" hardtext="/" global_color="false" />
926 <view type="text" id="durability_max" posparent="durability_sep" posref="MR ML" hardtext="0" global_color="false" />
928 <!-- Over Text used for Crystallized Spells: this include additionnal icons -->
929 <define id="crystallized_spell_list_brick" value="ui:interface:crystallized_spell_context_help:list_brick" />
930 <group id="crystallized_spell_context_help" posref="BL BL" child_resize_w="true" child_resize_wmargin="12" child_resize_h="true" child_resize_hmargin="9" global_color="false">
931 <instance template="context_help_border"/>
932 <!--System, don'change the ids -->
933 <view type="text" id="text" posref="TL TL" y="-6" x="5" color="255 255 255 255" global_color="false" fontsize="10" shadow="true" multi_line="true" multi_line_space="1" line_maxw="300" multi_line_maxw_only="true" />
934 <!-- For Cristallized Phrase -->
935 <instance template="template_info_list_brick" type="list_sheet_compo_brick" id="list_brick" brickdb="UI:VARIABLES:CRYSTALBRICKS" posparent="text" xcost="230" line_maxw="185" multi_line_maxw_only="true" param_deltax="13" sizeref="none" child_resize_w="true" child_resize_wmargin="13" global_color="false" tx_normal="blank2.tga" />
937 <!-- Over Text used for SingleLine TextView that are clamped (group_tree, keys interface....) -->
938 <group id="over_extend_view_text" child_resize_w="true" child_resize_h="true" child_resize_wmargin="4" child_resize_hmargin="4" posref="BL BL">
939 <!-- System, don'change the ids, nor the posref -->
940 <!-- color and modulate_color are replaced according to the view text to over -->
941 <view type="bitmap" id="midoutline" sizeref="wh" posref="MM MM" w="0" h="0" scale="true" color="255 255 255 255" texture="blank.tga" />
942 <view type="bitmap" id="midback" sizeref="wh" posref="MM MM" h="-2" w="-2" scale="true" color="64 64 64 255" texture="blank.tga" />
943 <!-- fontsize, shadow, text, color, modulate_color.... are replaced according to the view text to over -->
944 <view type="text" id="text" posref="BL BL" x="2" y="0" color="255 255 255 255" fontsize="12" shadow="true" multi_line="false" />
946 <!-- Helper to place a tooltip over a text or anything else
947 Basically just define 'posparent', and 'tooltip'. (id is the parent id prefixed by tt_
948 Other params are for advanced use
950 <template name="text_tt" posparent="" tooltip="" tooltip_i18n="" on_tooltip="" on_tooltip_params="" instant_help="true" tooltip_parent="ctrl" tooltip_posref="auto" tooltip_special_parent="" keep="true">
951 <ctrl type="tooltip" id="tt_#posparent" sizeref="wh" x="0" y="0" w="0" h="0" posparent="#posparent" tooltip="#tooltip" tooltip_i18n="#tooltip_i18n" on_tooltip="#on_tooltip" on_tooltip_params="#on_tooltip_params" instant_help="#instant_help" tooltip_parent="#tooltip_parent" tooltip_posref="#tooltip_posref" tooltip_special_parent="#tooltip_special_parent" />
953 <!-- ******************************** -->
954 <!-- * ITEM DROP/DESTROY PROCEDURE * -->
955 <!-- ******************************** -->
956 <proc id="drop_item_proc">
957 <!-- set the mode -->
958 <action handler="set" params="dblink=UI:DROP_DESTROY_ITEM:DROP_MODE|value=1" />
959 <action handler="proc" params="drop_destroy_item_proc" />
961 <proc id="destroy_item_proc">
962 <!-- set the mode -->
963 <action handler="set" params="dblink=UI:DROP_DESTROY_ITEM:DROP_MODE|value=0" />
964 <action handler="proc" params="drop_destroy_item_proc" />
966 <proc id="drop_destroy_item_proc">
967 <!-- copy infos about current sheet -->
968 <action handler="eval_expr" params="expr=copySheet(getMenuItemSheet(), getSheetFromId('ui:interface:drop_destroy_item_quantity_modal:sheet'))" />
969 <!-- set default quantity to 1 -->
970 <action handler="set" params="dblink=UI:DROP_DESTROY_ITEM:ITEM:QUANTITY|value=1" />
971 <!-- if the item is stackable, popup a menu to select the number of item to drop/destroy, else, directly drop/destroy the item (after confirmation)-->
972 <action cond="isStackable(getMenuItemSheet())" handler="enter_modal" params="group=ui:interface:drop_destroy_item_quantity_modal" />
973 <action cond="not(isStackable(getMenuItemSheet()))" handler="enter_modal" params="group=ui:interface:drop_destroy_item_confirm_modal" />
975 <!-- proc to setup modal box to choose the number of item to drop/destroy -->
976 <proc id="setup_drop_destroy_item_modal">
977 <!-- copy the max number of items into the edit box (start value that is displayed), and the db -->
978 <action handler="set" params="dblink=UI:DROP_DESTROY_ITEM:ITEM:QUANTITY|value=getSheetQuantity(getMenuItemSheet())" />
979 <action handler="set" params="target_property=ui:interface:drop_destroy_item_quantity_modal:edit:eb:input_string|value=getSheetQuantity(getMenuItemSheet())" />
980 <!-- set keyboard focus on the edit box -->
981 <action handler="set_keyboard_focus" params="select_all=true|target=ui:interface:drop_destroy_item_quantity_modal:edit:eb" />
983 <!-- proc that is called when the user has given the number of item to drop/destroy -->
984 <proc id="drop_destroy_item_quantity_modal_ok">
985 <!-- close the modal -->
986 <action handler="leave_modal" params="" />
987 <!-- clamp the number of item to drop/destroy -->
988 <action handler="set" params="dblink=UI:DROP_DESTROY_ITEM:ITEM:QUANTITY|value=min(getSheetQuantity(getMenuItemSheet()), @@UI:DROP_DESTROY_ITEM:ITEM:QUANTITY)" />
989 <!-- call the modal to confirm the choice -->
990 <action cond="ne(@UI:DROP_DESTROY_ITEM:ITEM:QUANTITY, 0)" handler="enter_modal" params="group=ui:interface:drop_destroy_item_confirm_modal" />
992 <!-- temp variables -->
993 <variable entry="UI:DROP_DESTROY_ITEM:ITEM:SHEET" type="sint64" value="0" />
994 <variable entry="UI:DROP_DESTROY_ITEM:ITEM:QUANTITY" type="sint64" value="0" />
995 <variable entry="UI:DROP_DESTROY_ITEM:ITEM:QUALITY" type="sint64" value="0" />
996 <variable entry="UI:DROP_DESTROY_ITEM:ITEM:USER_COLOR" type="sint64" value="0" />
997 <variable entry="UI:DROP_DESTROY_ITEM:ITEM:LOCKED" type="sint64" value="0" />
998 <variable entry="UI:DROP_DESTROY_ITEM:ITEM:WEIGHT" type="sint64" value="0" />
999 <variable entry="UI:DROP_DESTROY_ITEM:ITEM:NAMEID" type="sint64" value="0" />
1000 <variable entry="UI:DROP_DESTROY_ITEM:ITEM:INFO_VERSION" type="sint64" value="0" />
1001 <variable entry="UI:DROP_DESTROY_ITEM:ITEM:ENCHANT" type="sint32" value="0" />
1002 <variable entry="UI:DROP_DESTROY_ITEM:ITEM:RM_CLASS_TYPE" type="sint32" value="0" />
1003 <variable entry="UI:DROP_DESTROY_ITEM:ITEM:RM_FABER_STAT_TYPE" type="sint32" value="0" />
1004 <variable entry="UI:DROP_DESTROY_ITEM:ITEM:PREREQUSIT_VALID" type="sint32" value="0" />
1005 <!-- drop or destroy/mode -->
1006 <variable entry="UI:DROP_DESTROY_ITEM:DROP_MODE" type="sint64" value="0" />
1007 <!-- modal box to choose the number of item to drop/destroy -->
1008 <group type="modal" id="drop_destroy_item_quantity_modal" exit_click_out="true" posref="TL TL" w="180" h="80" x="-8" y="8" on_active="proc" on_active_params="setup_drop_destroy_item_modal" options="skin_modal" on_enter="proc" on_enter_params="drop_destroy_item_quantity_modal_ok">
1009 <view type="bitmap" id="warning" posref="TL TL" x="4" y="-4" global_color="false" texture="w_warning_2.tga" />
1010 <view type="text" id="destroy_text" posref="TL TL" x="20" y="-5" fontsize="12" shadow="true" hardtext="uimQuantityDestroy" global_color="false" color="233 197 42 255" />
1011 <view type="text" id="drop_text" posref="TL TL" x="20" y="-5" fontsize="12" shadow="true" hardtext="uimQuantityDrop" global_color="false" color="233 197 42 255" />
1012 <ctrl type="sheet" id="sheet" value="UI:DROP_DESTROY_ITEM:ITEM" posparent="parent" posref="MM MM" x="-26" y="0" />
1013 <view type="text" id="x" posparent="sheet" posref="MR MM" x="8" y="0" color="255 255 255 255" fontsize="12" shadow="true" hardtext="X" />
1014 <instance template="edit_box_widget" entry_type="positive_integer" id="edit" text_ref="TR TR" text_y="0" fontsize="12" posparent="sheet" posref="MR ML" x="16" text_x="-2" w="32" prompt="" enter_loose_focus="false" multi_line="false" max_num_chars="3" onchange="editbox_number" onchange_params="value=UI:DROP_DESTROY_ITEM:ITEM:QUANTITY|update_text=false" onenter="proc" params="drop_destroy_item_quantity_modal_ok" max_historic="0" />
1015 <instance template="button_ok_cancel" posref="BR BR" x="-4" y="4" onclick_ok="proc" onclick_ok_param="drop_destroy_item_quantity_modal_ok" onclick_cancel="leave_modal" onclick_cancel_param="" />
1016 <!-- link to display the right text (drop or destroy) -->
1017 <link expr="eq(@UI:DROP_DESTROY_ITEM:DROP_MODE, 1)" target="drop_text:active" />
1018 <link expr="ne(@UI:DROP_DESTROY_ITEM:DROP_MODE, 1)" target="destroy_text:active" />
1020 <!-- confirm drop/destroy item -->
1021 <proc id="confirm_drop_destroy_item">
1022 <action handler="leave_modal" params="" />
1023 <action cond="eq(@UI:DROP_DESTROY_ITEM:DROP_MODE, 1)" handler="drop_item" params="quantity=@@UI:DROP_DESTROY_ITEM:ITEM:QUANTITY" />
1024 <action cond="ne(@UI:DROP_DESTROY_ITEM:DROP_MODE, 1)" handler="destroy_item" params="quantity=@@UI:DROP_DESTROY_ITEM:ITEM:QUANTITY" />
1026 <!-- modal box to confirm destruction of the item -->
1027 <group type="modal" id="drop_destroy_item_confirm_modal" exit_click_out="true" posref="TL TL" x="-8" y="8" w="104" h="96" on_enter="proc" options="skin_modal" on_enter_params="confirm_drop_destroy_item">
1028 <view type="bitmap" id="warning" posref="TL TL" x="4" y="-4" global_color="false" texture="w_warning_2.tga" />
1029 <view type="text" id="destroy_text" posref="TL TL" x="20" y="-5" color="233 197 42 255" fontsize="12" shadow="true" global_color="false" hardtext="uimDestroy" />
1030 <view type="text" id="drop_text" posref="TL TL" x="20" y="-5" color="233 197 42 255" fontsize="12" shadow="true" global_color="false" hardtext="uimDrop" />
1031 <ctrl type="sheet" id="sheet" value="UI:DROP_DESTROY_ITEM:ITEM" posparent="parent" posref="MM MM" y="0" x="0" use_quantity="false" />
1032 <view type="text" id="disp_number" posref="MR MM" posparent="sheet" x="16" y="-1" color="255 255 255 255" fontsize="12" shadow="true" global_color="false" hardtext="" />
1033 <!-- link to display the right number of item -->
1034 <link expr="ifthenelse(eq(@UI:DROP_DESTROY_ITEM:ITEM:QUANTITY, 1), '', str('x', @UI:DROP_DESTROY_ITEM:ITEM:QUANTITY))" target="disp_number:hardtext" />
1035 <link expr="ifthenelse(eq(@UI:DROP_DESTROY_ITEM:ITEM:QUANTITY, 1), 0, -10)" target="sheet:x" />
1036 <instance template="button_ok_cancel" posref="BR BR" x="-4" y="4" onclick_ok="proc" onclick_ok_param="confirm_drop_destroy_item" onclick_cancel="leave_modal" onclick_cancel_param="" />
1037 <!-- link to display the right text (drop or destroy) -->
1038 <link expr="eq(@UI:DROP_DESTROY_ITEM:DROP_MODE, 1)" target="drop_text:active" />
1039 <link expr="ne(@UI:DROP_DESTROY_ITEM:DROP_MODE, 1)" target="destroy_text:active" />
1041 <!-- ********************************************************* -->
1042 <!-- * AUTOMATIC OPENING / RESTORING OF PLAYER INVENTORY * -->
1043 <!-- ********************************************************* -->
1044 <proc id="memorize_inventory_state">
1045 <!-- memorize previous state -->
1046 <!-- <action handler="set" params="dblink=%bag1_open_value|value=isOpen('ui:interface:userbag1')"/>
1047 <action handler="set" params="dblink=%bag2_open_value|value=isOpen('ui:interface:userbag2')"/>
1048 <action handler="set" params="dblink=%bag3_open_value|value=isOpen('ui:interface:userbag3')"/>
1049 <action handler="set" params="dblink=%bag4_open_value|value=isOpen('ui:interface:userbag4')"/>
1050 <action handler="set" params="dblink=%bags_open_value|value=isOpen('ui:interface:userbags')"/>
1051 <action handler="set" params="dblink=%player_open_value|value=isOpen('ui:interface:player')"/>
1052 <action handler="set" params="dblink=%money_open_value|value=isOpen('ui:interface:usermoney')"/> -->
1053 <action handler="set" params="dblink=%inventory_open_value|value=isOpen('ui:interface:inventory')" />
1054 <!-- force to open the inventory -->
1055 <!-- <action handler="set_open" cond="le(1,@%bag_nb)" params="target=ui:interface:userbags|open='true'"/>
1056 <action handler="set_open" cond="le(1,@%bag_nb)" params="target=ui:interface:userbag1|open='true'"/>
1057 <action handler="set_open" cond="le(2,@%bag_nb)" params="target=ui:interface:userbag2|open='true'"/>
1058 <action handler="set_open" cond="le(3,@%bag_nb)" params="target=ui:interface:userbag3|open='true'"/>
1059 <action handler="set_open" cond="le(4,@%bag_nb)" params="target=ui:interface:userbag4|open='true'"/>
1060 <action handler="set_open" params="target=ui:interface:player|open='true'"/>
1061 <action handler="set_open" params="target=ui:interface:usermoney|open='true'"/> -->
1062 <action handler="set_open" params="target=ui:interface:inventory|open='true'" />
1063 <!-- reset flag to see if the user has opened the inventory -->
1064 <!--<action handler="set" params="dblink=%bag1_touched|value=0"/>
1065 <action handler="set" params="dblink=%bag2_touched|value=0"/>
1066 <action handler="set" params="dblink=%bag3_touched|value=0"/>
1067 <action handler="set" params="dblink=%bag4_touched|value=0"/>
1068 <action handler="set" params="dblink=%bags_touched|value=0"/>
1069 <action handler="set" params="dblink=%player_touched|value=0"/>
1070 <action handler="set" params="dblink=%money_touched|value=0"/>-->
1071 <action handler="set" params="dblink=%inventory_touched|value=0" />
1073 <proc id="restore_inventory_state">
1074 <!--<action handler="set_open" cond="and(eq(@%bag1_touched, 0), le(1,@%bag_nb))" params="target=ui:interface:userbag1|open=@@%bag1_open_value"/>
1075 <action handler="set_open" cond="and(eq(@%bag2_touched, 0), le(2,@%bag_nb))" params="target=ui:interface:userbag2|open=@@%bag2_open_value"/>
1076 <action handler="set_open" cond="and(eq(@%bag3_touched, 0), le(3,@%bag_nb))" params="target=ui:interface:userbag3|open=@@%bag3_open_value"/>
1077 <action handler="set_open" cond="and(eq(@%bag4_touched, 0), le(4,@%bag_nb))" params="target=ui:interface:userbag4|open=@@%bag4_open_value"/>
1078 <action handler="set_open" cond="and(eq(@%bags_touched, 0), le(1,@%bag_nb))" params="target=ui:interface:userbags|open=@@%bags_open_value"/>
1079 <action handler="set_open" cond="eq(@%player_touched, 0)" params="target=ui:interface:player|open=@@%player_open_value"/>
1080 <action handler="set_open" cond="eq(@%money_touched, 0)" params="target=ui:interface:usermoney|open=@@%money_open_value"/>-->
1081 <action handler="set_open" cond="eq(@%inventory_touched, 0)" params="target=ui:interface:inventory|open=@@%inventory_open_value" />
1084 <template name="modal_border" posparent="parent">
1085 <view type="bitmap" id="tlb" texture="W_modal_TL.tga" posparent="#posparent" posref="TL TL" />
1086 <view type="bitmap" id="trb" texture="W_modal_TR.tga" posparent="#posparent" posref="TR TR" />
1087 <view type="bitmap" id="brb" texture="W_modal_BR.tga" posparent="#posparent" posref="BR BR" />
1088 <view type="bitmap" id="blb" texture="W_modal_BL.tga" posparent="#posparent" posref="BL BL" />
1089 <view type="bitmap" id="tb" texture="W_modal_T.tga" posparent="#posparent" posref="TM TM" scale="true" sizeref="w" w="-8" h="4" />
1090 <view type="bitmap" id="bb" texture="W_modal_B.tga" posparent="#posparent" posref="BM BM" scale="true" sizeref="w" w="-8" h="4" />
1091 <view type="bitmap" id="lb" texture="W_modal_L.tga" posparent="#posparent" posref="ML ML" scale="true" sizeref="h" h="-8" w="4" />
1092 <view type="bitmap" id="rb" texture="W_modal_R.tga" posparent="#posparent" posref="MR MR" scale="true" sizeref="h" h="-8" w="4" />
1094 <!-- *************************** -->
1095 <!-- * COMBO BOX DEFINITIONS * -->
1096 <!-- *************************** -->
1097 <!-- the modal Menu opened on a combo box 's click -->
1098 <group type="menu" id="combo_box_select_menu" posref="BL TL" x="0" y="0" mouse_pos="false" space="2" shadow="false" color="255 255 255 128" shadow_color="0 0 0 255" color_over="255 255 255 255" shadow_color_over="0 0 0 255" color_grayed="0 0 0 255" shadow_color_grayed="155 155 155 255" fontsize="12" highlight_over="255 255 255 128" force_inside_screen="true"></group>
1099 <group type="menu" id="combo_box_measure_menu" posref="BL TL" x="0" y="0" active="false" mouse_pos="false" space="2" shadow="false" color="255 255 255 128" shadow_color="0 0 0 255" color_over="255 255 255 255" shadow_color_over="0 0 0 255" color_grayed="0 0 0 255" shadow_color_grayed="155 155 155 255" fontsize="12" highlight_over="255 255 255 128" force_inside_screen="true" />
1100 <!-- the common children definitions of a combo box -->
1101 <!-- keep is true because this template is used in the teditcmd template -->
1102 <template name="combo_box_def1" keep="true" render_layer="0">
1104 <instance template="box_widget" render_layer="#render_layer" id="back" sizeref="wh" w="0" h="0" />
1105 <view type="bitmap" render_layer="#render_layer" id="arrow" posref="MR MR" x="-4" texture="W_arrow_down_2.tga" />
1107 <view type="text" id="text" render_layer="#render_layer" posref="ML ML" x="2" />
1108 <ctrl type="button" render_layer="#render_layer" button_type="push_button" id="select" sizeref="wh" w="0" h="0" col_over="255 255 255 90" tx_over="blank.tga" scale="true" />
1110 <!-- ******************* -->
1112 <!-- ******************* -->
1113 <!-- Common Style of a Modal Container. user should define
1114 - the "modal_parent" window
1115 - and the "on_enter" ActionHandler to support all "Modal Container" aspects.
1117 <style style="container_modal" type="container" movable="true" resizer="false" global_color="false" openable="false" opened="true" active="false" escapable="true" right_button="true" />
1118 <!-- Common Style for an OK Button. User should define:
1119 - "onclick_l" and "params_l"
1120 - x, y, posparent and posref
1122 <style style="button_ok" type="text_button" id="ok" button_type="push_button" tx_normal="w_text_button_normal" tx_pushed="w_text_button_pushed" tx_over="w_text_button_over" global_color_normal="true" global_color_over="true" global_color_pushed="true" text_y="0" fontsize="10" shadow="true" case_mode="%case_upper" wmargin="8" />
1123 <!-- Common Style for a Cancel Button. By default positioned according to the "ok" button. User should define:
1124 - "onclick_l" and "params_l"
1126 <style style="button_cancel" type="text_button" id="cancel" button_type="push_button" tx_normal="w_text_button_normal" tx_pushed="w_text_button_pushed" tx_over="w_text_button_over" global_color_normal="true" global_color_over="true" global_color_pushed="true" text_y="0" fontsize="10" shadow="true" case_mode="%case_upper" wmargin="8" />
1127 <!-- Group of two ok, cancel buttons
1129 <template name="button_ok_cancel" id="ok_cancel" ok_text="uittOK" cancel_text="uittCancel" posparent="parent" posref="BM TM" onclick_ok="" onclick_ok_param="" onclick_cancel="" onclick_cancel_param="" x="0" y="0" keep="true" tooltip_ok="" avoid_resize_parent="false">
1130 <group id="#id" posparent="#posparent" posref="#posref" child_resize_w="true" child_resize_h="true" x="#x" y="#y" avoid_resize_parent="#avoid_resize_parent">
1131 <ctrl style="button_ok" x="0" y="0" posref="TL TL" text_y="0" onclick_l="#onclick_ok" params_l="#onclick_ok_param" hardtext="#ok_text" tooltip="#tooltip_ok" />
1132 <ctrl style="button_cancel" x="4" posparent="ok" text_y="0" posref="TR TL" onclick_l="#onclick_cancel" params_l="#onclick_cancel_param" hardtext="#cancel_text" />
1135 <!-- Common Style for a Close Button.
1137 <style style="button_close" type="button" id="close" button_type="push_button" posref="TR TR" x="0" y="0" tx_normal="W_close_1.tga" tx_pushed="W_close_1.tga" tx_over="W_button_12_over.tga" global_color_normal="false" global_color_pushed="false" />
1138 <!-- Common Style for a text Button. User should define:
1141 - "onclick_l" and "params_l"
1142 - x, y, posparent and posref
1144 <style style="text_button_16" type="text_button" button_type="push_button" tx_normal="w_text_button_normal" tx_pushed="w_text_button_pushed" tx_over="w_text_button_over" global_color_normal="true" global_color_over="true" global_color_pushed="true" text_y="0" fontsize="10" shadow="true" case_mode="%case_upper" wmargin="8" text_color_normal="255 255 255 128" text_color_pushed="255 255 255 255" text_color_over="255 255 255 255" />
1145 <style style="text_button_header" type="text_button" button_type="push_button" tx_normal="w_text_button_normal" tx_pushed="w_text_button_pushed" tx_over="w_text_button_over" text_y="0" fontsize="10" shadow="true" case_mode="%case_upper" wmargin="8" text_color_normal="255 255 255 128" text_color_pushed="255 255 255 255" text_color_over="255 255 255 255" global_color_normal="false" global_color_over="false" global_color_pushed="false" text_global_color_normal="false" text_global_color_pushed="false" text_global_color_over="false" text_header_color="true" />
1146 <style style="new_element_header" type="text_button" button_type="push_button" tx_normal="w_text_button_normal" tx_pushed="w_text_button_pushed" tx_over="w_text_button_over" global_color_normal="true" global_color_over="true" global_color_pushed="true" text_y="0" fontsize="10" shadow="true" case_mode="%case_upper" wmargin="8" text_global_color_normal="true" text_global_color_pushed="true" text_global_color_over="true" text_color_normal="255 255 255 128" text_color_pushed="255 255 255 255" text_color_over="255 255 255 255" text_header_color="true" />
1147 <style style="new_element_content" type="text_button" button_type="push_button" tx_normal="w_text_button_normal" tx_pushed="w_text_button_pushed" tx_over="w_text_button_over" text_y="0" fontsize="10" shadow="true" case_mode="%case_upper" wmargin="8" global_color_normal="true" global_color_over="true" global_color_pushed="true" text_global_color_normal="true" text_global_color_pushed="true" text_global_color_over="true" text_color_normal="255 255 255 128" text_color_pushed="255 255 255 255" text_color_over="255 255 255 255" />
1148 <style style="qh_button" type="text_button" button_type="radio_button" tx_normal="qh_off" tx_pushed="qh_on" tx_over="qh_off" wmin="208" wmargin="8" global_color_normal="true" global_color_over="true" global_color_pushed="false" color="255 255 255 128" col_over="255 255 255 0" col_pushed="255 128 0 192" text_y="0" fontsize="12" shadow="true" text_color_normal="255 255 255 255" text_color_pushed="255 255 255 255" text_color_over="255 255 255 255" text_shadow_color_normal="0 0 0 255" text_shadow_color_pushed="0 0 0 255" text_shadow_color_over="0 0 0 255" text_global_color_normal="true" text_global_color_pushed="false" text_global_color_over="false" />
1149 <style style="defense_style_button" type="text_button" button_type="radio_button" tx_normal="qh_off" tx_pushed="qh_on" tx_over="qh_off" wmin="86" wmargin="8" global_color_normal="true" global_color_over="true" global_color_pushed="false" color="255 255 255 128" col_over="255 255 255 0" col_pushed="255 190 0 192" text_y="0" fontsize="12" shadow="true" text_color_normal="255 255 255 160" text_color_pushed="255 255 255 255" text_color_over="255 255 255 255" text_shadow_color_normal="0 0 0 255" text_shadow_color_pushed="0 0 0 255" text_shadow_color_over="0 0 0 255" text_global_color_normal="true" text_global_color_pushed="false" text_global_color_over="false" />
1150 <style style="defense_button" type="button" button_type="radio_button" tx_normal="W_slot_item_selected.tga" tx_pushed="W_slot_item_selected.tga" tx_over="W_slot_item_selected.tga" color="255 255 255 0" col_over="255 255 255 255" col_pushed="255 190 0 255" global_color_normal="true" global_color_over="true" global_color_pushed="false" />
1151 <style style="quit_button" type="text_button" button_type="push_button" tx_normal="Quit_button_normal" tx_pushed="Quit_button_pushed" tx_over="Quit_button_over" wmargin="12" global_color_normal="false" global_color_over="false" global_color_pushed="false" color="255 255 255 255" col_over="255 255 255 255" col_pushed="255 255 255 255" text_y="0" fontsize="14" shadow="true" text_color_pushed="255 255 255 255" text_color_over="255 255 255 255" text_shadow_color_normal="0 0 0 255" text_shadow_color_pushed="0 0 0 255" text_shadow_color_over="0 0 0 255" text_global_color_normal="false" text_global_color_pushed="false" text_global_color_over="false" />
1152 <!-- Common Style for a Tab Button. User should define:
1154 - posparent: eg "tab0"
1156 - x="0" and posref="TL TL" for tab0
1158 <style style="tab_button_16" type="tab_button" button_type="radio_button" x="-2" posref="TR TL" tx_normal="w_text_button_normal" tx_pushed="w_text_button_pushed" tx_over="w_text_button_over" global_color_normal="true" global_color_over="true" global_color_pushed="true" text_y="0" fontsize="10" shadow="true" case_mode="%case_upper" wmargin="8" text_color_normal="255 255 255 128" text_color_pushed="255 255 255 255" text_color_over="255 255 255 255" />
1159 <style style="tab_button_new" type="tab_button" button_type="radio_button" x="0" posref="TR TL" tx_normal="w_tab_normal" tx_pushed="w_tab_pushed" tx_over="w_tab_over" global_color_normal="true" global_color_over="true" global_color_pushed="true" color="255 255 255 255" col_over="255 255 255 255" col_pushed="255 255 255 255" text_y="0" fontsize="10" shadow="true" case_mode="%case_upper" wmargin="8" text_color_normal="255 255 255 128" text_color_pushed="255 255 255 255" text_color_over="255 255 255 255" text_global_color_normal="true" text_global_color_pushed="false" text_global_color_over="true" />
1160 <!-- **************** -->
1161 <!-- * MESSAGE BOX * -->
1162 <!-- **************** -->
1163 <!-- Simple Message Box with just a OK button -->
1164 <group type="modal" id="message_box" exit_click_out="true" posref="MM MM" w="250" child_resize_h="true" child_resize_hmargin="46" on_enter="leave_modal" options="skin_modal">
1165 <view type="text" id="text" posref="TL TL" line_maxw="234" x="8" y="-12" w="0" h="0" color="255 255 255 255" fontsize="12" shadow="true" multi_line="true" multi_line_space="0" case_mode="%case_first_sentence_letter_up" />
1166 <ctrl style="button_ok" posref="BM BM" x="0" y="8" onclick_l="leave_modal" hardtext="uittOK" avoid_resize_parent="true" />
1168 <!-- Message Box with just a OK/Browse Faq button -->
1169 <proc id="proc_browse_faq">
1171 NB : do not leave the window here, this way the user can refer to the message in the help message box
1172 <action handler="leave_modal" />
1174 <action handler="browse_faq" params="" />
1176 <proc id="proc_message_box_with_help_ok">
1177 <action handler="leave_modal" />
1178 <!-- must leave modal first if another modal is to be displayed after this one -->
1179 <action handler="" params="" />
1181 <group type="modal" id="message_box_with_help" exit_click_out="false" posref="MM MM" w="250" child_resize_h="true" child_resize_hmargin="46" on_enter="proc" on_enter_params="proc_message_box_with_help_ok" on_deactive="proc" on_deactive_params="proc_message_box_with_help_ok" escapable="true" options="skin_modal">
1182 <view type="text" id="text" posref="TL TL" line_maxw="234" x="8" y="-12" w="0" h="0" color="255 255 255 255" fontsize="12" shadow="true" multi_line="true" multi_line_space="0" case_mode="%case_first_sentence_letter_up" />
1183 <ctrl style="button_ok" id="ok" posref="BM BL" x="2" y="8" onclick_l="proc" params_l="proc_message_box_with_help_ok" hardtext="uittOK" avoid_resize_parent="true" />
1184 <ctrl style="button_ok" id="browse_faq" posref="BM BR" x="-2" y="8" onclick_l="proc" params_l="proc_browse_faq" hardtext="uittBrowseFaq" avoid_resize_parent="true" />
1186 <!-- Message Box with just a OK/Cancel button -->
1187 <proc id="proc_valid_message_box_ok">
1188 <action handler="leave_modal" />
1189 <!-- must leave modal first if another modal is to be displayed after this one -->
1190 <action handler="" params="" />
1191 <!-- Replaced with the user one -->
1193 <proc id="proc_valid_message_box_cancel">
1194 <action handler="leave_modal" />
1195 <!-- must leave modal first if another modal is to be displayed after this one -->
1196 <action handler="" params="" />
1197 <!-- Replaced with the user one -->
1199 <group type="modal" id="valid_message_box" exit_click_out="true" posref="MM MM" w="306" child_resize_h="true" child_resize_hmargin="46" on_enter="proc" on_enter_params="proc_valid_message_box_ok" options="skin_modal">
1200 <group id="icon_group" posref="TL TL" x="4" y="-8" w="24" h="24">
1201 <view type="bitmap" id="icon" posref="MM MM" texture="" global_color="false" />
1203 <view type="text" id="text" posref="TL TL" line_maxw="270" x="32" y="-12" w="0" h="0" color="255 255 255 255" fontsize="12" shadow="true" multi_line_space="0" multi_line="true" case_mode="%case_first_sentence_letter_up" />
1204 <instance template="button_ok_cancel" posref="BM BM" x="0" y="8" onclick_ok="proc" onclick_ok_param="proc_valid_message_box_ok" onclick_cancel="proc" onclick_cancel_param="proc_valid_message_box_cancel" avoid_resize_parent="true" />
1206 <!-- common Style for Message Box For Important Proposal feature (join PVP etc...) -->
1207 <style style="container_proposal" type="container" w="260" h="512" pop_max_h="512" resizer="false" active="false" savable="false" openable="false" opened="true" movable="true" />
1208 <!-- ********************************** -->
1209 <!-- * SERVER IMPORTANT MESSAGE BOX * -->
1210 <!-- ********************************** -->
1211 <!-- Vars describing the message -->
1212 <variable entry="UI:TEMP:SERVER_POPUP:TITLE" type="sint32" value="0" />
1213 <!-- Change it to access the view text -->
1214 <define id="server_message_box_content_view_text" value="ui:interface:server_message_box:content:inside:limited_h:text" />
1216 <group style="container_proposal" w="256" max_w="1024" pop_max_w="1024" max_h="700" pop_max_h="700" id="server_message_box" right_button="false" title="UI:TEMP:SERVER_POPUP:TITLE" title_class="text_dyn_string">
1217 <group id="header_opened" h="16" posref="TL TL" />
1218 <group id="content" child_resize_h="true" child_resize_hmargin="10">
1219 <!-- Description -->
1220 <group id="inside" sizeref="w" w="-6" posref="TL TL" y="-8" child_resize_h="true">
1221 <group id="limited_h" posref="TL TL" x="0" y="0" sizeref="w" w="0" child_resize_h="true" child_resize_hmargin="6" max_h="500">
1222 <view type="text" id="text" posref="MM MM" x="0" y="0" color="255 255 255 255" fontsize="10" shadow="true" multi_line="true" multi_line_space="0" global_color="false" />
1226 <ctrl style="button_ok" id="ok" posref="BM TM" x="0" y="-8" posparent="inside" onclick_l="hide:server_message_box" hardtext="uittOK" />
1229 <tree node="server_message_box" />
1230 <!-- ********************* -->
1231 <!-- * ITEM/BRICK HELP * -->
1232 <!-- ********************* -->
1233 <!-- Max Help opened. "Infinity" -->
1234 <define id="MAX_HELP_WINDOW" value="8" />
1235 <!-- Variables for Sheet Help Widget -->
1236 <variable entry="UI:glob_var:help:$i:SHEET" type="sint32" value="0" size="%MAX_HELP_WINDOW" />
1237 <variable entry="UI:glob_var:help:$i:QUALITY" type="sint32" value="0" size="%MAX_HELP_WINDOW" />
1238 <variable entry="UI:glob_var:help:$i:QUANTITY" type="sint32" value="0" size="%MAX_HELP_WINDOW" />
1239 <variable entry="UI:glob_var:help:$i:SLOT_TYPE" type="sint32" value="0" size="%MAX_HELP_WINDOW" />
1240 <variable entry="UI:glob_var:help:$i:USER_COLOR" type="sint32" value="0" size="%MAX_HELP_WINDOW" />
1241 <variable entry="UI:glob_var:help:$i:NAMEID" type="sint32" value="0" size="%MAX_HELP_WINDOW" />
1242 <variable entry="UI:glob_var:help:$i:INFO_VERSION" type="sint32" value="0" size="%MAX_HELP_WINDOW" />
1243 <variable entry="UI:glob_var:help:$i:ENCHANT" type="sint32" value="0" size="%MAX_HELP_WINDOW" />
1244 <variable entry="UI:glob_var:help:$i:RM_CLASS_TYPE" type="sint32" value="0" size="%MAX_HELP_WINDOW" />
1245 <variable entry="UI:glob_var:help:$i:RM_FABER_STAT_TYPE" type="sint32" value="0" size="%MAX_HELP_WINDOW" />
1246 <variable entry="UI:glob_var:help:$i:PREREQUISIT_VALID" type="sint32" value="0" size="%MAX_HELP_WINDOW" />
1247 <!-- Variables for Sheet Help Bricks Widget -->
1248 <template name="help_def_bricks" index="">
1249 <variable entry="UI:glob_var:help:$i:BRICKS:#index:SHEET" type="sint32" value="0" size="%MAX_HELP_WINDOW" />
1251 <vector template="help_def_bricks" index="$i" _size="64" />
1252 <!-- Same for requirement Bricks -->
1253 <template name="help_def_req_bricks" index="">
1254 <variable entry="UI:glob_var:help:$i:REQ_BRICKS:#index:SHEET" type="sint32" value="0" size="%MAX_HELP_WINDOW" />
1255 <variable entry="UI:glob_var:help:$i:REQ_BRICKS:#index:LOCKED" type="sint32" value="0" size="%MAX_HELP_WINDOW" />
1257 <vector template="help_def_req_bricks" index="$i" _size="64" />
1258 <!-- Same for item list -->
1259 <template name="help_def_items" index="">
1260 <variable entry="UI:glob_var:help:$i:BUILD_ITEMS:#index:SHEET" type="sint32" value="0" size="%MAX_HELP_WINDOW" />
1261 <variable entry="UI:glob_var:help:$i:BUILD_ITEMS:#index:QUALITY" type="sint32" value="0" size="%MAX_HELP_WINDOW" />
1262 <variable entry="UI:glob_var:help:$i:BUILD_ITEMS:#index:QUANTITY" type="sint32" value="0" size="%MAX_HELP_WINDOW" />
1263 <variable entry="UI:glob_var:help:$i:BUILD_ITEMS:#index:SLOT_TYPE" type="sint32" value="0" size="%MAX_HELP_WINDOW" />
1264 <variable entry="UI:glob_var:help:$i:BUILD_ITEMS:#index:USER_COLOR" type="sint32" value="0" size="%MAX_HELP_WINDOW" />
1265 <variable entry="UI:glob_var:help:$i:BUILD_ITEMS:#index:NAMEID" type="sint32" value="0" size="%MAX_HELP_WINDOW" />
1266 <variable entry="UI:glob_var:help:$i:BUILD_ITEMS:#index:INFO_VERSION" type="sint32" value="0" size="%MAX_HELP_WINDOW" />
1267 <variable entry="UI:glob_var:help:$i:BUILD_ITEMS:#index:ENCHANT" type="sint32" value="0" size="%MAX_HELP_WINDOW" />
1268 <variable entry="UI:glob_var:help:$i:BUILD_ITEMS:#index:RM_CLASS_TYPE" type="sint32" value="0" size="%MAX_HELP_WINDOW" />
1269 <variable entry="UI:glob_var:help:$i:BUILD_ITEMS:#index:RM_FABER_STAT_TYPE" type="sint32" value="0" size="%MAX_HELP_WINDOW" />
1270 <variable entry="UI:glob_var:help:$i:BUILD_ITEMS:#index:PREREQUISIT_VALID" type="sint32" value="0" size="%MAX_HELP_WINDOW" />
1272 <vector template="help_def_items" index="$i" _size="64" />
1273 <!-- Variables for Sheet Help: Mps -->
1274 <variable entry="UI:glob_var:help:$i:MP_ITEM_PART_CHOICE" type="sint32" value="0" size="%MAX_HELP_WINDOW" />
1275 <!-- Stat Craft Mp template -->
1276 <define id="MAX_STAT_MP_CRAFT" value="20" />
1277 <template name="template_mp_stat" id="" x="0" y="-2" posparent="text" posref="">
1278 <group id="#id" posparent="#posparent" posref="#posref" x="#x" y="#y" w="250" h="16" active="false">
1279 <view type="text" id="text" line_maxw="180" posref="ML ML" over_extend_view_text="true" />
1280 <view type="bar" id="bar" posref="MR MR" mini="true" value="0" range="100" />
1283 <!-- Template for MP statistics (used in info and in botchat validation) -->
1284 <template name="template_info_mp_stats" id="" posparent="" dbcombo="" cb_handler="" cb_params="">
1285 <group id="mp_stats" sizeparent="parent" sizeref="w" w="-12" child_resize_h="true" child_resize_hmargin="8" posparent="#posparent" posref="BL TL" x="0" y="0">
1286 <!-- main combo to select the item part to watch -->
1287 <group type="combo_box" id="item_part_choice" w="200" h="20" value="#dbcombo" posref="TM TM" x="0" y="-4">
1288 <instance template="combo_box_def1" />
1290 <link expr="@#dbcombo" action="#cb_handler" params="#cb_params" />
1291 <!-- The item part info Icon -->
1292 <view type="bitmap" id="icon" posparent="item_part_choice" posref="ML MR" scale="true" x="-2" y="0" w="24" h="24" global_color="false" />
1293 <!-- header text for this item part -->
1294 <view type="text" id="text" multi_line="true" multi_line_space="0" posref="TL TL" x="0" y="-32" />
1296 <vector template="template_mp_stat" id="stat$i" _size="%MAX_STAT_MP_CRAFT" _firstpos="BL TL" _xfirst="0" _yfirst="-6" _nextpos="BL TL" />
1299 <!-- There can be 2 list of bricks in the Action Help: phrase descritopn, and Brick requirements. (Used in info and botchat validation) -->
1300 <template name="template_info_list_brick" type="" id="" posparent="" param_deltax="" force_keep="" brickdb="" sizeref="w" child_resize_w="false" child_resize_wmargin="0" line_maxw="170" multi_line_maxw_only="false" xcost="215" auto_grayed="false" global_color="true" tx_normal="blank.tga">
1301 <group type="#type" id="#id" sizeparent="parent" sizeref="#sizeref" w="-12" child_resize_w="#child_resize_w" child_resize_wmargin="#child_resize_wmargin" child_resize_h="true" child_resize_hmargin="8" posparent="#posparent" posref="BL TL" x="0" y="0" xitem="2" yitem="-2" xtext="32" ytext="-2" xcost="#xcost" ycost="-8" param_deltax="#param_deltax" hspace="4" array="false" value="#brickdb" selection="false" auto_grayed="#auto_grayed" gray_text_with_ctrl="#auto_grayed" dragable="false" nature="sbrick" brick_over="false" onclick_r="open_sbrick_help" params_r="force_keep=#force_keep" over_color="%bot_chat_sheet_selection_normal" over_col_pushed="%bot_chat_sheet_selection_pushed" over_col_over="%bot_chat_sheet_selection_over" tx_normal="#tx_normal" color="255 255 255 255" global_color="#global_color" fontsize="8" shadow="true" multi_line="true" multi_line_maxw_only="#multi_line_maxw_only" multi_line_space="0" line_maxw="#line_maxw">
1303 <ctrl style="skin_scroll" id="scroll_row" posref="TL TL" y="-2" />
1304 <!-- the group to scroll NO SCROLL (caller scroll) -->
1305 <group id="list" sizeref="#sizeref" child_resize_w="#child_resize_w" posref="TL TL" max_h="10000" x="8" y="0" w="-8" h="0" global_color="#global_color" />
1308 <!-- There can be 1 list of items: items built by a buuilding -->
1309 <template name="template_info_list_item" type="" id="" posparent="" force_keep="" itemdb="" auto_grayed="false">
1310 <group type="#type" id="#id" sizeparent="parent" sizeref="w" w="-12" child_resize_h="true" child_resize_hmargin="8" posparent="#posparent" posref="BL TL" x="0" y="0" xitem="2" yitem="-2" xtext="48" ytext="-2" hspace="4" array="false" value="#itemdb" selection="false" auto_grayed="#auto_grayed" gray_text_with_ctrl="#auto_grayed" use_quantity="false" dragable="false" nature="item" onclick_r="open_item_help" params_r="force_keep=#force_keep" over_color="%bot_chat_sheet_selection_normal" over_col_pushed="%bot_chat_sheet_selection_pushed" over_col_over="%bot_chat_sheet_selection_over" color="255 255 255 255" fontsize="8" shadow="true" multi_line="true" multi_line_space="0" line_maxw="150">
1312 <ctrl style="skin_scroll" id="scroll_row" posref="TL TL" y="-2" />
1313 <!-- the group to scroll NO SCROLL (caller scroll) -->
1314 <group id="list" sizeref="w" posref="TL TL" max_h="10000" x="8" y="0" w="-8" h="0" />
1317 <!-- template for mission requesite -->
1318 <template name="template_mission_prereq" id="" nb="" posparent="" posref="" x="0" y="0">
1319 <view type="text" id="text_#nb" multi_line="false" posparent="#posparent" posref="BL TR" />
1320 <view type="text_id" id="#id" posparent="#posparent" multi_line="true" multi_line_space="0" posref="BL TL" />
1322 <proc id="active_sheet_help">
1323 <action handler="set" params="target_property=ui:interface:@0:content:scroll_text:text_list:char3d:scene:char:anim|value=0" />
1324 <action handler="set" params="target_property=ui:interface:@0:content:scroll_text:text_list:char3d:scene:camface:posz|value=add(0.1,getprop('ui:interface:@0:content:scroll_text:text_list:char3d:scene:char:headz'))" />
1325 <action handler="set" params="target_property=ui:interface:@0:content:scroll_text:text_list:char3d:scene:camface:tgtz|value=add(0.16,getprop('ui:interface:@0:content:scroll_text:text_list:char3d:scene:char:headz'))" />
1327 <!-- The Sheet (item/brick) Help Widget -->
1328 <!-- if you change w="296", change also the line_maxw of id="text" below -->
1329 <template name="sheet_help" id="" index="">
1330 <group type="container" id="#id" w="296" title_delta_max_w="-80" h="80" title="" global_color="false" options="layer0_info" opened="true" openable="false" movable="true" resizer="false" win_priority="%win_priority_high" active="false" savable="false" escapable="true" header_color="UI:SAVE:WIN:COLORS:INFOS" on_active="proc" on_active_params="active_sheet_help|#id" on_deactive="on_close_help" on_deactive_params="#index" y="700">
1331 <group id="header_closed" x="0" y="0" w="0" h="16" posref="TL TL"></group>
1332 <group id="header_opened" x="0" y="0" w="0" h="16" posref="TL TL">
1334 <view type="bitmap" id="ico" texture="W_user_info.tga" posref="ML ML" x="0" y="0" global_color="false" />
1336 <!-- The "PUNAISE" button -->
1337 <ctrl type="button" button_type="toggle_button" id="keep" posref="MR MR" x="-16" y="0" tx_normal="pin_off.tga" tx_pushed="pin_on.tga" tx_over="W_button_16_over.tga" global_color_normal="false" global_color_pushed="false" global_color_over="false" tooltip="uittKeepInfo" onclick_l="help_keep" params_l="#index" />
1339 <ctrl style="text_button_16" button_type="toggle_button" id="keep" posref="MR MR" x="-16" y="1" wmargin="8" hardtext="uiKeepInfoButton" tooltip="uittKeepInfo" onclick_l="help_keep" params_l="#index" />
1342 <group id="content" x="0" y="0" w="0" child_resize_h="true" child_resize_hmargin="6" posref="TL TL">
1343 <!-- Item is in auto mode -->
1344 <ctrl type="sheet" id="ctrl_slot" use_slot_type_db_entry="true" nature="auto" value="UI:glob_var:help:#index" posref="TR TR" x="-4" y="-10" use_quantity="true" />
1345 <view type="text_id" id="creator" posparent="ctrl_slot" posref="BR TR" y="-2" dynamic_string="false" fontsize="12" />
1346 <!-- the scroll text (with only one text) -->
1347 <group id="scroll_text" sizeref="w" posref="TL TL" w="0" y="-6" child_resize_h="true" child_resize_hmargin="8">
1348 <instance template="inner_thin_border_group" />
1349 <group id="minh" posref="TL TL" x="0" y="0" w="1" h="42" />
1350 <group id="text_list" posref="TL TL" x="16" y="-4" sizeref="w" w="-16" child_resize_h="true" max_h="392">
1351 <!-- the line_maxw is set up so the text does not override the Ctrl Sheet on the right (or not so much...) -->
1352 <view type="text" id="text" multi_line="true" line_maxw="226" multi_line_space="0" posref="TL TL" />
1353 <!-- for item, pacts, .. -->
1354 <!-- For Phrases and title requirement only. 2 lists and a header for the second list -->
1355 <instance template="template_info_list_brick" type="list_sheet_text" id="list_brick_requirement" force_keep="#index" brickdb="UI:glob_var:help:#index:REQ_BRICKS" posparent="text" param_deltax="0" auto_grayed="true" />
1356 <view type="text" id="list_brick_header" multi_line="true" multi_line_space="0" posparent="list_brick_requirement" posref="BL TL" y="-12" />
1357 <instance template="template_info_list_brick" type="list_sheet_compo_brick" id="list_brick" force_keep="#index" brickdb="UI:glob_var:help:#index:BRICKS" posparent="list_brick_header" param_deltax="13" auto_grayed="false" />
1358 <!-- For raw materials only. group to display stats -->
1359 <instance template="template_info_mp_stats" cb_handler="item_help_mp_change_item_part" cb_params="#index" posparent="text" dbcombo="UI:glob_var:help:#index:MP_ITEM_PART_CHOICE" />
1360 <!-- For outpost building, list of items this building build -->
1361 <instance template="template_info_list_item" type="list_sheet_text" id="list_item" force_keep="#index" itemdb="UI:glob_var:help:#index:BUILD_ITEMS" posparent="text" />
1362 <!-- For Cosmetic only 3D preview -->
1363 <group id="char3d" posref="TL TL" sizeref="w" w="-16" h="304" x="0" y="-46">
1364 <instance template="box_widget" id="back" posref="TL TL" sizeref="wh" w="0" h="0" x="0" y="0" inherit_gc_alpha="true" />
1365 <view type="bitmap" id="black" posparent="back" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" color="0 0 0 80" />
1366 <scene3d id="scene" sizeref="wh" w="-2" h="-2" posparent="back" posref="TL TL" x="1" y="-1" curcam="camface" curcs="env" render_layer="-2" user_interaction="true" rotz_factor="0.017" roty_factor="0.005" roty_limit_min="-20" roty_limit_max="15" dist_factor="0.005" dist_limit_min="4.0" dist_limit_max="6.0" ambient="128 96 64" sun_ambient="0 0 0" sun_diffuse="255 255 196" sun_specular="0 0 0" sun_direction="-1.0 1.0 -1.0">
1367 <character3d id="char" dblink="UI:TEMP:CHAR3D" pos="0.0 0.0 -1.75" rot="0.0 0.0 0.0" />
1368 <camera id="camface" fov="5" pos="0.0 -5.0 0.0" target="0.0 0.0 0" roll="0" />
1369 <light id="back" pos="0.0 28.2 1.6" color="96 64 32" near="1.0" far="4.0" />
1370 <light id="lgt" pos="0.0 25.3 2.48" color="255 255 255" near="1.0" far="4.0" />
1373 <!-- Item preview 3D window -->
1374 <group id="item_preview" posref="TL TL" sizeref="w" w="200" h="300" x="0" y="-60">
1375 <scene3d id="scene_item_preview" sizeref="wh" w="-2" h="-2" posref="TL TL" x="1" curcam="cam_item_preview" user_interaction="true" ambient="128 96 64" sun_ambient="70 70 70" sun_diffuse="255 255 196" sun_specular="0 0 0" sun_direction="-1.0 1.0 -1.0" rotz_factor="0.017" roty_factor="0.005" dist_factor="0.2" camz="10" dist_limit_min="20.0" dist_limit_max="80.0">
1376 <character3d id="char" dblink="UI:TEMP:CHAR3D" pos="0.0 0.0 -1.8" rot="0.0 0.0 -60.0" anim="1" />
1377 <camera id="cam_item_preview" fov="5" pos="0.0 -40.0 0.0" target="0.0 0.0 -0.85" roll="0" />
1378 <light id="back" pos="0.0 28.2 1.6" color="96 64 32" near="1.0" far="4.0" />
1379 <light id="lgt" pos="0.0 25.3 2.48" color="255 255 255" near="1.0" far="4.0" />
1383 <ctrl style="skin_scroll" id="sv" posref="TL TL" x="4" y="-4" target_stepy="14" target="text_list" />
1385 <!-- the scroll text id (use for missions) -->
1386 <group id="scroll_text_id" posref="TL TL" w="0" y="-6" sizeref="w" child_resize_h="true" child_resize_hmargin="8">
1387 <instance template="inner_thin_border_group" />
1388 <group id="minh" posref="TL TL" x="0" y="0" w="1" h="42" />
1389 <group id="text_list" posref="TL TL" x="12" y="-4" sizeref="w" w="-64" child_resize_h="true" max_h="392">
1390 <view type="text" id="text_title" hardtext="uiMissionTitle" multi_line="false" posref="TL TL" />
1391 <view type="text_id" id="text_title_id" posparent="text_title" multi_line="true" multi_line_space="0" x="10" posref="BL TL" />
1392 <view type="text" id="text_mission_description" posparent="text_title_id" x="-10" hardtext="uiMissionDesc" multi_line="false" posref="BL TL" />
1393 <view type="text_id_formated" id="text_id" posparent="text_mission_description" multi_line="true" multi_line_space="0" x="10" posref="BL TL" />
1394 <!-- for item, pacts, .. -->
1395 <view type="text" id="text_mission_prereq" hardtext="uiMissionPrereq" multi_line="false" posparent="text_id" x="-10" posref="BL TL" />
1396 <!-- must do the first in special way -->
1397 <view type="text" id="text_1" multi_line="false" posparent="text_mission_prereq" posref="BL TL" x="5" />
1398 <view type="text_id" id="text_id_prereq_1" posparent="text_1" multi_line="true" multi_line_space="0" posref="TR TL" />
1399 <!-- next are relative each others -->
1400 <vector template="template_mission_prereq" _size="15" _firstindex="2" id="text_id_prereq_$i" nb="$i" posparent="text_id_prereq_1" _firstpos="BL TL" _nextpos="BL TL" />
1402 <ctrl style="skin_scroll" id="sv" posref="TL TL" x="4" y="-4" target="text_list" />
1409 <vector template="sheet_help" _size="%MAX_HELP_WINDOW" _firstpos="" _nextpos="" index="$i" id="sheet_help$i" />
1410 <!-- ***************** -->
1411 <!-- * COMMON RULES * -->
1412 <!-- ***************** -->
1413 <define id="false" value="0" />
1414 <define id="true" value="1" />
1415 <define id="is_team_present" value="or(ne(@SERVER:GROUP:0:PRESENT,0),ne(@SERVER:GROUP:1:PRESENT,0),ne(@SERVER:GROUP:2:PRESENT,0),ne(@SERVER:GROUP:3:PRESENT,0),ne(@SERVER:GROUP:4:PRESENT,0),ne(@SERVER:GROUP:5:PRESENT,0),ne(@SERVER:GROUP:6:PRESENT,0),ne(@SERVER:GROUP:7:PRESENT,0))" />
1416 <define id="is_guild_present" value="ne(@SERVER:GUILD:NAME,0)" />
1417 <!-- ****************************** -->
1418 <!-- * INVENTORIES COMMON STUFF * -->
1419 <!-- ****************************** -->
1420 <!-- style of all free containers -->
1421 <style style="inv_container" type="container" w="350" h="310" resizer="true" pop_min_w="350" pop_min_h="110" pop_max_w="920" pop_max_h="1600" movable="true" active="false" opened="true" openable="false" global_color="false" global_color_over="true" />
1422 <style style="inv_container_guild" type="container" w="336" h="310" resizer="true" pop_min_w="336" pop_min_h="110" pop_max_w="920" pop_max_h="1600" movable="true" active="false" opened="true" openable="false" global_color="false" global_color_over="true" />
1423 <!-- template for the bulk and the weight -->
1424 <template name="tinv_nbslots_bulk_weight" id="" inv_branch_nb="10000" inv_branch="" inv_bulk_max="" posparent="parent" posref="TL TL" x="0" y="0">
1425 <group id="#id" sizeref="w" h="16" posref="#posref">
1426 <group id="bulk_weight" child_resize_w="true" child_resize_wmargin="4" h="16" posref="BR BR" posparent="#posparent">
1427 <view type="bitmap" id="weight" posref="MR MR" x="0" texture="W_weight.tga" global_color="false" />
1428 <view type="text" id="weight_txt" posparent="weight" posref="ML MR" y="-2" x="-2" color="255 255 255 255" global_color="false" shadow="true" fontsize="10" />
1429 <instance template="text_tt" tooltip="uittInventoryWeight" posparent="weight_txt" />
1430 <link expr="identity(getItemsWeight('#inv_branch',0,#inv_branch_nb),@#inv_branch)" target="weight_txt:hardtext" />
1431 <view type="bar" id="encombrement" mini="true" posparent="weight_txt" posref="ML MR" x="-4" range="#inv_bulk_max" color="%bulk_color" />
1432 <ctrl type="tooltip" id="encombrement_tt" posparent="encombrement" sizeref="wh" w="0" h="0" on_tooltip="get_tt_bulk" on_tooltip_params="dbbranch=#inv_branch|dbmax=#inv_bulk_max" />
1433 <link expr="identity(getItemsBulk('#inv_branch',0,#inv_branch_nb),@#inv_branch)" target="encombrement:value" />
1435 <view type="text" id="slots_nb" posparent="bulk_weight" posref="BL BR" color="255 255 255 255" global_color="false" shadow="true" fontsize="10" />
1436 <ctrl type="tooltip" id="slots_tt" posparent="slots_nb" sizeref="wh" tooltip="uittInvSlots" />
1437 <link expr="identity(getInvSlotCounts('#inv_branch'),@#inv_branch)" target="slots_nb:hardtext" />
1438 <!-- uses identity(x,@branch) to add an observer on branch -->
1441 <!-- onClickR on a filter -->
1442 <proc id="pinv_item_filter">
1443 <!-- Reset all filter first -->
1444 <action handler="set" params="dblink=UI:SAVE:@0:FILTER_TP|value=0" />
1445 <action handler="set" params="dblink=UI:SAVE:@0:FILTER_MISSMP|value=0" />
1446 <action handler="set" params="dblink=UI:SAVE:@0:FILTER_MP|value=0" />
1447 <action handler="set" params="dblink=UI:SAVE:@0:FILTER_PET|value=0" />
1448 <action handler="set" params="dblink=UI:SAVE:@0:FILTER_TOOL|value=0" />
1449 <action handler="set" params="dblink=UI:SAVE:@0:FILTER_WEAPON|value=0" />
1450 <action handler="set" params="dblink=UI:SAVE:@0:FILTER_ARMOR|value=0" />
1451 <!-- Set the one selected -->
1452 <action handler="set" params="dblink=@1|value=1" />
1454 <!-- template for the list of items FILTERS -->
1455 <template name="tinv_item_list_filter" id="" x="0" y="0" posref="BL BL" posparent="" dblink="" texture="" tooltip="" inv_type="">
1456 <ctrl type="button" id="but_#id" button_type="toggle_button" posref="#posref" posparent="but_#posparent" x="#x" y="#y" tx_normal="w_button_filter_off.tga" tx_pushed="w_button_filter_on.tga" tx_over="" onclick_l="set" params_l="dblink=#dblink|value=not(@#dblink)" onclick_r="proc" params_r="pinv_item_filter|#inv_type|#dblink" global_color_pushed="true" tooltip="#tooltip" />
1457 <view type="bitmap" id="bit_#id" posref="TL TL" posparent="but_#id" texture="#texture" scale="true" w="24" h="16" global_color="false" />
1458 <link expr="@#dblink" target="but_#id:pushed" />
1460 <!-- template for the mode 'icon' or 'text' (no right click) -->
1461 <template name="tinv_item_list_icon_swap" id="" x="0" y="0" posref="BL BL" posparent="" dblink="" texture="" tooltip="" inv_type="">
1462 <ctrl type="button" id="but_#id" button_type="toggle_button" posref="#posref" posparent="but_#posparent" x="#x" y="#y" tx_normal="w_button_filter_off.tga" tx_pushed="w_button_filter_on.tga" tx_over="" onclick_l="set" params_l="dblink=#dblink|value=not(@#dblink)" global_color_pushed="true" tooltip="#tooltip" />
1463 <view type="bitmap" id="bit_#id" posref="TL TL" posparent="but_#id" texture="#texture" global_color="false" />
1464 <link expr="@#dblink" target="but_#id:pushed" />
1466 <!-- template for the list of items -->
1467 <template name="tinv_item_list" id="" animal_status="" inv_branch_nb="256" inv_branch="" inv_type="" posparent="parent" posref="TL TL" x="0" y="0" sizeparent="parent" sizeref="wh" w="0" h="0">
1468 <group id="#id" posparent="#posparent" posref="#posref" x="#x" y="#y" sizeparent="#sizeparent" sizeref="#sizeref" w="#w" h="#h">
1470 <!-- Bags : icon list -->
1471 <group type="list_icon_bag" id="bag_icons" array="false" sizeref="wh" w="0" h="-24" posref="TL TL" x="0" y="0" child_resize_h="false" value="#inv_branch" maxitem="#inv_branch_nb" inv_type="#inv_type" sort_type="UI:SAVE:#inv_type:SORT_TYPE" filter_armor="UI:SAVE:#inv_type:FILTER_ARMOR" filter_weapon="UI:SAVE:#inv_type:FILTER_WEAPON" filter_tool="UI:SAVE:#inv_type:FILTER_TOOL" filter_pet="UI:SAVE:#inv_type:FILTER_PET" filter_mp="UI:SAVE:#inv_type:FILTER_MP" filter_missmp="UI:SAVE:#inv_type:FILTER_MISSMP" filter_tp="UI:SAVE:#inv_type:FILTER_TP" wspace="2" hspace="2" startitem="0" selection_group="inventory_selection" auto_grayed="true" dragable="true" oncandrag="inv_can_drag" ondrag="inv_drag" params_drag="from_icon_list" oncandrop="inv_can_drop" ondrop="inv_drop" menu_r="ui:interface:item_menu_in_bag" instant_help="false" lmargin="10" rmargin="0" tmargin="1" bmargin="0" column_center="false" db_animal_status="#animal_status">
1472 <ctrl style="skin_scroll" id="scroll_row" posref="TL TL" target_stepy="44" />
1474 <view type="bitmap" id="sep1" x="0" y="0" posparent="bag_icons" posref="BL TL" scale="true" h="2" sizeref="w" texture="W_line_hor.tga" />
1475 <link expr="eq(@UI:SAVE:#inv_type:ICON_LIST, 1)" target="bag_icons:active,sep1:active" />
1476 <!-- Bags : detailed list -->
1477 <group type="list_sheet_bag" id="bag_list" array="false" sizeref="wh" w="0" h="-34" posref="TL TL" x="0" y="-10" child_resize_h="false" value="#inv_branch" maxitem="#inv_branch_nb" inv_type="#inv_type" sort_type="UI:SAVE:#inv_type:SORT_TYPE" filter_armor="UI:SAVE:#inv_type:FILTER_ARMOR" filter_weapon="UI:SAVE:#inv_type:FILTER_WEAPON" filter_tool="UI:SAVE:#inv_type:FILTER_TOOL" filter_pet="UI:SAVE:#inv_type:FILTER_PET" filter_mp="UI:SAVE:#inv_type:FILTER_MP" filter_missmp="UI:SAVE:#inv_type:FILTER_MISSMP" filter_tp="UI:SAVE:#inv_type:FILTER_TP" hspace="2" xitem="2" yitem="-2" xtext="46" ytext="-2" selection_group="inventory_selection" selection="false" auto_grayed="true" dragable="true" oncandrag="inv_can_drag" ondrag="inv_drag" params_drag="from_text_list" oncandrop="inv_can_drop" ondrop="inv_drop" menu_r="ui:interface:item_menu_in_bag" instant_help="false" over_color="%bot_chat_sheet_selection_normal" over_col_pushed="%bot_chat_sheet_selection_pushed" over_col_over="%bot_chat_sheet_selection_over" color="255 255 255 255" fontsize="8" shadow="true" multi_line="true" multi_line_space="0" db_animal_status="#animal_status">
1479 <ctrl style="skin_scroll" id="scroll_row" posref="TL TL" target_stepy="44" />
1480 <!-- the group to scroll -->
1481 <group id="list" max_sizeref="h" max_sizeparent="parent" max_h="0" sizeref="w" posref="TL TL" x="8" y="0" w="-16" />
1483 <view type="bitmap" id="sep2" x="0" y="0" posparent="bag_list" posref="BL TL" scale="true" h="2" sizeref="w" texture="W_line_hor.tga" />
1484 <link expr="eq(@UI:SAVE:#inv_type:ICON_LIST, 0)" target="bag_list:active,sep2:active" />
1486 <instance template="tinv_item_list_icon_swap" id="detail" x="-2" y="10" posref="BR MR" dblink="UI:SAVE:#inv_type:ICON_LIST" texture="details_on.tga" tooltip="uittDetail" />
1487 <link expr="ifthenelse(@UI:SAVE:#inv_type:ICON_LIST, 'details_off.tga', 'details_on.tga')" target="bit_detail:texture" />
1489 <instance template="tinv_item_list_filter" id="filter_tp" x="-8" posref="ML MR" posparent="detail" inv_type="#inv_type" dblink="UI:SAVE:#inv_type:FILTER_TP" texture="filter_tp.tga" tooltip="uittFilterTP" />
1490 <instance template="tinv_item_list_filter" id="filter_missmp" x="-2" posref="ML MR" posparent="filter_tp" inv_type="#inv_type" dblink="UI:SAVE:#inv_type:FILTER_MISSMP" texture="filter_mission.tga" tooltip="uittFilterMissMP" />
1491 <instance template="tinv_item_list_filter" id="filter_mp" x="-2" posref="ML MR" posparent="filter_missmp" inv_type="#inv_type" dblink="UI:SAVE:#inv_type:FILTER_MP" texture="filter_mps.tga" tooltip="uittFilterMP" />
1492 <instance template="tinv_item_list_filter" id="filter_pet" x="-2" posref="ML MR" posparent="filter_mp" inv_type="#inv_type" dblink="UI:SAVE:#inv_type:FILTER_PET" texture="mektoub_map.tga" tooltip="uittFilterPet" />
1493 <instance template="tinv_item_list_filter" id="filter_tool" x="-2" posref="ML MR" posparent="filter_pet" inv_type="#inv_type" dblink="UI:SAVE:#inv_type:FILTER_TOOL" texture="filter_tools.tga" tooltip="uittFilterTool" />
1494 <instance template="tinv_item_list_filter" id="filter_weapon" x="-2" posref="ML MR" posparent="filter_tool" inv_type="#inv_type" dblink="UI:SAVE:#inv_type:FILTER_WEAPON" texture="filter_weapon.tga" tooltip="uittFilterWeapon" />
1495 <instance template="tinv_item_list_filter" id="filter_armor" x="-2" posref="ML MR" posparent="filter_weapon" inv_type="#inv_type" dblink="UI:SAVE:#inv_type:FILTER_ARMOR" texture="filter_armor.tga" tooltip="uittFilterArmor" />
1497 <ctrl type="button" id="but_inv_search" button_type="toggle_button" x="-2" posref="ML MR" posparent="but_filter_armor"
1498 tx_normal="w_button_filter_off.tga" tx_pushed="w_button_filter_on.tga" tx_over="" tooltip="uittInventorySearch"
1499 onclick_l="inv_search_button" params_l="inv_query_eb" />
1500 <view type="bitmap" id="bit_inv_search" posref="MM MM" posparent="but_inv_search" texture="w_help_1.tga" global_color="false" color="255 255 255 150" />
1501 <instance template="edit_box_widget" id="inv_query_eb" active="false" posref="TR BR" posparent="but_detail" x="0" y="8" w="100" render_layer="9"
1502 clear_on_escape="true" enter_recover_focus="false" max_num_chars="20" max_historic="0"
1503 onenter="inv_set_search" onchange="inv_set_search"
1504 on_focus_lost="inv_search_unfocus" on_focus_lost_params="but_inv_search"/>
1507 <!-- Link to trig brick action message. don't play when 0 (avoid flying text at startup) -->
1508 <link expr="@SERVER:FLAGS:CRITICAL" cond="not(eq(@SERVER:FLAGS:CRITICAL,0))" action="entity_flying_text" params="text=uiCriticalHit|entity=0|color=255 255 0 255" />
1509 <link expr="@SERVER:FLAGS:PARRY" cond="not(eq(@SERVER:FLAGS:PARRY,0))" action="entity_flying_text" params="text=uiParry|entity=0|color=255 255 0 255" />
1510 <link expr="@SERVER:FLAGS:DODGE" cond="not(eq(@SERVER:FLAGS:DODGE,0))" action="entity_flying_text" params="text=uiDodge|entity=0|color=255 255 0 255" />
1511 <!-- ****************************** -->
1512 <!-- * CHECK BOX * -->
1513 <!-- ****************************** -->
1514 <!-- A checkbox: toggle button with a text, linked to a database -->
1515 <template name="check_box" id="" posparent="parent" posref="TL TL" x="0" y="0" w="0" h="16" fontsize="10" hardtext="" dblink="" tooltip="" global_color="true">
1516 <group id="#id" posparent="#posparent" posref="#posref" x="#x" y="#y" w="#w" h="#h" child_resize_w="true">
1517 <ctrl type="button" id="button" button_type="toggle_button" posref="ML ML" x="0" y="0" pushed="false" tx_normal="w_slot_on.tga" tx_pushed="w_opacity_on.tga" tx_over="w_slot_on.tga" color="255 255 255 255" col_pushed="255 255 255 255" col_over="255 255 255 0" onclick_l="set" params_l="dblink=#dblink|value=not(@#dblink)" />
1518 <link expr="@#dblink" target="button:pushed" />
1519 <view type="text" id="text" posparent="button" posref="MR ML" x="4" y="0" color="255 255 255 255" fontsize="#fontsize" shadow="true" hardtext="#hardtext" global_color="#global_color" />
1520 <ctrl type="tooltip" id="tt" posref="TL TL" sizeref="wh" tooltip="#tooltip" />
1523 <!-- ***************************** -->
1524 <!-- * HTML FORM SELECT WIDGET * -->
1525 <!-- ***************************** -->
1526 <template name="html_form_select_widget" keep="true" id="select">
1527 <group type="combo_box" id="#id" w="100" x="0" y="0" child_resize_h="true" child_resize_hmargin="6" linked_to_db="false" posref="BL BL" on_change="" on_change_params="">
1528 <instance template="combo_box_def1" />
1531 <!-- ***************************** -->
1532 <!-- * HTML TEXT BUTTON WIDGET * -->
1533 <!-- ***************************** -->
1534 <template name="html_text_button" id="" text="" posparent="parent" posref="TL TL" onclick="" onclick_param="" x="0" y="0" keep="true" frozen="false">
1535 <group id="#id" posparent="#posparent" posref="#posref" child_resize_w="true" child_resize_h="true" x="#x" y="#y">
1536 <ctrl style="text_button_16" id="b" onclick_l="#onclick" params_l="#onclick_param" hardtext="#text" frozen="#frozen" />
1539 <template name="frozen_html_text_button" id="" text="" posparent="parent" posref="TL TL" onclick="" onclick_param="" x="0" y="0" keep="true">
1540 <group id="#id" posparent="#posparent" posref="#posref" child_resize_w="true" child_resize_h="true" x="#x" y="#y">
1541 <ctrl style="text_button_16" id="b" onclick_l="#onclick" params_l="#onclick_param" hardtext="#text" frozen="true" />
1544 <!-- horizontal label/edit box template -->
1545 <template name="h_label_edit_box" keep="true" active="true" id="" h="20" x="0" y="0" posparent="" posref="" hardtext="" w="87" w_label="" w_box="50" fontsize="12" max_num_chars="6" entry_type="text" multi_line="false" onenter="lua" params="" onchange="lua" onchange_params="" on_focus_lost="lua" on_focus_lost_params="">
1546 <group id="#id" active="#active" x="#x" y="#y" w="#w" h="#h" posparent="#posparent" posref="#posref">
1548 <group id="label" w="#w_label" h="20" x="0" y="0" posref="TL TL" posparent="parent">
1549 <view type="text" id="name_text" posref="BL BL" x="0" y="0" color="255 255 255 255" global_color="true" fontsize="#fontsize" shadow="true" hardtext="#hardtext" />
1552 <group type="edit_box" id="edit_box_group" w="#w_box" h="#h" x="5" y="0" posparent="label" posref="TR TL" onenter="#onenter" params="#params" onchange="#onchange" onchange_params="#onchange_params" on_focus_lost="#on_focus_lost" on_focus_lost_params="#on_focus_lost_params" max_num_chars="#max_num_chars" prompt="" enter_loose_focus="true" entry_type="#entry_type" reset_focus_on_hide="true" menu_r="">
1553 <instance template="box_widget" id="back_edit_box" posref="TL TL" sizeref="w" h="#h" />
1554 <view type="text" id="edit_text" x="4" y="-5" posref="TL TL" multi_line="#multi_line" fontsize="10" shadow="true" hardtext="" global_color="false" />
1558 <!-- the common children definitions of a combo box -->
1559 <!-- keep is true because this template is used in the teditcmd template -->
1560 <template name="r2ed_combo_box" keep="true">
1562 <instance template="box_widget" id="back" sizeref="wh" w="0" h="0" />
1563 <view type="bitmap" id="arrow" posref="MR MR" x="-4" texture="W_arrow_down_2.tga" />
1565 <view type="text" id="text" posref="ML ML" x="2" />-->
1566 <group id="text_group" posparent="parent" posref="TL TL" sizeref="wh" x="0" w="-17" y="0" h="0">
1567 <view type="text" id="text" posref="ML ML" x="2" auto_clamp="true" over_extend_view_text="true" over_extend_parent_rect="true" />
1569 <ctrl type="button" button_type="push_button" id="select" sizeref="wh" w="0" h="0" col_over="255 255 255 90" tx_over="blank.tga" scale="true" />
1571 <!-- horizontal label/combo box template -->
1572 <template name="h_label_combo_box" keep="true" active="true" id="" x="0" y="0" w="195" w_label="95" w_combo="90" posparent="" posref="" hardtext="" on_change_params="">
1573 <group id="#id" active="#active" x="#x" y="#y" w="#w" h="20" posparent="#posparent" posref="#posref">
1575 <group id="label" w="#w_label" h="20" x="0" y="0" posref="TL TL" posparent="parent">
1576 <view type="text" id="name_text" posref="BL BL" x="0" y="0" color="255 255 255 255" global_color="true" fontsize="12" shadow="true" hardtext="#hardtext" />
1579 <group type="combo_box" id="combo_box" w="#w_combo" h="20" x="0" y="0" posref="TR TL" posparent="label" linked_to_db="false" on_change="lua" on_change_params="#on_change_params">
1580 <instance template="r2ed_combo_box" />
1584 <!-- html browsing context -->
1585 <template name="webig_html" id="html" keep="true" home="" browse_redo="" browse_undo="" browse_refresh="" bg_color="0 0 0 255">
1586 <group id="#id" type="webig_html" posref="TL TL" home="#home" title_prefix="" sizeref="wh" x="0" y="0" w="0" h="0" background_color="#bg_color" error_color="255 240 48 255" link_color="240 155 100 255" text_color="210 210 210 255" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="10" h1_font_size="20" h2_font_size="18" h3_font_size="16" h4_font_size="14" h5_font_size="12" h6_font_size="12" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="w_slot_on.tga" checkbox_bitmap_pushed="w_opacity_on.tga" checkbox_bitmap_over="" background_bitmap_view="background_bitmap" browse_next_time="false" form_text_area_group="edit_box_widget_multiline" browse_refresh="#browse_refresh" browse_undo="#browse_undo" browse_redo="#browse_redo">
1587 <group id="black" posref="BR BR" sizeref="hw" w="-10" h="-12" inherit_gc_alpha="true" />
1588 <instance template="inner_thin_border" posparent="black" inherit_gc_alpha="true " />
1589 <view id="background_bitmap" type="bitmap" posparent="black" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false" />
1590 <group id="text_list" type="list" fontsize="9" posref="TL TL" posparent="black" x="2" y="-2" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000" />
1591 <ctrl id="scroll_bar" style="skin_scroll" />
1594 <!-- html browsing context no border -->
1595 <template name="webig_html_noborder" id="html" keep="true" home="" browse_redo="" browse_undo="" browse_refresh="" bg_color="0 0 0 255" x="0" y="0" h="0" w="0">
1596 <group id="#id" type="webig_html" posref="TL TL" home="#home" title_prefix="" sizeref="wh" x="#x" y="#y" w="#w" h="#h" background_color="#bg_color" error_color="255 240 48 255" link_color="240 155 100 255" text_color="210 210 210 255" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="10" h1_font_size="20" h2_font_size="18" h3_font_size="16" h4_font_size="14" h5_font_size="12" h6_font_size="12" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="w_slot_on.tga" checkbox_bitmap_pushed="w_opacity_on.tga" checkbox_bitmap_over="" background_bitmap_view="background_bitmap" browse_next_time="false" form_text_area_group="edit_box_widget_multiline" browse_refresh="#browse_refresh" browse_undo="#browse_undo" browse_redo="#browse_redo">
1597 <group id="black" posref="BR BR" sizeref="hw" w="-10" h="-12" inherit_gc_alpha="true" />
1598 <group id="text_list" type="list" fontsize="9" posref="TL TL" posparent="black" x="2" y="-2" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000" />
1599 <ctrl id="scroll_bar" style="skin_scroll" />
1602 <!-- html browser window -->
1603 <template name="webig_browser" keep="true" home="" w="480" h="400" pop_max_w="2000" pop_max_h="2000" pop_min_w="64" pop_min_h="32" browse_redo="" browse_undo="" browse_refresh="" resizer="true" global_color="true" global_color_over="true">
1604 <group id="browser" type="container" w="#w" h="#h" x="0" y="0" pop_max_w="#pop_max_w" pop_max_h="#pop_max_h" pop_min_w="#pop_min_w" pop_min_h="#pop_min_h" header_color="UI:SAVE:WIN:COLORS:COM" posref="TL TL" title="" global_color="#global_color" global_color_over="#global_color_over" right_button="true" movable="true" lockable="true" active="true" openable="true" opened="true" resizer="#resizer" on_active="lua" on_active_params="WebBrowser:onActive()">
1605 <group id="header_closed" w="64" h="16" posref="TL TL" on_active="lua" on_active_params="WebBrowser:onClickHeaderClose()" />
1606 <group id="header_opened" h="16" w="480" posref="TL TL" on_active="lua" on_active_params="WebBrowser:onClickHeaderOpen()">
1607 <ctrl style="text_button_header" id="browse_redo" button_type="push_button" posref="MR MR" x="-16" y="0" hardtext="uiBrowseRedoButton" tooltip="uittBrowseRedo" onclick_l="lua" params_l="WebBrowser:onClickRedo()" frozen="true" />
1608 <ctrl style="text_button_header" id="browse_undo" button_type="push_button" posparent="browse_redo" posref="ML MR" x="-4" y="0" hardtext="uiBrowseUndoButton" tooltip="uittBrowseUndo" onclick_l="lua" params_l="WebBrowser:onClickUndo()" frozen="true" />
1609 <ctrl style="text_button_header" id="browse_refresh" button_type="push_button" posparent="browse_undo" posref="ML MR" x="-4" y="0" hardtext="uiBrowseRefresh" tooltip="uittBrowseRefresh" onclick_l="lua" params_l="WebBrowser:onClickRefresh()" frozen="true" />
1610 <ctrl style="text_button_header" id="browse_home" button_type="push_button" posparent="browse_refresh" posref="ML MR" x="-4" y="0" hardtext="uiBrowseHome" tooltip="uittBrowseHome" onclick_l="lua" params_l="WebBrowser:onClickHome()" />
1612 <group id="content" x="0" y="0" w="0" h="0" posref="TL TL">
1613 <instance template="webig_html" home="#home" browse_redo="#browse_redo" browse_undo="#browse_undo" browse_refresh="#browse_refresh" />
1617 <!-- html <hr> element -->
1618 <template name="html_hr" keep="true">
1619 <group id="sep_gr" posref="ML ML" sizeref="w" w="0" h="0" child_resize_h="true" child_resize_hmargin="12">
1620 <view type="bitmap" id="hr" posref="MM MM" sizeref="w" w="-2" h="2" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false" />
1623 <template name="html_form_select_box_menu_widget" keep="true" id="sb">
1624 <group type="menu" id="#id" posref="BL TL" x="0" y="0" mouse_pos="false" space="2" shadow="false" color="255 255 255 128" color_over="255 255 255 255" color_grayed="0 0 0 255" fontsize="12" highlight_over="255 255 255 128" force_inside_screen="false"></group>
1627 <template name="html_meter" keep="true" id="meter" w="0" h="0" active="true" border_x2="0" bgtexture="blank.tga" bgcolor="0 0 0 255" value_w="0" value_texture="blank.tga" value_color="100 100 100 100">
1628 <group id="#id" w="#w" h="#h" active="#active">
1629 <view type="bitmap" id="bg" posref="MM MM" sizeref="wh" scale="true" texture="#bgtexture" color="#bgcolor" />
1630 <group id="inner" posref="MM MM" sizeref="wh" w="-#border_x2" h="-#border_x2">
1631 <view type="bitmap" id="gauge" posref="ML ML" posparent="bg" sizeref="h" sizeparent="bg" w="#value_w" scale="true" texture="#value_texture" color="#value_color" />
1636 <template name="html_progress" keep="true" id="meter" w="0" h="0" active="true" border_x2="0" bgtexture="blank.tga" bgcolor="0 0 0 255" value_w="0" value_texture="blank.tga" value_color="100 100 100 100">
1637 <group id="#id" w="#w" h="#h" active="#active">
1638 <view type="bitmap" id="bg" posref="MM MM" sizeref="wh" scale="true" texture="#bgtexture" color="#bgcolor" />
1639 <group id="inner" posref="MM MM" sizeref="wh" w="-#border_x2" h="-#border_x2">
1640 <view type="bitmap" id="gauge" posref="ML ML" posparent="bg" sizeref="h" sizeparent="bg" w="#value_w" scale="true" texture="#value_texture" color="#value_color" />
1645 <!-- icon for menu user group -->
1646 <template name="menu_row_icon" keep="true"
1647 id="" posref="TL TL" sizeref="w" posparent="parent" x="0" y="0" w="24" h="18"
1648 icon_id="icon" icon_x="0" icon_y="-1" icon_color="255 255 255 255" icon_texture="blank.tga">
1649 <group id="#id" posref="#posref" posparent="#posparent" sizeref="#sizeref" x="#x" y="#y" w="#w" h="#h">
1650 <view type="bitmap" id="#icon_id" posref="MM MM" x="#icon_x" y="#icon_y" color="#icon_color" w="16" h="16" scale="true"
1651 global_color="false" texture="#icon_texture" />