3 <root id="login" x="0" y="0" w="800" h="600" active="true" />
12 <template name="bk_scroll" posref="TR TR" x="0" y="0" w="24" h="24" id="" posparent="parent" sizeref="" keep="true" >
13 <group id="#id" posparent="#posparent" posref="#posref" w="#w" h="#h" x="#x" y="#y" sizeref="#sizeref" >
14 <view type="bitmap" id="t" posref="TL TL" texture="Bk_Skin_scroll_T.tga" />
15 <view type="bitmap" id="m" posref="MM MM" texture="Bk_Skin_scroll_M.tga" scale="true" sizeref="h" h="-32" w="24" />
16 <view type="bitmap" id="b" posref="BL BL" texture="Bk_Skin_scroll_B.tga" />
21 <template name="log_box" posref="TL TL" x="0" y="0" w="64" h="16" id="" posparent="parent" sizeref="" keep="true" >
22 <group id="#id" posparent="#posparent" posref="#posref" w="#w" h="#h" x="#x" y="#y" sizeref="#sizeref" >
23 <group id="bg" sizeref="hw" h="0" w="0" />
24 <view type="bitmap" id="bk" scale="true" posparent="bg" posref="MM MM" sizeref="hw" h="-32" w="-32" texture="blank.tga" color="0 0 0 128" render_layer="-1"/>
25 <view type="bitmap" id="tl" texture="LogBox_TL.tga" posref="TL TL" color="255 255 255 128" render_layer="-1"/>
26 <view type="bitmap" id="tr" texture="LogBox_TR.tga" posref="TR TR" color="255 255 255 128" render_layer="-1"/>
27 <view type="bitmap" id="br" texture="LogBox_BR.tga" posref="BR BR" color="255 255 255 128" render_layer="-1"/>
28 <view type="bitmap" id="bl" texture="LogBox_BL.tga" posref="BL BL" color="255 255 255 128" render_layer="-1"/>
29 <view type="bitmap" id="t" texture="blank.tga" posref="TM TM" scale="true" sizeref="w" w="-32" h="16" color="0 0 0 128" render_layer="-1"/>
30 <view type="bitmap" id="b" texture="blank.tga" posref="BM BM" scale="true" sizeref="w" w="-32" h="16" color="0 0 0 128" render_layer="-1"/>
31 <view type="bitmap" id="l" texture="blank.tga" posref="ML ML" scale="true" sizeref="h" h="-32" w="16" color="0 0 0 128" render_layer="-1"/>
32 <view type="bitmap" id="r" texture="blank.tga" posref="MR MR" scale="true" sizeref="h" h="-32" w="16" color="0 0 0 128" render_layer="-1"/>
36 <template name="server_box" posref="TL TL" x="0" y="0" w="64" h="16" id="" posparent="parent" sizeref="" keep="true" >
37 <group id="#id" posparent="#posparent" posref="#posref" w="#w" h="#h" x="#x" y="#y" sizeref="#sizeref">
38 <group id="bg" sizeref="hw" h="0" w="0" />
39 <view type="bitmap" id="bk" scale="true" posparent="bg" posref="MM MM" sizeref="hw" w="-16" h="-16" texture="log_eb_m.tga" />
40 <view type="bitmap" id="tl" texture="log_eb_tl.tga" posref="TL TL" />
41 <view type="bitmap" id="tr" texture="log_eb_tr.tga" posref="TR TR" />
42 <view type="bitmap" id="br" texture="log_eb_br.tga" posref="BR BR" />
43 <view type="bitmap" id="bl" texture="log_eb_bl.tga" posref="BL BL" />
44 <view type="bitmap" id="t" texture="log_eb_t.tga" posref="TM TM" scale="true" sizeref="w" w="-16" h="8" />
45 <view type="bitmap" id="b" texture="log_eb_b.tga" posref="BM BM" scale="true" sizeref="w" w="-16" h="8" />
46 <view type="bitmap" id="l" texture="log_eb_l.tga" posref="ML ML" scale="true" sizeref="h" h="-16" w="8" />
47 <view type="bitmap" id="r" texture="log_eb_r.tga" posref="MR MR" scale="true" sizeref="h" h="-16" w="8" />
51 <template name="log_box_frame" posref="TL TL" x="0" y="0" w="64" h="16" id="" posparent="parent" sizeref="" keep="true" >
52 <group id="#id" posparent="#posparent" posref="#posref" w="#w" h="#h" x="#x" y="#y" sizeref="#sizeref" >
53 <view type="bitmap" id="bk" scale="true" posref="MM MM" sizeref="hw" h="-16" w="-16" texture="blank.tga" color="0 0 0 255" render_layer="-1"/>
54 <view type="bitmap" id="tl" texture="log_mod_tl.tga" posref="TL TL" render_layer="-1"/>
55 <view type="bitmap" id="tr" texture="log_mod_tr.tga" posref="TR TR" render_layer="-1"/>
56 <view type="bitmap" id="br" texture="log_mod_br.tga" posref="BR BR" render_layer="-1"/>
57 <view type="bitmap" id="bl" texture="log_mod_bl.tga" posref="BL BL" render_layer="-1"/>
58 <view type="bitmap" id="t" texture="log_mod_t.tga" posref="TM TM" scale="true" sizeref="w" w="-16" h="8" render_layer="-1"/>
59 <view type="bitmap" id="b" texture="log_mod_b.tga" posref="BM BM" scale="true" sizeref="w" w="-16" h="8" render_layer="-1"/>
60 <view type="bitmap" id="l" texture="log_mod_l.tga" posref="ML ML" scale="true" sizeref="h" h="-16" w="8" render_layer="-1"/>
61 <view type="bitmap" id="r" texture="log_mod_r.tga" posref="MR MR" scale="true" sizeref="h" h="-16" w="8" render_layer="-1"/>
66 <template name="edit_box_log" posref="TL TL" text_x="0" text_y="0" text_ref="BL BL" multi_line="false" x="0" y="0" w="0" h="0"
67 id="eb" posparent="parent" onenter="chat_box_entry" params="" reset_focus_on_hide="true" on_focus="" on_focus_params=""
68 enter_loose_focus="true" prompt=">"
69 enter_recover_focus="true"
81 shadow_color="0 0 0 255"
82 shadow_outline="false"
83 backup_father_container_pos="false"
85 color="255 255 255 255"
87 <group id="#id" posref="#posref" x="#x" y="#y" posparent="#posparent" w="#w" h="#h">
90 <view type="bitmap" id="bg" posref="MM MM" scale="true" sizeref="hw" w="-16" h="-16" texture="log_eb_m.tga" />
91 <view type="bitmap" id="tl" texture="log_eb_tl.tga" posref="TL TL" />
92 <view type="bitmap" id="tr" texture="log_eb_tr.tga" posref="TR TR" />
93 <view type="bitmap" id="br" texture="log_eb_br.tga" posref="BR BR" />
94 <view type="bitmap" id="bl" texture="log_eb_bl.tga" posref="BL BL" />
95 <view type="bitmap" id="t" texture="log_eb_t.tga" posref="TM TM" scale="true" sizeref="w" w="-16" h="8" />
96 <view type="bitmap" id="b" texture="log_eb_b.tga" posref="BM BM" scale="true" sizeref="w" w="-16" h="8" />
97 <view type="bitmap" id="l" texture="log_eb_l.tga" posref="ML ML" scale="true" sizeref="h" h="-16" w="8" />
98 <view type="bitmap" id="r" texture="log_eb_r.tga" posref="MR MR" scale="true" sizeref="h" h="-16" w="8" />
100 <group type="edit_box" sizeref="wh" w="-8" h="-8" id="eb" posref="MM MM" on_focus="#on_focus" on_focus_params="#on_focus_params" 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" backup_father_container_pos="#backup_father_container_pos">
101 <view id="edit_text" type="text" 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"/>
108 <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" x="0" y="0" w="0" h="0"
109 sizeref="" id="eb" posparent="parent" onenter="chat_box_entry" params="" reset_focus_on_hide="true"
110 enter_loose_focus="true" prompt=">"
111 enter_recover_focus="true"
112 max_num_chars="10000"
125 shadow_color="0 0 0 255"
126 shadow_outline="false"
127 backup_father_container_pos="false"
129 color="255 255 255 255"
134 <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">
135 <group type="edit_box" sizeref="#sizeref_eb" w="-16" id="eb" posref="TL TL" x="8" y="-8" child_resize_h="#child_resize_h" 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" backup_father_container_pos="#backup_father_container_pos" render_layer="#render_layer">
136 <view type="bitmap" id="bg" scale="true" sizeref="hw" h="0" w="0" texture="log_eb_m.tga" inherit_gc_alpha="false" render_layer="#render_layer"/>
137 <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" fontweight="#fontweight" fontstyle="#fontstyle" 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"/>
140 <!-- border around the list -->
141 <view type="bitmap" id="tlb" texture="log_eb_tl.tga" posparent="eb" posref="TL BR" inherit_gc_alpha="false" render_layer="#render_layer"/>
142 <view type="bitmap" id="trb" texture="log_eb_tr.tga" posparent="eb" posref="TR BL" inherit_gc_alpha="false" render_layer="#render_layer"/>
143 <view type="bitmap" id="brb" texture="log_eb_br.tga" posparent="eb" posref="BR TL" inherit_gc_alpha="false" render_layer="#render_layer"/>
144 <view type="bitmap" id="blb" texture="log_eb_bl.tga" posparent="eb" posref="BL TR" inherit_gc_alpha="false" render_layer="#render_layer"/>
145 <view type="bitmap" id="tb" texture="log_eb_t.tga" posparent="eb" posref="TL BL" scale="true" sizeref="w" w="0" h="8" inherit_gc_alpha="false" render_layer="#render_layer"/>
146 <view type="bitmap" id="bb" texture="log_eb_b.tga" posparent="eb" posref="BL TL" scale="true" sizeref="w" w="0" h="8" inherit_gc_alpha="false" render_layer="#render_layer"/>
147 <view type="bitmap" id="lb" texture="log_eb_l.tga" posparent="eb" posref="TL TR" scale="true" sizeref="h" h="0" w="8" inherit_gc_alpha="false" render_layer="#render_layer"/>
148 <view type="bitmap" id="rb" texture="log_eb_r.tga" posparent="eb" posref="TR TL" scale="true" sizeref="h" h="0" w="8" inherit_gc_alpha="false" render_layer="#render_layer"/>
153 <!-- Alternate look for multi line input -->
154 <template name="edit_box_widget_multiline_2" posref="TL TL" text_x="0" text_y="0" text_ref="BL BL" child_resize_h="true" multi_line="true" x="0" y="0" w="0" h="0"
155 sizeref="" id="eb" posparent="parent" onenter="chat_box_entry" params="" reset_focus_on_hide="true"
156 enter_loose_focus="true" prompt=">"
157 enter_recover_focus="true"
158 max_num_chars="10000"
169 shadow_color="0 0 0 255"
170 shadow_outline="false"
171 backup_father_container_pos="false"
173 color="255 255 255 255"
177 <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">
178 <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" 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">
179 <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"/>
180 <view id="edit_text" type="text" 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"/>
183 <!-- border around the list -->
184 <view type="bitmap" id="tlb" texture="W_box_top_left.tga" posparent="eb" posref="TL BR" inherit_gc_alpha="true" render_layer="#render_layer"/>
185 <view type="bitmap" id="trb" texture="W_box_top_right.tga" posparent="eb" posref="TR BL" inherit_gc_alpha="true" render_layer="#render_layer"/>
186 <view type="bitmap" id="brb" texture="W_box_bot_right.tga" posparent="eb" posref="BR TL" inherit_gc_alpha="true" render_layer="#render_layer"/>
187 <view type="bitmap" id="blb" texture="W_box_bot_left.tga" posparent="eb" posref="BL TR" inherit_gc_alpha="true" render_layer="#render_layer"/>
188 <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"/>
189 <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"/>
190 <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"/>
191 <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"/>
197 <style style="log_button" type="text_button" button_type="push_button"
198 tx_normal="log_but" tx_pushed="log_but_over" tx_over="log_but_over" wmargin="48"
199 color="255 255 255 255" col_over="255 255 255 255" col_pushed="255 255 255 255"
200 text_y="0" fontsize="10" shadow="true"
201 text_color_normal="255 255 255 160"
202 text_color_pushed="255 255 255 255"
203 text_color_over="255 255 255 255"
204 text_shadow_color_normal="0 0 0 255"
205 text_shadow_color_pushed="0 0 0 255"
206 text_shadow_color_over="0 0 0 255"
210 <style style="log_std_but" type="text_button" button_type="push_button"
211 tx_normal="but" tx_pushed="but" tx_over="but_over" wmargin="16"
212 color="255 255 255 160" col_over="255 255 255 255" col_pushed="255 255 255 255"
213 text_y="0" fontsize="10" shadow="true"
214 text_color_normal="135 243 28 160"
215 text_color_pushed="135 243 28 255"
216 text_color_over="135 243 28 255"
217 text_shadow_color_normal="0 0 0 255"
218 text_shadow_color_pushed="0 0 0 255"
219 text_shadow_color_over="0 0 0 255"
222 <style style="log_spe_but" type="text_button" button_type="push_button"
223 tx_normal="but" tx_pushed="but" tx_over="but_over" wmargin="16" wmin="552"
224 color="255 255 255 160" col_over="255 255 255 255" col_pushed="255 255 255 255"
225 text_y="0" fontsize="10" shadow="true"
226 text_color_normal="135 243 28 160"
227 text_color_pushed="135 243 28 255"
228 text_color_over="135 243 28 255"
229 text_shadow_color_normal="0 0 0 255"
230 text_shadow_color_pushed="0 0 0 255"
231 text_shadow_color_over="0 0 0 255"
235 <style style="server_note" type="text_button" button_type="push_button"
236 tx_normal="serv_note" tx_pushed="serv_note" tx_over="serv_note_over" wmargin="16"
237 color="255 255 255 160" col_over="255 255 255 255" col_pushed="255 255 255 255"
238 text_y="0" fontsize="10" shadow="true"
239 text_color_normal="135 243 28 160"
240 text_color_pushed="135 243 28 255"
241 text_color_over="135 243 28 255"
242 text_shadow_color_normal="0 0 0 255"
243 text_shadow_color_pushed="0 0 0 255"
244 text_shadow_color_over="0 0 0 255"
247 <style style="text_button_16" type="text_button" button_type="push_button"
248 tx_normal="w_text_button_normal" tx_pushed="w_text_button_pushed" tx_over="w_text_button_over"
249 global_color_normal="true" global_color_over="true" global_color_pushed="true"
250 text_y="0" fontsize="10" shadow="true" case_mode="%case_upper" wmargin="8"
251 text_color_normal="255 255 255 128" text_color_pushed="255 255 255 255" text_color_over="255 255 255 255" />
254 <group type="modal" id="message_box" exit_click_out="true" posref="MM MM" w="420" child_resize_h="true" child_resize_hmargin="20"
255 on_enter="leave_modal" options="no_bordure" mouse_pos="false" exit_key_pushed="true"
259 <instance template="log_box_frame" id="bk" posref="MM MM" sizeref="wh" w="0" h="0" />
261 <view type="text" id="text" posref="MM MM" line_maxw="420" w="420" x="0" y="12"
262 color="135 243 28 255" fontsize="12" shadow="true" multi_line="true" multi_line_space="0" case_mode="%case_first_sentence_letter_up"/>
264 <ctrl style="log_std_but" id="but_ok" posparent="text" posref="BM TM" y="-6" onclick_l="leave_modal" hardtext="uittOK"/>
270 <proc id="proc_browse_faq" >
272 NB : do not leave the window here, this way the user can refer to the message in the help message box
273 <action handler="leave_modal" />
275 <action handler="browse_faq"/>
280 <proc id="proc_message_box_with_help_ok" >
281 <action handler="leave_modal" /> <!-- must leave modal first if another modal is to be displayed after this one -->
282 <action handler="" params=""/>
286 <group type="modal" id="message_box_with_help" exit_click_out="false" posref="MM MM" w="420" child_resize_h="true" child_resize_hmargin="20"
287 on_enter="proc" on_enter_params="proc_message_box_with_help_ok"
288 on_deactive = "proc" on_deactive_params="proc_message_box_with_help_ok"
290 options="no_bordure" mouse_pos="false" exit_key_pushed="true"
294 <instance template="log_box_frame" id="bk" posref="MM MM" sizeref="wh" w="0" h="0" />
296 <view type="text" id="text" posref="MM MM" line_maxw="420" w="420" x="0" y="12"
297 color="135 243 28 255" fontsize="12" shadow="true" multi_line="true" multi_line_space="0" case_mode="%case_first_sentence_letter_up"/>
299 <ctrl style="log_std_but" id="but_ok" posparent="text" posref="BM TL" x="2" y="-6" onclick_l="proc" params_l="proc_message_box_with_help_ok" hardtext="uittOK"/>
300 <ctrl style="log_std_but" id="but_help" posparent="text" posref="BM TR" x="-2" y="-6" onclick_l="proc" params_l="proc_browse_faq" hardtext="uittBrowseFaq"/>
308 <proc id="proc_nothing">
311 <!-- ********************************* -->
312 <!-- * TEMPLATE FOR MENU SEPARATORS * -->
313 <!-- ********************************* -->
314 <template name="menu_separator" keep="true">
315 <group id="sep_gr" posref="BL BL" sizeref="w" w="0" h="4"> <!-- width is setupped by the menu -->
316 <view type="bitmap" id="m" scale="true" w="0" h="0" sizeref="wh" texture="W_line_hor3.tga" />
319 <!-- the same as menu_separator, but this is just a place holder (must give height of the separator -->
320 <template name="menu_separator_empty" keep="true">
321 <group id="sep" posref="BL BL" w="4" h="4" x="-4">
322 <!-- <view type="bitmap" id="l" posref="TL TL" texture="w_button_08_over.tga" /> -->
326 <!-- ******************************* -->
327 <!-- * TEMPLATE FOR MENU CHECKBOX * -->
328 <!-- ******************************* -->
329 <template name="menu_checkbox" keep="true" onclick_l="" params_l="">
330 <group id="cb" child_resize_h="true" child_resize_w="true">
331 <ctrl type="button" id="b" button_type="toggle_button" posref="TL TL"
332 tx_normal="W_sound_off.tga" tx_pushed="W_sound_on.tga" tx_over="W_button_14_over.tga"
333 color="255 255 255 255" col_pushed="255 255 255 255" col_over="255 255 255 255"
334 global_color_pushed="false"
335 onclick_l="#onclick_l" params_l="#params_l"/>
340 <!-- **************************************** -->
341 <!-- * BASE PARAMETERS FOR MENU (COLOR ..) * -->
342 <!-- **************************************** -->
343 <group type="menu" id="base_menu"
344 mouse_pos="true" exit_click_b="true" win_priority="%win_priority_highest"
346 color="255 255 255 128"
349 shadow_color="0 0 0 255"
350 shadow_color_over="0 0 0 255"
351 color_over="255 255 255 255"
352 color_grayed="255 255 255 64"
353 shadow_color_grayed="155 155 155 255"
354 highlight_over="255 255 255 128"
358 <!-- ******************* -->
359 <!-- * SELECT NUMBER * -->
360 <!-- ******************* -->
363 <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" >
364 <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" >
365 <view type="bitmap" id="slot_number" posref="ML ML" texture="W_slot_number.tga" />
366 <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" />
367 <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" />
368 <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" />
373 <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" >
374 <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" >
375 <view type="bitmap" id="slot_number" posref="MM MM" texture="W_slot_number.tga" />
376 <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" />
377 <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" />
378 <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" />
383 <!-- template for border inside of a group -->
384 <template name="inner_thin_border_group" posparent="parent" keep="true" inherit_gc_alpha="false" posref="BL BL" w="0" h="0">
385 <group id="itb" posparent="#posparent" sizeref="hw" w="#w" h="#h" posref="#posref">
386 <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"/>
387 <view type="bitmap" id="tlb" texture="W_box_top_left.tga" posref="TL TL" inherit_gc_alpha="#inherit_gc_alpha"/>
388 <view type="bitmap" id="trb" texture="W_box_top_right.tga" posref="TR TR" inherit_gc_alpha="#inherit_gc_alpha"/>
389 <view type="bitmap" id="brb" texture="W_box_bot_right.tga" posref="BR BR" inherit_gc_alpha="#inherit_gc_alpha"/>
390 <view type="bitmap" id="blb" texture="W_box_bot_left.tga" posref="BL BL" inherit_gc_alpha="#inherit_gc_alpha"/>
391 <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"/>
392 <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"/>
393 <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"/>
394 <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"/>
399 <!-- ********************* -->
400 <!-- * EDIT BOX WIDGET * -->
401 <!-- ********************* -->
403 <template name="edit_box_widget" posref="TL TL" text_x="0" text_y="0" text_ref="BL BL" child_resize_h="true" multi_line="false" x="0" y="0" w="0" h="0"
404 sizeref="" id="eb" posparent="parent" onenter="chat_box_entry" params="" reset_focus_on_hide="true"
405 enter_loose_focus="true" prompt=">"
406 enter_recover_focus="true"
418 shadow_color="0 0 0 255"
419 shadow_outline="false"
420 backup_father_container_pos="false"
422 color="255 255 255 255"
426 <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">
427 <group type="edit_box" sizeref="#sizeref_eb" w="-16" id="eb" posref="TL TL" x="8" y="-8" child_resize_h="#child_resize_h" 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" backup_father_container_pos="#backup_father_container_pos" render_layer="#render_layer">
428 <view type="bitmap" id="bg" scale="true" sizeref="hw" h="0" w="0" texture="log_eb_m.tga" inherit_gc_alpha="false" render_layer="#render_layer"/>
430 <view id="edit_text" type="text" 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"/>
433 <!-- border around the list -->
434 <view type="bitmap" id="tlb" texture="log_eb_tl.tga" posparent="eb" posref="TL BR" inherit_gc_alpha="false" render_layer="#render_layer"/>
435 <view type="bitmap" id="trb" texture="log_eb_tr.tga" posparent="eb" posref="TR BL" inherit_gc_alpha="false" render_layer="#render_layer"/>
436 <view type="bitmap" id="brb" texture="log_eb_br.tga" posparent="eb" posref="BR TL" inherit_gc_alpha="false" render_layer="#render_layer"/>
437 <view type="bitmap" id="blb" texture="log_eb_bl.tga" posparent="eb" posref="BL TR" inherit_gc_alpha="false" render_layer="#render_layer"/>
438 <view type="bitmap" id="tb" texture="log_eb_t.tga" posparent="eb" posref="TL BL" scale="true" sizeref="w" w="0" h="8" inherit_gc_alpha="false" render_layer="#render_layer"/>
439 <view type="bitmap" id="bb" texture="log_eb_b.tga" posparent="eb" posref="BL TL" scale="true" sizeref="w" w="0" h="8" inherit_gc_alpha="false" render_layer="#render_layer"/>
440 <view type="bitmap" id="lb" texture="log_eb_l.tga" posparent="eb" posref="TL TR" scale="true" sizeref="h" h="0" w="8" inherit_gc_alpha="false" render_layer="#render_layer"/>
441 <view type="bitmap" id="rb" texture="log_eb_r.tga" posparent="eb" posref="TR TL" scale="true" sizeref="h" h="0" w="8" inherit_gc_alpha="false" render_layer="#render_layer"/>
445 <!-- alternate look for edit box -->
446 <template name="edit_box_widget_2" posref="TL TL" text_x="0" text_y="0" text_ref="BL BL" child_resize_h="true" multi_line="false" x="0" y="0" w="0" h="0"
447 sizeref="" id="eb" posparent="parent" onenter="chat_box_entry" params="" reset_focus_on_hide="true"
448 enter_loose_focus="true" prompt=">"
449 enter_recover_focus="true"
461 shadow_color="0 0 0 255"
462 shadow_outline="false"
463 backup_father_container_pos="false"
465 color="255 255 255 255"
467 <group id="#id" posref="#posref" x="#x" y="#y" posparent="#posparent" child_resize_h="#child_resize_h" sizeref="#sizeref" w="#w" h="#h">
468 <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" backup_father_container_pos="#backup_father_container_pos">
470 <view type="bitmap" id="bg" scale="true" sizeref="hw" h="0" w="0" texture="blank.tga" color="255 255 255 0" />
472 <view id="edit_text" type="text" 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"/>
475 <!-- border around the list -->
476 <view type="bitmap" id="tlb" texture="W_box_top_left.tga" posparent="eb" posref="TL BR" inherit_gc_alpha="true"/>
477 <view type="bitmap" id="trb" texture="W_box_top_right.tga" posparent="eb" posref="TR BL" inherit_gc_alpha="true"/>
478 <view type="bitmap" id="brb" texture="W_box_bot_right.tga" posparent="eb" posref="BR TL" inherit_gc_alpha="true"/>
479 <view type="bitmap" id="blb" texture="W_box_bot_left.tga" posparent="eb" posref="BL TR" inherit_gc_alpha="true"/>
480 <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"/>
481 <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"/>
482 <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"/>
483 <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"/>
489 <!-- **************** -->
490 <!-- * BOX WIDGET * -->
491 <!-- **************** -->
496 <template name="box_widget" render_layer="0" posref="TL TL" x="0" y="0" w="64" h="16" id="" posparent="parent" sizeref="" keep="true" >
497 <group id="#id" posparent="#posparent" posref="#posref" w="#w" h="#h" x="#x" y="#y" sizeref="#sizeref" >
499 <view type="bitmap" render_layer="#render_layer" id="back" scale="true" posparent="bg" posref="MM MM" sizeref="hw" h="-8" w="-8" texture="blank.tga" inherit_gc_alpha="true"/>
500 <view type="bitmap" render_layer="#render_layer" id="bg" scale="true" sizeref="hw" h="0" w="0" texture="blank.tga" inherit_gc_alpha="true"/>
502 <view type="bitmap" render_layer="#render_layer" id="tlb" texture="log_eb_tl.tga" posref="TL TL" inherit_gc_alpha="true"/>
503 <view type="bitmap" render_layer="#render_layer" id="trb" texture="log_eb_tr.tga" posref="TR TR" inherit_gc_alpha="true"/>
504 <view type="bitmap" render_layer="#render_layer" id="brb" texture="log_eb_br.tga" posref="BR BR" inherit_gc_alpha="true"/>
505 <view type="bitmap" render_layer="#render_layer" id="blb" texture="log_eb_bl.tga" posref="BL BL" inherit_gc_alpha="true"/>
506 <view type="bitmap" render_layer="#render_layer" id="tb" texture="log_eb_t.tga" posref="TM TM" scale="true" sizeref="w" w="-8" h="4" inherit_gc_alpha="true"/>
507 <view type="bitmap" render_layer="#render_layer" id="bb" texture="log_eb_b.tga" posref="BM BM" scale="true" sizeref="w" w="-8" h="4" inherit_gc_alpha="true"/>
508 <view type="bitmap" render_layer="#render_layer" id="lb" texture="log_eb_l.tga" posref="ML ML" scale="true" sizeref="h" h="-8" w="4" inherit_gc_alpha="true"/>
509 <view type="bitmap" render_layer="#render_layer" id="rb" texture="log_eb_r.tga" posref="MR MR" scale="true" sizeref="h" h="-8" w="4" inherit_gc_alpha="true"/>
513 <template name="frame_widget" posref="TL TL" x="0" y="0" w="64" h="16" id="" posparent="parent" sizeref="" keep="true" >
514 <group id="#id" posparent="#posparent" posref="#posref" w="#w" h="#h" x="#x" y="#y" sizeref="#sizeref" >
515 <group id="bg" sizeref="hw" h="0" w="0" />
516 <view type="bitmap" id="t" texture="blank.tga" posref="TM TM" scale="true" sizeref="w" w="0" h="1" color="3 3 3 255"/>
517 <view type="bitmap" id="b" texture="blank.tga" posref="BM BM" scale="true" sizeref="w" w="0" h="1" color="160 160 160 255"/>
518 <view type="bitmap" id="l" texture="blank.tga" posref="ML ML" scale="true" sizeref="h" h="-2" w="1" color="45 45 45 255" />
519 <view type="bitmap" id="r" texture="blank.tga" posref="MR MR" scale="true" sizeref="h" h="-2" w="1" color="129 129 129 255" />
523 <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" >
524 <group id="#id" posparent="#posparent" posref="#posref" w="#w" h="#h" x="#x" y="#y" sizeref="#sizeref" >
525 <group id="bg" sizeref="hw" h="0" w="0" />
526 <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" />
527 <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" />
528 <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" />
529 <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" />
533 <!-- template for the inner border of a dialog, with thick border on the left -->
534 <template name="inner_thick_border" id="inner_thick_border" posparent="parent" keep="true">
535 <group id="#id" posref="TL TL" sizeref="hw">
536 <view type="bitmap" id="tlb" texture="W_L0_TL.tga" posparent="#posparent" posref="TL TL" />
537 <view type="bitmap" id="trb" texture="W_L0_TR.tga" posparent="#posparent" posref="TR TR" />
538 <view type="bitmap" id="brb" texture="W_L0_BR.tga" posparent="#posparent" posref="BR BR" />
539 <view type="bitmap" id="blb" texture="W_L0_BL.tga" posparent="#posparent" posref="BL BL" />
540 <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" />
541 <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" />
542 <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" />
543 <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" />
548 <!-- ***************** -->
549 <!-- * CONTEXT HELP * -->
550 <!-- ***************** -->
552 <group id="context_help" h="16" child_resize_w="true" child_resize_wmargin="12" posref="BL BL" >
554 <view type="bitmap" id="midblack" sizeref="wh" posref="MM MM" w="0" h="0" scale="true" color="0 0 0 255" texture="blank.tga" />
555 <view type="bitmap" id="midcolor" sizeref="wh" posref="MM MM" h="-2" w="-2" scale="true" color="255 210 40 255" texture="blank.tga" />
557 <view type="text" id="text" posref="MM MM" y="-1" color="0 0 0 255" fontsize="12" shadow="false" multi_line="false" />
562 <template name="modal_border" posparent="parent">
563 <view type="bitmap" id="tlb" texture="W_modal_TL.tga" posparent="#posparent" posref="TL TL" />
564 <view type="bitmap" id="trb" texture="W_modal_TR.tga" posparent="#posparent" posref="TR TR" />
565 <view type="bitmap" id="brb" texture="W_modal_BR.tga" posparent="#posparent" posref="BR BR" />
566 <view type="bitmap" id="blb" texture="W_modal_BL.tga" posparent="#posparent" posref="BL BL" />
567 <view type="bitmap" id="tb" texture="W_modal_T.tga" posparent="#posparent" posref="TM TM" scale="true" sizeref="w" w="-8" h="4"/>
568 <view type="bitmap" id="bb" texture="W_modal_B.tga" posparent="#posparent" posref="BM BM" scale="true" sizeref="w" w="-8" h="4"/>
569 <view type="bitmap" id="lb" texture="W_modal_L.tga" posparent="#posparent" posref="ML ML" scale="true" sizeref="h" h="-8" w="4"/>
570 <view type="bitmap" id="rb" texture="W_modal_R.tga" posparent="#posparent" posref="MR MR" scale="true" sizeref="h" h="-8" w="4"/>
575 <!-- the common children definitions of a combo box -->
576 <!-- keep is true because this template is used in the teditcmd template -->
577 <template name="combo_box_def1" keep="true" >
579 <instance template="box_widget" id="back" sizeref="wh" w="0" h="0" />
580 <view type="bitmap" id="arrow" posref="MR MR" x="-4" texture="but_right.tga" rot="1"/>
583 <view type="text" id="text" posref="ML ML" x="2" />
584 <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" />
589 <!-- ******************* -->
591 <!-- ******************* -->
594 <!-- Common Style of a Modal Container. user should define
595 - the "modal_parent" window
596 - and the "on_enter" ActionHandler to support all "Modal Container" aspects.
598 <style style="container_modal" type="container"
599 movable="true" resizer="false" global_color="false"
600 openable="false" opened="true" active="false" escapable="true" right_button="false" />
603 <!-- Common Style for an OK Button. User should define:
604 - "onclick_l" and "params_l"
605 - x, y, posparent and posref
607 <style style="button_ok" type="text_button" id="ok" button_type="push_button"
608 tx_normal="w_text_button_normal" tx_pushed="w_text_button_pushed" tx_over="w_text_button_over"
609 global_color_normal="true" global_color_over="true" global_color_pushed="true"
610 text_y="0" fontsize="10" shadow="true" case_mode="%case_upper" wmargin="8" />
612 <!-- Common Style for a Cancel Button. By default positioned according to the "ok" button. User should define:
613 - "onclick_l" and "params_l"
615 <style style="button_cancel" type="text_button" id="cancel" button_type="push_button"
616 tx_normal="w_text_button_normal" tx_pushed="w_text_button_pushed" tx_over="w_text_button_over"
617 global_color_normal="true" global_color_over="true" global_color_pushed="true"
618 text_y="0" fontsize="10" shadow="true" case_mode="%case_upper" wmargin="8" />
621 <!-- Group of two ok, cancel buttons
623 <template name="button_ok_cancel" id="ok_cancel" ok_text="uittOK" cancel_text="uittCancel" posparent="parent" posref="BM TM"
624 onclick_ok="" onclick_ok_param="" onclick_cancel="" onclick_cancel_param="" x="0" y="0" keep="true" >
625 <group id="#id" posparent="#posparent" posref="#posref" child_resize_w="true" child_resize_h="true" x="#x" y="#y">
626 <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" />
627 <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" />
632 <!-- ***************************** -->
633 <!-- * HTML TEXT BUTTON WIDGET * -->
634 <!-- ***************************** -->
637 <!-- Group for html text button
639 <template name="html_text_button" id="" text="" posparent="parent" posref="TL TL"
640 onclick="" onclick_param="" x="0" y="0" keep="true" active="true" wmin="0">
641 <group type="html_input_offset" y_offset="-8" id="#id" posparent="#posparent" posref="#posref" child_resize_w="true" child_resize_h="true" x="#x" y="#y" active="#active">
642 <ctrl style="log_spe_but" id="button" wmin="#wmin" x="0" y="0" posref="TL TL" text_y="0" onclick_l="#onclick" params_l="#onclick_param" hardtext="#text" color="255 255 255 200"/>
646 <!-- Group for html text button, alternal look
648 <template name="html_text_button_look2" id="" text="" posparent="parent" posref="TL TL"
649 onclick="" onclick_param="" x="0" y="0" keep="true" >
650 <group type="html_input_offset" y_offset="-8" id="#id" posparent="#posparent" posref="#posref" child_resize_w="true" child_resize_h="true" x="#x" y="#y">
651 <ctrl style="log_button" id="button" wmin="0" x="0" y="0" posref="TL TL" text_y="0" onclick_l="#onclick" params_l="#onclick_param" hardtext="#text" color="255 255 255 200"/>
655 <!-- Group for html text button, third look
657 <template name="html_text_button_look3" id="" text="" posparent="parent" posref="TL TL"
658 onclick="" onclick_param="" x="0" y="0" keep="true" >
659 <group type="html_input_offset" y_offset="-8" id="#id" posparent="#posparent" posref="#posref" child_resize_w="true" child_resize_h="true" x="#x" y="#y">
660 <ctrl style="server_note" id="button" wmin="0" x="0" y="0" posref="TL TL" text_y="0" onclick_l="#onclick" params_l="#onclick_param" hardtext="#text" color="255 255 255 200"/>
665 <template name="html_text_button_look4" id="" text="" posparent="parent" posref="TL TL"
666 onclick="" onclick_param="" x="0" y="0" keep="true" >
667 <group id="#id" posparent="#posparent" posref="#posref" child_resize_w="true" child_resize_h="true" x="#x" y="#y">
668 <ctrl style="text_button_16" id="b" onclick_l="#onclick" params_l="#onclick_param" hardtext="#text" />
673 <!-- Common Style for a Close Button.
676 <style style="button_close" type="button" id="close" button_type="push_button" posref="TR TR" x="0" y="0"
677 tx_normal="W_close_1.tga" tx_pushed="W_close_1.tga" tx_over="W_button_12_over.tga"
678 global_color_normal="false" global_color_pushed="false" />
681 <!-- Common Style for a text Button. User should define:
683 - "onclick_l" and "params_l"
684 - x, y, posparent and posref
686 <style style="text_button_16" type="text_button" button_type="push_button"
687 tx_normal="w_text_button_normal" tx_pushed="w_text_button_pushed" tx_over="w_text_button_over"
688 global_color_normal="true" global_color_over="true" global_color_pushed="true"
689 text_y="0" fontsize="10" shadow="true" case_mode="%case_upper" wmargin="8"
690 text_color_normal="255 255 255 128" text_color_pushed="255 255 255 255" text_color_over="255 255 255 255" />
693 <style style="new_element_header" type="text_button" button_type="push_button"
694 tx_normal="w_text_button_normal" tx_pushed="w_text_button_pushed" tx_over="w_text_button_over"
695 global_color_normal="false" global_color_over="false" global_color_pushed="false"
696 text_y="0" fontsize="10" shadow="true" case_mode="%case_upper" wmargin="8"
697 text_global_color_normal="false" text_global_color_pushed="false" text_global_color_over="false"
698 text_color_normal="255 255 255 128" text_color_pushed="255 255 255 255" text_color_over="255 255 255 255"
699 text_header_color="true" />
702 <style style="new_element_content" type="text_button" button_type="push_button"
703 tx_normal="w_text_button_normal" tx_pushed="w_text_button_pushed" tx_over="w_text_button_over"
704 text_y="0" fontsize="10" shadow="true" case_mode="%case_upper" wmargin="8"
705 global_color_normal="true" global_color_over="true" global_color_pushed="true"
706 text_global_color_normal="true" text_global_color_pushed="true" text_global_color_over="true"
707 text_color_normal="255 255 255 128" text_color_pushed="255 255 255 255" text_color_over="255 255 255 255" />
710 <style style="qh_button" type="text_button" button_type="radio_button"
711 tx_normal="qh_off" tx_pushed="qh_on" tx_over="qh_off" wmin="208" wmargin="8"
712 global_color_normal="true" global_color_over="true" global_color_pushed="false"
713 color="255 255 255 128" col_over="255 255 255 0" col_pushed="255 128 0 192"
714 text_y="0" fontsize="12" shadow="true"
715 text_color_normal="255 255 255 255"
716 text_color_pushed="255 255 255 255"
717 text_color_over="255 255 255 255"
718 text_shadow_color_normal="0 0 0 255"
719 text_shadow_color_pushed="0 0 0 255"
720 text_shadow_color_over="0 0 0 255"
721 text_global_color_normal="true"
722 text_global_color_pushed="false"
723 text_global_color_over="false" />
725 <style style="mk_button" type="text_button" button_type="push_button"
726 tx_normal="qh_off" tx_pushed="qh_on" tx_over="qh_off" wmin="104" wmargin="8"
727 global_color_normal="true" global_color_over="true" global_color_pushed="false"
728 color="255 255 255 128" col_over="255 255 255 0" col_pushed="255 128 0 192"
729 text_y="0" fontsize="12" shadow="true"
730 text_color_normal="255 255 255 255"
731 text_color_pushed="255 255 255 255"
732 text_color_over="255 255 255 255"
733 text_shadow_color_normal="0 0 0 255"
734 text_shadow_color_pushed="0 0 0 255"
735 text_shadow_color_over="0 0 0 255"
736 text_global_color_normal="true"
737 text_global_color_pushed="false"
738 text_global_color_over="false" />
741 <style style="mk_button_tog" type="text_button" button_type="toggle_button"
742 tx_normal="qh_off" tx_pushed="qh_off" tx_over="qh_off" wmin="104" wmargin="8"
743 global_color_normal="true" global_color_over="true" global_color_pushed="true"
744 color="255 255 255 128" col_over="255 255 255 0" col_pushed="255 255 255 128"
745 text_y="0" fontsize="12" shadow="true"
746 text_color_normal="255 255 255 255"
747 text_color_pushed="255 255 255 255"
748 text_color_over="255 255 255 255"
749 text_shadow_color_normal="0 0 0 255"
750 text_shadow_color_pushed="0 0 0 255"
751 text_shadow_color_over="0 0 0 255"
752 text_global_color_normal="true"
753 text_global_color_pushed="true"
754 text_global_color_over="true" />
756 <style style="defense_style_button" type="text_button" button_type="radio_button"
757 tx_normal="qh_off" tx_pushed="qh_on" tx_over="qh_off" wmin="86" wmargin="8"
758 global_color_normal="true" global_color_over="true" global_color_pushed="false"
759 color="255 255 255 128" col_over="255 255 255 0" col_pushed="255 190 0 192"
760 text_y="0" fontsize="12" shadow="true"
761 text_color_normal="255 255 255 160"
762 text_color_pushed="255 255 255 255"
763 text_color_over="255 255 255 255"
764 text_shadow_color_normal="0 0 0 255"
765 text_shadow_color_pushed="0 0 0 255"
766 text_shadow_color_over="0 0 0 255"
767 text_global_color_normal="true"
768 text_global_color_pushed="false"
769 text_global_color_over="false" />
771 <style style="defense_button" type="button" button_type="radio_button"
772 tx_normal="W_slot_item_selected.tga" tx_pushed="W_slot_item_selected.tga" tx_over="W_slot_item_selected.tga"
773 color="255 255 255 0" col_over="255 255 255 255" col_pushed="255 190 0 255"
774 global_color_normal="true" global_color_over="true" global_color_pushed="false" />
778 <style style="quit_button" type="text_button" button_type="push_button"
779 tx_normal="Quit_button_normal" tx_pushed="Quit_button_pushed" tx_over="Quit_button_over" wmargin="12"
780 global_color_normal="false" global_color_over="false" global_color_pushed="false"
781 color="255 255 255 255" col_over="255 255 255 255" col_pushed="255 255 255 255"
782 text_y="0" fontsize="14" shadow="true"
783 text_color_pushed="255 255 255 255"
784 text_color_over="255 255 255 255"
785 text_shadow_color_normal="0 0 0 255"
786 text_shadow_color_pushed="0 0 0 255"
787 text_shadow_color_over="0 0 0 255"
788 text_global_color_normal="false"
789 text_global_color_pushed="false"
790 text_global_color_over="false" />
793 <!-- Common Style for a Tab Button. User should define:
795 - posparent: eg "tab0"
797 - x="0" and posref="TL TL" for tab0
799 <style style="tab_button_16" type="tab_button" button_type="radio_button"
800 x="-2" posref="TR TL"
801 tx_normal="w_text_button_normal" tx_pushed="w_text_button_pushed" tx_over="w_text_button_over"
802 global_color_normal="true" global_color_over="true" global_color_pushed="true"
803 text_y="0" fontsize="10" shadow="true" case_mode="%case_upper" wmargin="8"
804 text_color_normal="255 255 255 128" text_color_pushed="255 255 255 255" text_color_over="255 255 255 255" />
806 <style style="tab_button_new" type="tab_button" button_type="radio_button"
808 tx_normal="w_tab_normal" tx_pushed="w_tab_pushed" tx_over="w_tab_over"
809 global_color_normal="true" global_color_over="true" global_color_pushed="true"
810 color="255 255 255 255" col_over="255 255 255 255" col_pushed="255 255 255 255"
811 text_y="0" fontsize="10" shadow="true" case_mode="%case_upper" wmargin="8"
812 text_color_normal="255 255 255 128" text_color_pushed="255 255 255 255" text_color_over="255 255 255 255"
813 text_global_color_normal="true"
814 text_global_color_pushed="false"
815 text_global_color_over="true"
820 <!-- **************** -->
821 <!-- * MESSAGE BOX * -->
822 <!-- **************** -->
825 <!-- Simple Message Box with just a OK button -->
828 <group type="modal" id="message_box" exit_click_out="true" posref="MM MM" w="156" child_resize_h="true" child_resize_hmargin="12"
829 on_enter="leave_modal" options="skin_modal" mouse_pos="false" exit_key_pushed="true"
831 <view type="text" id="text" posref="TM TM" w="140" y="-8" color="255 255 255 255" fontsize="12" shadow="true" multi_line="true" case_mode="%case_first_sentence_letter_up"/>
832 <ctrl style="button_ok" posparent="text" posref="BM TM" y="-10" onclick_l="leave_modal" hardtext="uittOK"/>
840 <!-- Message Box with just a OK/Cancel button -->
844 <proc id="proc_valid_message_box_ok" >
845 <action handler="leave_modal" /> <!-- must leave modal first if another modal is to be displayed after this one -->
846 <action handler="" params=""/>
852 <group type="modal" id="valid_message_box" exit_click_out="false" posref="MM MM" w="1024" h="768"
853 on_enter="proc" on_enter_params="proc_valid_message_box_ok" options="no_bordure" mouse_pos="false"
855 <view type="bitmap" posref="MM MM" id="log" texture="new_launcher_bg.tga" global_color="false" render_layer="-1" />
857 <view type="text" id="text" posref="MM MM" line_maxw="412" w="412" x="0" y="0" color="135 243 28 255" fontsize="18" shadow="true" multi_line="true" multi_line_space="0" case_mode="%case_first_sentence_letter_up"/>
860 <ctrl type="button" button_type="push_button" id="but_cancel" posref="BR BR" x="-304" y="157"
861 tx_normal="log_over.tga" tx_over="log_over.tga" tx_pushed="log_over.tga"
862 color="255 255 255 0" col_over="255 255 255 255" col_pushed="255 255 255 0"
863 onclick_l="leave_modal" params_l="" />
865 <view type="text" id="txt_log" posparent="but_ok" posref="MM MM" hardtext="uittOK" shadow="true" fontsize="16" y="-2" color="208 212 182 255" />
868 <ctrl type="button" button_type="push_button" id="but_ok" posparent="but_cancel" posref="TL TR" x="3" y="0"
869 tx_normal="log_over.tga" tx_over="log_over.tga" tx_pushed="log_over.tga"
870 color="255 255 255 0" col_over="255 255 255 255" col_pushed="255 255 255 0"
871 onclick_l="proc" params_l="proc_valid_message_box_ok" />
873 <view type="text" id="txt_ok" posparent="but_ok" posref="MM MM" hardtext="uittOK" shadow="true" fontsize="16" y="-2" color="208 212 182 255" />
874 <view type="text" id="txt_cancel" posparent="but_cancel" posref="MM MM" hardtext="uittCancel" shadow="true" fontsize="16" y="-2" color="208 212 182 255" />
876 <ctrl type="button" button_type="push_button" id="but_quit" posref="TR TR" x="-30" y="-30"
877 tx_normal="quit_over.tga" tx_over="quit_over.tga" tx_pushed="quit_over.tga"
878 color="255 255 255 0" col_over="255 255 255 255" col_pushed="255 255 255 0"
879 onclick_l="login_quit" />
889 <group type="modal" id="valid_message_box" exit_click_out="true" posref="MM MM" w="156" child_resize_h="true" child_resize_hmargin="12"
890 on_enter="proc" on_enter_params="proc_valid_message_box_ok" options="skin_modal" mouse_pos="false"
892 <view type="text" id="text" posref="TM TM" w="140" y="-8" color="255 255 255 255" fontsize="12" shadow="true" multi_line_space="0" multi_line="true" case_mode="%case_first_sentence_letter_up"/>
893 <instance template="button_ok_cancel" posparent="text" posref="BM TM" x="0" y="-4" onclick_ok="proc" onclick_ok_param="proc_valid_message_box_ok"
894 onclick_cancel="leave_modal" />
899 <!-- ********************* -->
900 <!-- * ITEM/BRICK HELP * -->
901 <!-- ********************* -->
903 <!-- Max Help opened. "Infinity" -->
904 <define id="MAX_HELP_WINDOW" value="8" />
906 <!-- Variables for Sheet Help Widget -->
907 <variable entry="UI:glob_var:help:$i:SHEET" type="sint32" value="0" size="%MAX_HELP_WINDOW"/>
908 <variable entry="UI:glob_var:help:$i:QUALITY" type="sint32" value="0" size="%MAX_HELP_WINDOW"/>
909 <variable entry="UI:glob_var:help:$i:QUANTITY" type="sint32" value="0" size="%MAX_HELP_WINDOW"/>
910 <variable entry="UI:glob_var:help:$i:SLOT_TYPE" type="sint32" value="0" size="%MAX_HELP_WINDOW"/>
911 <variable entry="UI:glob_var:help:$i:USER_COLOR" type="sint32" value="0" size="%MAX_HELP_WINDOW"/>
912 <variable entry="UI:glob_var:help:$i:ENCHANT" type="sint32" value="0" size="%MAX_HELP_WINDOW"/>
913 <variable entry="UI:glob_var:help:$i:RM_CLASS_TYPE" type="sint32" value="0" size="%MAX_HELP_WINDOW"/>
914 <variable entry="UI:glob_var:help:$i:RM_FABER_STAT_TYPE" type="sint32" value="0" size="%MAX_HELP_WINDOW"/>
916 <!-- Variables for Sheet Help Bricks Widget -->
917 <template name="help_def_bricks" index="" id="" >
918 <variable entry="UI:glob_var:help:$i:BRICKS:#index:SHEET" type="sint32" value="0" size="%MAX_HELP_WINDOW"/>
920 <vector template="help_def_bricks" id="yoyo_pipo$i" index="$i" _size="64" _firstpos="BL TL" _xfirst="8" _nextpos="TR TL" _yfirst="-8" />
922 <!-- Variables for Sheet Help: Mps -->
923 <variable entry="UI:glob_var:help:$i:MP_ITEM_PART_CHOICE" type="sint32" value="0" size="%MAX_HELP_WINDOW"/>
925 <!-- Stat Craft Mp template -->
926 <define id="MAX_STAT_MP_CRAFT" value="20" />
927 <template name="template_mp_stat" id="" x="0" y="-2" posparent="text" posref="" >
928 <group id="#id" posparent="#posparent" posref="#posref" x="#x" y="#y" w="250" h="16" active="false" >
929 <view type="text" id="text" line_maxw="200" posref="ML ML" />
930 <view type="bar" id="bar" posref="MR MR" mini="true" value="0" range="100" />
934 <!-- ***************************** -->
935 <!-- * HTML FORM SELECT WIDGET * -->
936 <!-- ***************************** -->
938 <template name="html_form_select_widget" keep="true" id="select">
939 <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"
940 on_change="" on_change_params="">
941 <instance template="combo_box_def1" />
946 <!-- *************************** -->
947 <!-- * COMBO BOX DEFINITIONS * -->
948 <!-- *************************** -->
953 <!-- the modal Menu opened on a combo box 's click -->
954 <group type="menu" id="combo_box_select_menu" posref="BL TL" x="0" y="0"
955 options="login_context_menu_back"
959 color="255 255 255 128"
960 shadow_color="0 0 0 255"
961 color_over="255 255 255 255"
962 shadow_color_over="0 0 0 255"
963 color_grayed="0 0 0 255"
964 shadow_color_grayed="155 155 155 255"
966 highlight_over="255 255 255 128"
967 force_inside_screen="true"
971 <group type="menu" id="combo_box_measure_menu" posref="BL TL" x="0" y="0" active="false"
972 options="login_context_menu_back"
976 color="255 255 255 128"
977 shadow_color="0 0 0 255"
978 color_over="255 255 255 255"
979 shadow_color_over="0 0 0 255"
980 color_grayed="0 0 0 255"
981 shadow_color_grayed="155 155 155 255"
983 highlight_over="255 255 255 128"
984 force_inside_screen="true"
986 <!-- html <hr> element -->
987 <template name="html_hr"
994 child_resize_h="true"
995 child_resize_hmargin="12">
1002 inherit_gc_alpha="true"
1005 global_color="false" />
1009 <template name="html_form_select_box_menu_widget"
1020 color="255 255 255 128"
1021 color_over="255 255 255 255"
1022 color_grayed="0 0 0 255"
1024 highlight_over="255 255 255 128"
1025 force_inside_screen="false"></group>
1028 <template name="html_meter" keep="true"
1029 id="meter" w="0" h="0" active="true" border_x2="0"
1030 bgtexture="blank.tga" bgcolor="0 0 0 255"
1031 value_w="0" value_texture="blank.tga" value_color="100 100 100 100"
1033 <group id="#id" w="#w" h="#h" active="#active">
1034 <view type="bitmap" id="bg" posref="MM MM" sizeref="wh" scale="true" texture="#bgtexture" color="#bgcolor" />
1035 <group id="inner" posref="MM MM" sizeref="wh" w="-#border_x2" h="-#border_x2">
1036 <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" />
1041 <template name="html_progress" keep="true"
1042 id="meter" w="0" h="0" active="true" border_x2="0"
1043 bgtexture="blank.tga" bgcolor="0 0 0 255"
1044 value_w="0" value_texture="blank.tga" value_color="100 100 100 100"
1046 <group id="#id" w="#w" h="#h" active="#active">
1047 <view type="bitmap" id="bg" posref="MM MM" sizeref="wh" scale="true" texture="#bgtexture" color="#bgcolor" />
1048 <group id="inner" posref="MM MM" sizeref="wh" w="-#border_x2" h="-#border_x2">
1049 <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" />