1 <!-- ****************************************** -->
3 <!-- ****************************************** -->
11 <proc id="proc_nothing"></proc>
12 <!-- template for border inside of a group -->
13 <template name="inner_thin_border_group"
16 inherit_gc_alpha="false"
21 posparent="#posparent"
28 texture="W_box_blank.tga"
34 inherit_gc_alpha="#inherit_gc_alpha" />
37 texture="W_box_top_left.tga"
39 inherit_gc_alpha="#inherit_gc_alpha" />
42 texture="W_box_top_right.tga"
44 inherit_gc_alpha="#inherit_gc_alpha" />
47 texture="W_box_bot_right.tga"
49 inherit_gc_alpha="#inherit_gc_alpha" />
52 texture="W_box_bot_left.tga"
54 inherit_gc_alpha="#inherit_gc_alpha" />
57 texture="W_box_top.tga"
63 inherit_gc_alpha="#inherit_gc_alpha" />
66 texture="W_box_bot.tga"
72 inherit_gc_alpha="#inherit_gc_alpha" />
75 texture="W_box_left.tga"
81 inherit_gc_alpha="#inherit_gc_alpha" />
84 texture="W_box_right.tga"
90 inherit_gc_alpha="#inherit_gc_alpha" />
93 <!-- *********************************** -->
94 <!-- * TEMPLATE FOR SCENE INFORMATION * -->
95 <!-- *********************************** -->
96 <!-- * In scene user info with guild logo * -->
97 <define id="in_scene_user_info_bar_h"
99 <define id="in_scene_user_info_bar_space"
101 <define id="in_scene_user_bar_length"
103 <!-- * In scene Target Selected * -->
104 <template name="string_cursor"
111 child_resize_w="true"
121 hardtext="uimGcmTradePact"
122 color="255 255 255 0" />
128 global_color="false" />
135 global_color="false" />
145 global_color="false" />
153 hardtext="uimGcmTradePact"
154 color="255 255 255 255"
155 global_color="false" />
158 <!-- hardware version of the text cursor : mouse cursor is not duplicated on the left of the text -->
159 <template name="string_cursor_hardware"
166 child_resize_w="true"
176 hardtext="uimGcmTradePact"
177 color="255 255 255 0" />
182 texture="curs_L_no_mouse.tga"
183 global_color="false" />
190 global_color="false" />
200 global_color="false" />
208 hardtext="uimGcmTradePact"
209 color="255 255 255 255"
210 global_color="false" />
213 <template name="in_scene_user_info"
217 type="in_scene_user_info"
218 header_active="false"
226 child_resize_w="true"
227 child_resize_h="true"
230 win_priority="%win_priority_world_space"
235 child_resize_w="true"
236 child_resize_h="true"
251 color="255 255 255 255"
252 global_color="true" />
253 <!-- Player Title -->
262 color="255 255 255 255"
263 global_color="true" />
264 <!-- Player Guild -->
273 color="255 255 255 255"
274 global_color="true" />
276 id="permanent_content"
282 global_color="false" />
292 texture="target_eyes.tga"
293 global_color="false" />
303 texture="ico_fear.tga"
305 global_color="false" />
309 posparent="invisible_logo"
312 texture="target_mission.tga"
313 global_color="false" />
320 posparent="mission_target"
321 color="255 255 255 255"
324 global_color="false" />
331 posparent="rp_logo_1"
332 color="255 255 255 255"
335 global_color="false" />
342 posparent="rp_logo_2"
343 color="255 255 255 255"
346 global_color="false" />
353 posparent="rp_logo_3"
354 color="255 255 255 255"
357 global_color="false" />
364 texture="Infos_top.tga"
365 global_color="true" />
373 texture="Infos_mid.tga"
374 global_color="true" />
379 texture="Infos_bot.tga"
380 global_color="true" />
390 texture="Bg_jauge_mid.tga"
391 global_color="true" />
394 posparent="win_jauge_mid"
396 texture="Bg_jauge_top.tga"
397 global_color="true" />
400 posparent="win_jauge_mid"
402 texture="Bg_jauge_bot.tga"
403 global_color="true" />
404 <!-- In Scene Bar -->
407 posparent="win_jauge_top"
414 texture="jauge_fill.tga"
415 color="234 46 41 255"
416 global_color="false" />
417 <!-- In Scene Bar -->
427 texture="jauge_fill.tga"
428 color="41 234 114 255"
429 global_color="false" />
430 <!-- In Scene Bar -->
440 texture="jauge_fill.tga"
441 color="232 41 234 255"
442 global_color="false" />
443 <!-- In Scene Bar -->
453 texture="jauge_fill.tga"
454 color="41 218 234 255"
455 global_color="false" />
456 <!-- In Scene Bar -->
466 texture="jauge_fill.tga"
467 color="246 255 0 255"
468 global_color="false" />
470 <!-- target Guild Logo -->
480 value="UI:TEMP:GUILD_SHEET"
482 color="255 255 255 255" />
484 id="npc_mission_logo"
488 color="255 255 255 255"
491 global_color="false" />
493 id="npc_mission_logo_over"
497 color="255 255 255 255"
500 global_color="false" />
502 <group id="right_pvp"
505 child_resize_w="true"
506 child_resize_h="true" >
511 child_resize_w="true"
512 child_resize_h="true" >
514 id="pvp_faction_logo"
517 texture="mp_pearl.tga"
518 global_color="false" />
523 posparent="pvp_faction_logo"
524 texture="mp_pearl.tga"
526 global_color="false" />
528 <group id="bottom_pvp"
531 child_resize_w="true"
532 child_resize_h="true" >
534 id="pvp_outpost_logo"
537 texture="building_state_24x24.tga"
538 global_color="false" />
542 posparent="pvp_outpost_logo"
546 texture="pvp_duel.tga"
547 global_color="false" />
553 <!-- prototype for fast cloning -->
554 <instance template="in_scene_user_info"
555 id="in_scene_user_info_proto" />
556 <template name="in_scene_user_info_back"
560 type="in_scene_user_info"
561 header_active="false"
569 child_resize_w="true"
570 child_resize_h="true"
571 child_resize_hmargin="20"
574 win_priority="%win_priority_world_space"
580 child_resize_w="true"
588 texture="Infos_top.tga"
589 global_color="true" />
597 texture="Infos_mid.tga"
598 global_color="true" />
603 texture="Infos_bot.tga"
604 global_color="true" />
614 texture="Bg_jauge_mid.tga"
615 global_color="true" />
619 posparent="win_jauge_mid"
620 texture="Bg_jauge_top.tga"
621 global_color="true" />
625 posparent="win_jauge_mid"
626 texture="Bg_jauge_bot.tga"
627 global_color="true" />
636 color="255 255 255 255"
637 global_color="true" />
646 color="255 255 255 255"
647 global_color="true" />
656 color="255 255 255 255"
657 global_color="true" />
665 global_color="false" />
672 texture="target_mission.tga"
673 global_color="false" />
677 posparent="win_jauge_top"
683 texture="Jauge_fill.tga"
684 color="128 128 128 255"
685 global_color="false" />
695 texture="Jauge_fill.tga"
696 color="128 128 128 255"
697 global_color="false" />
707 texture="Jauge_fill.tga"
708 color="128 128 128 255"
709 global_color="false" />
719 texture="Jauge_fill.tga"
720 color="128 128 128 255"
721 global_color="false" />
731 texture="Jauge_fill.tga"
732 color="128 128 128 255"
733 global_color="false" />
742 value="UI:TEMP:GUILD_SHEET"
744 color="255 255 255 255" />
747 <instance template="in_scene_user_info_back"
748 id="in_scene_user_info_back_proto" />
749 <template name="forage_source"
753 type="in_scene_user_info"
754 header_active="false"
762 child_resize_w="true"
763 child_resize_h="true"
765 win_priority="%win_priority_world_space"
768 <!--<group id="right" x="240" y="320" child_resize_w="true" w="0" h="126" posref="TL TL" >-->
770 child_resize_w="true"
783 hardtext="Forage_Source"
784 color="255 255 255 255"
785 global_color="true" />
795 texture="Bg_source_mid.tga"
796 global_color="true" />
800 posparent="win_jauge_mid"
801 texture="Bg_source_top.tga"
802 global_color="true" />
806 posparent="win_jauge_mid"
807 texture="Bg_source_bot.tga"
808 global_color="true" />
812 posparent="win_jauge_top"
818 texture="Jauge_fill.tga"
819 color="255 255 255 255"
820 global_color="false" />
830 texture="Jauge_fill.tga"
831 color="0 180 255 255"
832 global_color="false" />
842 texture="Jauge_fill.tga"
843 color="255 127 127 255"
844 global_color="false" />
854 texture="Jauge_fill.tga"
855 color="255 175 0 255"
856 global_color="false" />
866 texture="Jauge_fill.tga"
867 color="255 125 0 255"
868 global_color="false" />
875 texture="forage_time.tga"
876 global_color="false" />
883 texture="forage_content.tga"
884 global_color="false" />
891 texture="forage_life.tga"
892 global_color="false" />
899 texture="forage_danger.tga"
900 global_color="false" />
907 texture="forage_spawn.tga"
908 global_color="false" />
909 <!-- Some ToolTip Info -->
917 tooltip="uittForageTime" />
925 tooltip="uittForageContent" />
933 tooltip="uittForageLife" />
941 tooltip="uittForageDanger" />
949 tooltip="uittForageKami" />
957 tooltip="uittForageTime" />
965 tooltip="uittForageContent" />
973 tooltip="uittForageLife" />
981 tooltip="uittForageDanger" />
989 tooltip="uittForageKami" />
998 color="255 255 255 255"
1000 global_color="false" />
1003 <instance template="forage_source"
1004 id="forage_source_proto" />
1005 <!-- flying text in scene (deltax is the delta xcoord to apply right for the user, and left for the ennemy) -->
1006 <define id="in_scene_flying_char_offsetx"
1008 <template name="in_scene_flying_text"
1012 type="in_scene_user_info"
1013 header_active="false"
1014 options="no_bordure"
1019 right_button="false"
1021 child_resize_w="true"
1022 child_resize_h="true"
1025 win_priority="%win_priority_world_space"
1029 in_scene_offset_y="20">
1038 color="255 255 255 255"
1039 global_color="false" />
1042 <!-- * Bulle de dialogue a droite du perso * -->
1043 <!-- NOT USED FOR THE MOMENT !!!
1044 <template name="3dbulle_R" id="" >
1045 <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" >
1047 <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="256" min_h="48" posref="TL TL" >
1049 <group id="window" x="0" y="0" child_resize_w="true" w="0" child_resize_h="true" h="0" posref="TL TL" >
1050 <view type="bitmap" id="win_M" posref="MM MM" scale="true" sizeref="wh" w="-10" h="-10" texture="Bulle_M.tga" global_color="false"/>
1051 <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"/>
1052 <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"/>
1053 <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"/>
1054 <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"/>
1055 <view type="bitmap" id="win_TL" posref="TL TL" texture="Bulle_TL.tga" global_color="false"/>
1056 <view type="bitmap" id="win_TR" posref="TR TR" texture="Bulle_TR.tga" global_color="false"/>
1057 <view type="bitmap" id="win_BL" posref="BL BL" texture="Bulle_BL.tga" global_color="false"/>
1058 <view type="bitmap" id="win_BR" posref="BR BR" texture="Bulle_BR.tga" global_color="false"/>
1060 <view type="text" id="text" posref="TL TL" x="5" y="-5" hardtext="#hardtext"
1061 fontsize="12" justification="justified" color="0 0 0 255" global_color="false"
1062 multi_line="true" multi_line_space="0" line_maxw="160" multi_line_maxw_only="true" />
1063 <! - Yoyo: Fake to have minimum bubble size - >
1064 <group id="min_w" posparent="text" posref="TL TL" x="0" y="0" w="48" h="14" />
1068 <view type="bitmap" id="win_talk" posref="BL TL" x="24" y="2" posparent="window" texture="Bulle_Say_R.tga" global_color="false"/>
1075 <!-- * Bulle de dialogue a gauche du perso * -->
1076 <template name="3dbulle_L"
1078 hardtext="uiTestDialogue"
1081 type="in_scene_bubble"
1082 header_active="false"
1083 options="no_bordure"
1088 right_button="false"
1090 child_resize_w="true"
1094 child_resize_h="true"
1095 in_scene_offset_x="-95"
1096 win_priority="%win_priority_world_space"
1099 <group id="header_opened"
1102 child_resize_w="true"
1104 child_resize_h="true"
1114 child_resize_w="true"
1115 child_resize_wmargin="10"
1116 child_resize_h="true"
1117 child_resize_hmargin="10"
1133 texture="Bulle_M.tga"
1134 global_color="false" />
1143 texture="Bulle_T.tga"
1144 global_color="false" />
1153 texture="Bulle_B.tga"
1154 global_color="false" />
1163 texture="Bulle_L.tga"
1164 global_color="false" />
1173 texture="Bulle_R.tga"
1174 global_color="false" />
1178 texture="Bulle_TL.tga"
1179 global_color="false" />
1183 texture="Bulle_TR.tga"
1184 global_color="false" />
1188 texture="Bulle_BL.tga"
1189 global_color="false" />
1193 texture="Bulle_BR.tga"
1194 global_color="false" />
1201 hardtext="#hardtext"
1203 justification="dont_clip_word"
1205 global_color="false"
1207 multi_line_space="0"
1209 multi_line_maxw_only="true" />
1211 button_type="push_button"
1212 tx_normal="Bulle_next.tga"
1213 tx_pushed="Bulle_next.tga"
1214 tx_over="Bulle_next.tga"
1215 color="255 255 255 255"
1216 col_over="255 255 255 0"
1217 col_pushed="255 255 255 255"
1218 global_color_normal="false"
1219 global_color_over="false"
1220 global_color_pushed="false"
1226 onclick_l="bubble_next"
1229 button_type="push_button"
1230 tx_normal="Bulle_quit.tga"
1231 tx_pushed="Bulle_quit.tga"
1232 tx_over="Bulle_quit.tga"
1233 color="255 255 255 255"
1234 col_over="255 255 255 0"
1235 col_pushed="255 255 255 255"
1236 global_color_normal="false"
1237 global_color_over="false"
1238 global_color_pushed="false"
1242 posparent="but_next"
1245 onclick_l="bubble_skip"
1247 <!-- Yoyo: Fake to have minimum bubble size -->
1262 texture="Bulle_Say_L.tga"
1263 global_color="false" />
1267 <!-- * Bulle de dialogue dynamique a gauche du perso
1268 textid of the views are updated by code * -->
1269 <style style="dynchat_desc"
1272 justification="dont_clip_word"
1274 global_color="false"
1276 multi_line_space="0"
1278 multi_line_maxw_only="true" />
1279 <style style="dynchat_option"
1281 dynamic_string="true"
1284 justification="dont_clip_word"
1287 global_color="false"
1289 multi_line_space="0"
1291 multi_line_maxw_only="true" />
1292 <style style="dynchat_option_but"
1300 onclick_l="dynchat_click_option" />
1301 <template name="dyn_3dbulle_L"
1305 type="in_scene_bubble"
1306 header_active="false"
1307 options="no_bordure"
1312 right_button="false"
1314 child_resize_w="true"
1318 child_resize_h="true"
1319 in_scene_offset_x="-95"
1320 win_priority="%win_priority_world_space"
1323 <group id="header_opened"
1326 child_resize_w="true"
1328 child_resize_h="true"
1338 child_resize_w="true"
1339 child_resize_wmargin="10"
1340 child_resize_h="true"
1341 child_resize_hmargin="10"
1357 texture="Bulle_M.tga"
1358 global_color="false" />
1367 texture="Bulle_T.tga"
1368 global_color="false" />
1377 texture="Bulle_B.tga"
1378 global_color="false" />
1387 texture="Bulle_L.tga"
1388 global_color="false" />
1397 texture="Bulle_R.tga"
1398 global_color="false" />
1402 texture="Bulle_TL.tga"
1403 global_color="false" />
1407 texture="Bulle_TR.tga"
1408 global_color="false" />
1412 texture="Bulle_BL.tga"
1413 global_color="false" />
1417 texture="Bulle_BR.tga"
1418 global_color="false" />
1420 <view style="dynchat_desc"
1426 button_type="push_button"
1427 tx_normal="Bulle_next.tga"
1428 tx_pushed="Bulle_next.tga"
1429 tx_over="Bulle_next.tga"
1430 color="255 255 255 255"
1431 col_over="255 255 255 0"
1432 col_pushed="255 255 255 255"
1433 global_color_normal="false"
1434 global_color_over="false"
1435 global_color_pushed="false"
1441 onclick_l="bubble_next"
1444 button_type="push_button"
1445 tx_normal="Bulle_quit.tga"
1446 tx_pushed="Bulle_quit.tga"
1447 tx_over="Bulle_quit.tga"
1448 color="255 255 255 255"
1449 col_over="255 255 255 0"
1450 col_pushed="255 255 255 255"
1451 global_color_normal="false"
1452 global_color_over="false"
1453 global_color_pushed="false"
1457 posparent="but_next"
1460 onclick_l="bubble_skip"
1462 <!-- Yoyo: Fake to have minimum bubble size -->
1470 <view style="dynchat_option"
1476 <view style="dynchat_option"
1482 <view style="dynchat_option"
1488 <view style="dynchat_option"
1494 <view style="dynchat_option"
1500 <view style="dynchat_option"
1506 <view style="dynchat_option"
1512 <view style="dynchat_option"
1518 <ctrl style="dynchat_option_but"
1522 <ctrl style="dynchat_option_but"
1526 <ctrl style="dynchat_option_but"
1530 <ctrl style="dynchat_option_but"
1534 <ctrl style="dynchat_option_but"
1538 <ctrl style="dynchat_option_but"
1542 <ctrl style="dynchat_option_but"
1546 <ctrl style="dynchat_option_but"
1557 texture="Bulle_Say_L.tga"
1558 global_color="false" />
1562 <!-- * Bulle d'IA a droite * -->
1563 <template name="3dIA_R"
1567 header_active="false"
1568 options="no_bordure"
1573 right_button="false"
1577 <group id="header_opened"
1586 texture="Bulle_IA.tga"
1587 global_color="false" />
1593 texture="Bulle_Think_R.tga"
1594 global_color="false" />
1599 texture="IA_Surpris.tga"
1600 global_color="false" />
1604 <!-- * Bulle d'IA a gauche * -->
1605 <template name="3dIA_L"
1609 header_active="false"
1610 options="no_bordure"
1615 right_button="false"
1619 <group id="header_opened"
1628 texture="Bulle_IA.tga"
1629 global_color="false" />
1635 texture="Bulle_Think_L.tga"
1636 global_color="false" />
1641 texture="IA_Surpris.tga"
1642 global_color="false" />
1646 <!-- ********************************* -->
1647 <!-- * TEMPLATE FOR MENU SEPARATORS * -->
1648 <!-- ********************************* -->
1649 <template name="menu_separator"
1656 <!-- width is setupped by the menu -->
1663 texture="W_line_hor3.tga" />
1666 <!-- the same as menu_separator, but this is just a place holder (must give height of the separator -->
1667 <template name="menu_separator_empty"
1674 <!-- <view type="bitmap" id="l" posref="TL TL" texture="w_button_08_over.tga" /> -->
1677 <!-- ******************************* -->
1678 <!-- * TEMPLATE FOR MENU CHECKBOX * -->
1679 <!-- ******************************* -->
1680 <template name="menu_checkbox"
1685 child_resize_h="true"
1686 child_resize_w="true">
1689 button_type="toggle_button"
1691 tx_normal="W_sound_off.tga"
1692 tx_pushed="W_sound_on.tga"
1693 tx_over="W_button_14_over.tga"
1694 color="255 255 255 255"
1695 col_pushed="255 255 255 255"
1696 col_over="255 255 255 255"
1697 global_color_pushed="false"
1698 onclick_l="#onclick_l"
1699 params_l="#params_l" />
1702 <!-- **************************************** -->
1703 <!-- * BASE PARAMETERS FOR MENU (COLOR ..) * -->
1704 <!-- **************************************** -->
1709 win_priority="%win_priority_highest"
1713 color="255 255 255 200"
1714 shadow_color="0 0 0 255"
1715 color_over="0 0 0 255"
1716 shadow_color_over="0 0 0 0"
1717 color_grayed="255 255 255 64"
1718 shadow_color_grayed="0 0 0 255"
1719 highlight_over="255 255 255 150"
1720 case_mode="%case_normal"></group>
1722 id="base_menu_with_color"
1723 extends="base_menu">
1724 <action id="choose_ui_alpha"
1725 name="uimChooseUIAlpha"
1726 handler="choose_ui_alpha"
1727 cond="eq(@UI:VARIABLES:GC_POPUP, 1)" />
1728 <action id="lock_unlock"
1729 name="uimLockUnlock"
1730 handler="lock_unlock"
1731 cond="eq(@UI:VARIABLES:GC_POPUP, 1)" />
1735 cond="eq(@UI:VARIABLES:GC_HAS_HELP, 1)" />
1737 <!-- ************** -->
1738 <!-- * ITEM MENU * -->
1739 <!-- ************** -->
1740 <proc id="move_to_bag">
1741 <action handler="move_item"
1742 params="to=lists|nblist=1|
1743 listsheet0=ui:interface:inventory:content:bag:iil:bag_icons" />
1745 <proc id="move_to_pa">
1746 <action handler="move_item"
1747 params="to=lists|nblist=1|
1748 listsheet0=ui:interface:inventory:content:pa@0:iil:bag_icons" />
1750 <proc id="move_to_room">
1751 <action handler="move_item"
1752 params="to=lists|nblist=1|
1753 listsheet0=ui:interface:inventory:content:room:iil:bag_icons" />
1755 <proc id="move_to_guild">
1756 <action handler="move_item"
1757 params="to=lists|nblist=1|
1758 listsheet0=ui:interface:inventory:content:guild:iil:bag_icons" />
1760 <!-- item menu when we are in bags (do not modify hierarchy or ids if you do not modify the code) -->
1762 id="item_menu_in_bag"
1764 on_deactive="item_menu_deactivate"
1765 on_active="item_menu_check">
1766 <action id="cris_enchant"
1767 name="uimCristalEnchant"
1768 handler="item_cristal_enchant" />
1769 <action id="cris_reload"
1770 name="uimCristalReload"
1771 handler="item_cristal_reload" />
1772 <action id="teleport_use"
1773 name="uimTeleportUse"
1774 handler="teleport_use" />
1775 <action id="item_consume"
1776 name="uimItemConsume"
1777 handler="item_consume" />
1778 <action id="xp_catalyser_use"
1779 name="uimXpCatalyserUse"
1780 handler="xp_catalyser_use" />
1781 <action id="item_text_display"
1783 handler="item_text_display"
1784 params="ui:interface:edit_custom" />
1786 <!-- Move to an Animal -->
1792 params="move_to_bag" />
1793 <!-- MAX_INVENTORY_ANIMAL -->
1795 name="uimMtPaMount0"
1797 params="move_to_pa|0" />
1799 name="uimMtPaMount1"
1801 params="move_to_pa|1" />
1803 name="uimMtPaMount2"
1805 params="move_to_pa|2" />
1807 name="uimMtPaMount3"
1809 params="move_to_pa|3" />
1813 params="move_to_guild" />
1817 params="move_to_room" />
1819 <!--<action id="drop" name="uimDrop" handler="proc" params="drop_item_proc" />-->
1820 <action id="destroy"
1823 params="destroy_item_proc" />
1826 handler="inv_auto_equip" />
1829 handler="open_item_help" />
1830 <action id="lockunlock"
1832 handler="lock_inv_item" />
1833 <action id="item_text_edition"
1834 name="uimItemTextEdit"
1835 handler="item_text_edition"
1836 params="ui:interface:edit_custom" />
1838 <!-- MAX_INVENTORY_ANIMAL -->
1839 <link expr="switch(@%pa_beast0:TYPE, 'uimMtPaMount0', 'uimMtPaMount0', 'uimMtPaPacker0', 'uimMtPaDemon0')"
1840 target="ui:interface:item_menu_in_bag:move:pa0:hardtext" />
1841 <link expr="switch(@%pa_beast1:TYPE, 'uimMtPaMount1', 'uimMtPaMount1', 'uimMtPaPacker1', 'uimMtPaDemon1')"
1842 target="ui:interface:item_menu_in_bag:move:pa1:hardtext" />
1843 <link expr="switch(@%pa_beast2:TYPE, 'uimMtPaMount2', 'uimMtPaMount2', 'uimMtPaPacker2', 'uimMtPaDemon2')"
1844 target="ui:interface:item_menu_in_bag:move:pa2:hardtext" />
1845 <link expr="switch(@%pa_beast3:TYPE, 'uimMtPaMount3', 'uimMtPaMount3', 'uimMtPaPacker3', 'uimMtPaDemon3')"
1846 target="ui:interface:item_menu_in_bag:move:pa3:hardtext" />
1847 <!-- item menu when we are in self -->
1849 id="item_menu_in_self"
1851 on_active="item_menu_base_check" >
1852 <!--<action id="drop" name="uimDrop" handler="proc" params="drop_item_proc"/>-->
1853 <action id="destroy"
1856 params="destroy_item_proc" />
1859 handler="open_item_help"
1861 <action id="lockunlock"
1863 handler="lock_inv_item" />
1865 <!-- item menu default -->
1869 on_active="item_menu_base_check" >
1870 <!--<action id="drop" name="uimDrop" handler="proc" params="drop_item_proc"/>-->
1871 <action id="destroy"
1874 params="destroy_item_proc" />
1877 <!--<action id="bag" name="uimMtBag" handler="proc" params="move_to_bag" /> -->
1881 handler="open_item_help"
1883 <action id="lockunlock"
1885 handler="lock_inv_item" />
1887 <define id="item_modal_menu"
1888 value="ui:interface:item_menu" />
1889 <define id="self_item_modal_menu"
1890 value="ui:interface:item_menu_in_self" />
1891 <!-- ************************ -->
1892 <!-- * ITEM DROP PROCEDURE * -->
1893 <!-- ************************ -->
1894 <!-- modal de selection d'armure/fourreaux -->
1901 child_resize_h="true"
1902 exit_click_out="true"
1904 options="skin_modal">
1905 <group type="list_sheet_filter_clm_slot"
1915 display_empty_slot="true"
1916 onclick_l="inv_drop"
1917 params_l="src=ctrl_launch_modal"
1918 onclick_r="open_help_auto"
1924 child_resize_h="true"></group>
1926 <!-- the player buy an item from a bot -->
1928 <proc id="buy_item">
1930 <!-- set sheet of item to buy -->
1931 <!--<action handler="set" params="dblink=%item_to_trade_sheet:SHEET|value=getSheetID(getDraggedSheet())" /> -->
1932 <!-- activate the box to choose the number of item to but (stackable item) -->
1933 <!--<action handler="set_active" params="target=ui:interface:confirm_buy:content:quantity|active=isStackable(getDraggedSheet())"/>-->
1934 <!-- set the number of item to 1 -->
1935 <!--<action handler="set" params="dblink=%num_stackable_item_to_trade|value=1"/>-->
1936 <!-- activate the dialog to choose -->
1937 <!--<action handler="buy_dropped_item"/>-->
1940 <proc id="drop_item" >
1942 <!-- If the item is from the inventory, just swap the item -->
1943 <!-- <action handler="swap_item" params="@0" cond="eq(getSheetSelectionGroup(getDraggedSheet()), 'inventory_selection')"/> -->
1944 <!-- If the items comes from a bot inventory, display the dialog to buy it -->
1945 <!-- <action handler="proc" cond="eq(getDroppedItemSelectionGroup(), 'buy_selection')" params="buy_item"/>-->
1947 <proc id="drop_item">
1948 <action handler="swap_item"
1951 <proc id="drag_item"></proc>
1953 <proc id="test_can_drop"> -->
1954 <!-- If the item is from the inventory, can drop if it is an item -->
1956 <action handler="isitem" params="@0" cond="eq(getSheetSelectionGroup(getDraggedSheet()), 'inventory_selection')"/>
1958 <!-- If the items comes from a bot inventory, can drop on an empty slot only. The source must also be an item -->
1960 <action handler="itemtoemptyslottest" params="@0" cond="eq(getSheetSelectionGroup(getDraggedSheet()), 'buy_selection')"/>
1965 <proc id="test_can_drop">
1966 <action handler="isitem"
1969 <!-- ******************* -->
1971 <!-- ******************* -->
1972 <template name="argent"
1980 tooltip="uittPlayerMoney">
1982 posparent="#posparent"
1988 <!-- Yoyo: pust scale=true, because this texture may be replaced with Faction icones (32x32) -->
1992 texture="money_seve.tga"
1996 global_color="false" />
1997 <instance template="box_widget"
2004 <view type="text_number"
2010 color="135 243 28 255"
2014 global_color="false"
2023 color="192 192 192 255"
2026 hardtext="uiBadPrice"
2027 global_color="false" />
2028 <ctrl type="tooltip"
2035 tooltip="#tooltip" />
2036 <!-- display bad price text if price value is -1 -->
2037 <link expr="eq(@#value, -1)"
2038 target="bad_price:active" />
2039 <link expr="ne(@#value, -1)"
2040 target="val1:active" />
2043 <!-- ********************* -->
2044 <!-- * SKILL POINTS * -->
2045 <!-- ********************* -->
2046 <template name="skill_points_widget"
2054 fontsize_number="10"
2055 hardtext="uiSkillPoints"
2057 global_color="true">
2059 child_resize_h="true"
2060 posparent="#posparent"
2065 global_color="#global_color">
2069 color="255 255 255 255"
2072 fontsize="#fontsize_text"
2073 hardtext="#hardtext"
2074 global_color="#global_color" />
2075 <view type="text_number"
2080 color="255 255 255 255"
2082 fontsize="#fontsize_number"
2084 global_color="#global_color" />
2086 <instance template="text_tt"
2088 tooltip="#tooltip" />
2090 <template name="skill_points_widget2"
2097 fontsize_number="10"
2098 hardtext="uiSkillPoints">
2100 child_resize_h="true"
2101 posparent="#posparent"
2103 child_resize_w="true"
2109 color="255 255 255 255"
2111 fontsize="#fontsize_text"
2112 hardtext="#hardtext"
2113 global_color="false" />
2114 <view type="text_number"
2120 color="255 255 255 255"
2122 fontsize="#fontsize_number"
2124 global_color="false" />
2128 <!-- ********************* -->
2129 <!-- * FACTION POINTS * -->
2130 <!-- ********************* -->
2131 <template name="faction_points_widget"
2142 posparent="#posparent"
2146 sizeparent="#sizeparent"
2155 hardtext="uiFactionPointTable"
2157 color="255 255 255 255"
2158 global_color="false"
2160 <instance template="text_tt"
2161 tooltip="uittIdentityFaction"
2162 posparent="factionpt_t" />
2163 <!-- left part : kami fyros zorai -->
2171 inherit_gc_alpha="true">
2179 color="255 255 255 255"
2182 hardtext="uiFactionPoint_Kami" />
2188 color="255 255 255 255"
2191 hardtext="uiFactionPoint_Fyros" />
2197 color="255 255 255 255"
2200 hardtext="uiFactionPoint_Zorai" />
2202 <view type="text_number"
2208 color="255 255 255 255"
2211 value="%faction_points_kami"
2213 <view type="text_number"
2218 color="255 255 255 255"
2221 value="%faction_points_fyros"
2223 <view type="text_number"
2228 color="255 255 255 255"
2231 value="%faction_points_zorai"
2233 <instance template="inner_thin_border"
2235 inherit_gc_alpha="true" />
2237 <!-- right part : karavan matis tryker -->
2245 inherit_gc_alpha="true">
2253 color="255 255 255 255"
2256 hardtext="uiFactionPoint_Karavan" />
2262 color="255 255 255 255"
2265 hardtext="uiFactionPoint_Matis" />
2271 color="255 255 255 255"
2274 hardtext="uiFactionPoint_Tryker" />
2276 <view type="text_number"
2281 color="255 255 255 255"
2284 value="%faction_points_karavan"
2286 <view type="text_number"
2291 color="255 255 255 255"
2294 value="%faction_points_matis"
2296 <view type="text_number"
2301 color="255 255 255 255"
2304 value="%faction_points_tryker"
2306 <instance template="inner_thin_border"
2308 inherit_gc_alpha="true" />
2312 <!-- ******************* -->
2313 <!-- * SELECT NUMBER * -->
2314 <!-- ******************* -->
2315 <template name="SNH"
2328 <group type="select_number"
2338 posparent="#posparent"
2344 texture="W_slot_number.tga" />
2347 posparent="slot_number"
2351 color="255 255 255 255"
2355 global_color="false" />
2358 button_type="push_button"
2360 tx_normal="W_arrow_up_2.tga"
2361 tx_pushed="W_arrow_up_2.tga"
2362 tx_over="W_button_10_over.tga" />
2365 button_type="push_button"
2367 tx_normal="W_arrow_down_2.tga"
2368 tx_pushed="W_arrow_down_2.tga"
2369 tx_over="W_button_10_over.tga" />
2372 <template name="SNV"
2385 <group type="select_number"
2395 posparent="#posparent"
2401 texture="W_slot_number.tga" />
2404 posparent="slot_number"
2408 color="255 255 255 255"
2412 global_color="false" />
2415 button_type="push_button"
2417 tx_normal="W_arrow_up_1.tga"
2418 tx_pushed="W_arrow_up_1.tga"
2419 tx_over="W_button_12_over.tga" />
2422 button_type="push_button"
2424 tx_normal="W_arrow_down_1.tga"
2425 tx_pushed="W_arrow_down_1.tga"
2426 tx_over="W_button_12_over.tga" />
2432 <!-- test if drop can be done depending on the mode
2433 Param 0 is src=... (filled by code)
2435 <proc id="slot_can_drop">
2436 <action cond="eq(getSheetSelectionGroup(getDraggedSheet()), 'inventory_selection')"
2437 handler="isitem_slot"
2439 <action cond="eq(getSheetSelectionGroup(getDraggedSheet()), 'buy_selection')"
2440 handler="isitem_slot"
2441 params="@0|test_empty=true" />
2443 <!-- Exemple of ifthenelse function
2444 <view type="text" id="notabene" posparent="handr" posref="MM MM" color="255 255 255 255" fontsize="12" shadow="true" hardtext="0" />
2445 <link expr="ifthenelse(isRangeWeapon (@%set_base:#setnumber:%set_r),str('RW'),str('.'))" target="notabene:hardtext" />
2447 <!-- template for border inside of a group -->
2448 <template name="inner_thin_border"
2451 inherit_gc_alpha="false">
2454 texture="W_box_blank.tga"
2456 posparent="#posparent"
2461 inherit_gc_alpha="#inherit_gc_alpha" />
2464 texture="W_box_top_left.tga"
2466 posparent="#posparent"
2467 inherit_gc_alpha="#inherit_gc_alpha" />
2470 texture="W_box_top_right.tga"
2472 posparent="#posparent"
2473 inherit_gc_alpha="#inherit_gc_alpha" />
2476 texture="W_box_bot_right.tga"
2478 posparent="#posparent"
2479 inherit_gc_alpha="#inherit_gc_alpha" />
2482 texture="W_box_bot_left.tga"
2484 posparent="#posparent"
2485 inherit_gc_alpha="#inherit_gc_alpha" />
2488 texture="W_box_top.tga"
2490 posparent="#posparent"
2495 inherit_gc_alpha="#inherit_gc_alpha" />
2498 texture="W_box_bot.tga"
2500 posparent="#posparent"
2505 inherit_gc_alpha="#inherit_gc_alpha" />
2508 texture="W_box_left.tga"
2510 posparent="#posparent"
2515 inherit_gc_alpha="#inherit_gc_alpha" />
2518 texture="W_box_right.tga"
2520 posparent="#posparent"
2525 inherit_gc_alpha="#inherit_gc_alpha" />
2530 <template name="chat_box"
2541 <group type="scroll_text"
2546 posparent="#posparent"
2552 <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"/>
2553 <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"/>
2560 inherit_gc_alpha="true" />
2561 <instance template="inner_thin_border"
2563 inherit_gc_alpha="true" />
2576 maxelements="#maxelements" />
2577 <ctrl style="skin_scroll"
2581 <template name="chat_box_mainchat"
2592 <group type="scroll_text"
2597 posparent="#posparent"
2602 <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"/>
2603 <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"/>
2610 inherit_gc_alpha="true" />
2611 <instance template="inner_thin_border"
2613 inherit_gc_alpha="true" />
2626 maxelements="#maxelements" />
2627 <ctrl style="skin_scroll"
2631 <!-- ********************* -->
2632 <!-- * EDIT BOX WIDGET * -->
2633 <!-- ********************* -->
2634 <template name="edit_box_widget"
2639 child_resize_h="true"
2640 child_resize_hmargin="0"
2649 onenter="chat_box_entry"
2651 reset_focus_on_hide="true"
2652 enter_loose_focus="true"
2654 enter_recover_focus="true"
2663 backup_father_container_pos="false"
2665 color="255 255 255 255"
2666 continuous_text_update="false"
2667 bg_texture="W_box_blank.tga"
2669 on_focus_lost_params=""
2678 posparent="#posparent"
2679 child_resize_h="#child_resize_h"
2680 child_resize_hmargin="#child_resize_hmargin"
2684 <group type="edit_box"
2691 child_resize_h="true"
2694 onchange="#onchange"
2695 onchange_params="#onchange_params"
2696 max_num_chars="#max_num_chars"
2698 enter_loose_focus="#enter_loose_focus"
2699 enter_recover_focus="#enter_recover_focus"
2700 entry_type="#entry_type"
2701 reset_focus_on_hide="#reset_focus_on_hide"
2703 max_historic="#max_historic"
2704 want_return="#want_return"
2705 backup_father_container_pos="#backup_father_container_pos"
2706 on_focus_lost="#on_focus_lost"
2707 on_focus_lost_params="#on_focus_lost_params"
2708 max_float_prec="#max_float_prec"
2710 tooltip_parent="#tooltip_parent"
2711 negative_filter="#negative_filter">
2718 texture="#bg_texture"
2719 inherit_gc_alpha="true" />
2720 <view id="edit_text"
2722 continuous_update="#continuous_text_update"
2726 multi_line="#multi_line"
2727 multi_line_space="0"
2728 fontsize="#fontsize"
2732 global_color="false" />
2734 <!-- border around the list -->
2737 texture="W_box_top_left.tga"
2740 inherit_gc_alpha="true" />
2743 texture="W_box_top_right.tga"
2746 inherit_gc_alpha="true" />
2749 texture="W_box_bot_right.tga"
2752 inherit_gc_alpha="true" />
2755 texture="W_box_bot_left.tga"
2758 inherit_gc_alpha="true" />
2761 texture="W_box_top.tga"
2768 inherit_gc_alpha="true" />
2771 texture="W_box_bot.tga"
2778 inherit_gc_alpha="true" />
2781 texture="W_box_left.tga"
2788 inherit_gc_alpha="true" />
2791 texture="W_box_right.tga"
2798 inherit_gc_alpha="true" />
2801 <!-- ******************************* -->
2802 <!-- * MULTILINE EDIT BOX WIDGET * -->
2803 <!-- ******************************* -->
2804 <template name="edit_box_widget_multiline"
2809 child_resize_h="true"
2819 onenter="chat_box_entry"
2821 reset_focus_on_hide="true"
2822 enter_loose_focus="true"
2824 enter_recover_focus="true"
2825 max_num_chars="10000"
2834 backup_father_container_pos="false"
2836 color="255 255 255 255"
2844 posparent="#posparent"
2845 child_resize_h="#child_resize_h"
2849 render_layer="#render_layer">
2850 <group type="edit_box"
2851 sizeref="#sizeref_eb"
2857 child_resize_h="#child_resize_h"
2860 onchange="#onchange"
2861 onchange_params="#onchange_params"
2862 max_num_chars="#max_num_chars"
2863 max_num_return="#max_num_return"
2865 enter_loose_focus="#enter_loose_focus"
2866 enter_recover_focus="#enter_recover_focus"
2867 entry_type="#entry_type"
2868 reset_focus_on_hide="#reset_focus_on_hide"
2870 max_historic="#max_historic"
2871 want_return="#want_return"
2872 backup_father_container_pos="#backup_father_container_pos"
2873 render_layer="#render_layer"
2874 negative_filter="#negative_filter">
2881 texture="W_box_blank.tga"
2882 inherit_gc_alpha="true"
2883 render_layer="#render_layer" />
2884 <view id="edit_text"
2889 multi_line="#multi_line"
2890 multi_line_space="0"
2891 multi_min_line="#multi_min_line"
2892 fontsize="#fontsize"
2896 global_color="false"
2897 render_layer="#render_layer" />
2899 <!-- border around the list -->
2902 texture="W_box_top_left.tga"
2905 inherit_gc_alpha="true"
2906 render_layer="#render_layer" />
2909 texture="W_box_top_right.tga"
2912 inherit_gc_alpha="true"
2913 render_layer="#render_layer" />
2916 texture="W_box_bot_right.tga"
2919 inherit_gc_alpha="true"
2920 render_layer="#render_layer" />
2923 texture="W_box_bot_left.tga"
2926 inherit_gc_alpha="true"
2927 render_layer="#render_layer" />
2930 texture="W_box_top.tga"
2937 inherit_gc_alpha="true"
2938 render_layer="#render_layer" />
2941 texture="W_box_bot.tga"
2948 inherit_gc_alpha="true"
2949 render_layer="#render_layer" />
2952 texture="W_box_left.tga"
2959 inherit_gc_alpha="true"
2960 render_layer="#render_layer" />
2963 texture="W_box_right.tga"
2970 inherit_gc_alpha="true"
2971 render_layer="#render_layer" />
2974 <!-- ******************** -->
2975 <!-- * STACK SELECTION * -->
2976 <!-- ******************** -->
2977 <proc id="stack_dialog_ok">
2978 <action handler="stack_item" />
2979 <action handler="leave_modal" />
2981 <!-- declare the dummy stack selection slot -->
2982 <variable entry="UI:VARIABLES:STACK_SELECTED:DSPSLOT:SHEET"
2985 <variable entry="UI:VARIABLES:STACK_SELECTED:DSPSLOT:QUANTITY"
2988 <variable entry="UI:VARIABLES:STACK_SELECTED:DSPSLOT:QUALITY"
2991 <variable entry="UI:VARIABLES:STACK_SELECTED:DSPSLOT:USER_COLOR"
2994 <variable entry="UI:VARIABLES:STACK_SELECTED:DSPSLOT:WEIGHT"
2997 <variable entry="UI:VARIABLES:STACK_SELECTED:DSPSLOT:NAMEID"
3000 <variable entry="UI:VARIABLES:STACK_SELECTED:DSPSLOT:INFOVERSION"
3003 <variable entry="UI:VARIABLES:STACK_SELECTED:DSPSLOT:ENCHANT"
3006 <variable entry="UI:VARIABLES:STACK_SELECTED:DSPSLOT:RM_CLASS_TYPE"
3009 <variable entry="UI:VARIABLES:STACK_SELECTED:DSPSLOT:RM_FABER_STAT_TYPE"
3015 exit_click_out="true"
3019 options="skin_modal"
3021 on_enter_params="stack_dialog_ok">
3027 color="255 255 255 255"
3030 global_color="false"
3031 hardtext="uiSelectQuantity" />
3034 onclick_r="open_help_auto"
3035 value="UI:VARIABLES:STACK_SELECTED:DSPSLOT"
3039 use_quantity="false" />
3046 color="255 255 255 255"
3050 <instance template="edit_box_widget"
3052 entry_type="positive_integer"
3063 enter_loose_focus="false"
3066 onchange="editbox_number"
3067 onchange_params="value=UI:VARIABLES:STACK_SELECTED:CUR_QUANTITY|update_text=false"
3069 params="stack_dialog_ok"
3071 <instance template="button_ok_cancel"
3076 onclick_ok_param="stack_dialog_ok"
3077 onclick_cancel="leave_modal"
3078 onclick_cancel_param="" />
3080 <!-- ************************ -->
3081 <!-- * UI COLOR SELECTIONS * -->
3082 <!-- ************************ -->
3083 <variable entry="UI:TEMP:COLOR:R"
3086 <variable entry="UI:TEMP:COLOR:G"
3089 <variable entry="UI:TEMP:COLOR:B"
3092 <variable entry="UI:VARIABLES:ALPHA_BG"
3094 <variable entry="UI:VARIABLES:ALPHA_CONTENT"
3096 <variable entry="UI:VARIABLES:ALPHA_ROLLOVER_BG"
3098 <variable entry="UI:VARIABLES:ALPHA_ROLLOVER_CONTENT"
3100 <variable entry="UI:VARIABLES:USER_ALPHA"
3103 <proc id="cancel_choose_ui_alpha">
3104 <action handler="cancel_choose_ui_alpha"
3106 <action handler="leave_modal"
3110 id="define_ui_transparency"
3114 child_resize_w="true"
3115 child_resize_wmargin="16"
3116 exit_click_out="true"
3118 onclick_out_params="cancel_choose_ui_alpha"
3119 options="skin_modal"
3120 win_priority="%win_priority_highest">
3126 color="255 255 255 255"
3129 global_color="false"
3130 hardtext="uimChooseUIAlpha" />
3131 <!-- button to use global settings -->
3132 <group id="globals_settings"
3133 posparent="text_opacity"
3136 child_resize_h="true"
3137 child_resize_w="true">
3139 id="text_use_glob_alp"
3143 color="255 255 255 255"
3146 hardtext="uiUserAlpha" />
3149 button_type="toggle_button"
3150 posparent="text_use_glob_alp"
3154 tx_normal="w_opacity_on.tga"
3155 tx_pushed="w_slot_on.tga"
3156 tx_over="w_slot_on.tga"
3157 color="255 255 255 255"
3158 col_pushed="255 255 255 255"
3159 col_over="255 255 255 0"
3160 onclick_l="use_global_alpha_settings" />
3161 <link expr="@UI:VARIABLES:USER_ALPHA"
3162 target="use_glob_alp:pushed" />
3169 color="255 255 255 255"
3172 hardtext="uiLocalAlpha" />
3180 color="255 255 255 160"
3183 hardtext="uiAlphaBG" />
3186 posparent="text_alp_bg"
3193 texture="W_line_hor2.tga" />
3206 value="UI:VARIABLES:ALPHA_BG"
3210 tx_topright="w_scroll_R.tga"
3211 tx_middle="w_scroll_l123_m.tga"
3212 tx_bottomleft="w_scroll_L.tga" />
3215 id="text_alp_content"
3220 color="255 255 255 160"
3223 hardtext="uiAlphaContent" />
3226 posparent="text_alp_content"
3233 texture="W_line_hor2.tga" />
3246 value="UI:VARIABLES:ALPHA_CONTENT"
3250 tx_topright="w_scroll_R.tga"
3251 tx_middle="w_scroll_l123_m.tga"
3252 tx_bottomleft="w_scroll_L.tga" />
3253 <!-- rollover background -->
3255 id="text_alp_rollover_bg"
3260 color="255 255 255 160"
3263 hardtext="uiAlphaRolloverBG" />
3266 posparent="text_alp_rollover_bg"
3273 texture="W_line_hor2.tga" />
3286 value="UI:VARIABLES:ALPHA_ROLLOVER_BG"
3290 tx_topright="w_scroll_R.tga"
3291 tx_middle="w_scroll_l123_m.tga"
3292 tx_bottomleft="w_scroll_L.tga" />
3293 <!-- rollover content -->
3295 id="text_alp_rollover_content"
3300 color="255 255 255 160"
3303 hardtext="uiAlphaRolloverContent" />
3306 posparent="text_alp_rollover_content"
3313 texture="W_line_hor2.tga" />
3326 value="UI:VARIABLES:ALPHA_ROLLOVER_CONTENT"
3330 tx_topright="w_scroll_R.tga"
3331 tx_middle="w_scroll_l123_m.tga"
3332 tx_bottomleft="w_scroll_L.tga" />
3333 <link expr="@UI:VARIABLES:USER_ALPHA"
3334 target="alp1:active,alp2:active,alp3:active,alp4:active" />
3335 <link expr="ifthenelse(@UI:VARIABLES:USER_ALPHA, 255, 96)"
3336 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" />
3337 <link expr="ifthenelse(@UI:VARIABLES:USER_ALPHA, 96, 255)"
3338 target="globals_settings:text_use_glob_alp:alpha" />
3339 <instance template="button_ok_cancel"
3343 onclick_ok="leave_modal"
3345 onclick_cancel="proc"
3346 onclick_cancel_param="cancel_choose_ui_alpha" />
3347 <link expr="depends(@UI:VARIABLES:ALPHA_CONTENT)"
3349 params="dblink=UI:VARIABLES:ALPHA_BG|value=min(@UI:VARIABLES:ALPHA_CONTENT, @UI:VARIABLES:ALPHA_BG)" />
3350 <link expr="depends(@UI:VARIABLES:ALPHA_BG)"
3352 params="dblink=UI:VARIABLES:ALPHA_CONTENT|value=max(@UI:VARIABLES:ALPHA_CONTENT, @UI:VARIABLES:ALPHA_BG)" />
3353 <link expr="depends(@UI:VARIABLES:ALPHA_ROLLOVER_CONTENT)"
3355 params="dblink=UI:VARIABLES:ALPHA_ROLLOVER_BG|value=min(@UI:VARIABLES:ALPHA_ROLLOVER_CONTENT, @UI:VARIABLES:ALPHA_ROLLOVER_BG)" />
3356 <link expr="depends(@UI:VARIABLES:ALPHA_ROLLOVER_BG)"
3358 params="dblink=UI:VARIABLES:ALPHA_ROLLOVER_CONTENT|value=max(@UI:VARIABLES:ALPHA_ROLLOVER_CONTENT, @UI:VARIABLES:ALPHA_ROLLOVER_BG)" />
3360 <!-- **************** -->
3361 <!-- * BOX WIDGET * -->
3362 <!-- **************** -->
3363 <template name="box_widget"
3375 posparent="#posparent"
3387 render_layer="#render_layer"
3395 texture="W_box_blank.tga"
3396 inherit_gc_alpha="true" />
3398 render_layer="#render_layer"
3404 texture="W_box_blank.tga"
3405 inherit_gc_alpha="true" />
3407 render_layer="#render_layer"
3409 texture="W_box_top_left.tga"
3411 inherit_gc_alpha="true" />
3413 render_layer="#render_layer"
3415 texture="W_box_top_right.tga"
3417 inherit_gc_alpha="true" />
3419 render_layer="#render_layer"
3421 texture="W_box_bot_right.tga"
3423 inherit_gc_alpha="true" />
3425 render_layer="#render_layer"
3427 texture="W_box_bot_left.tga"
3429 inherit_gc_alpha="true" />
3431 render_layer="#render_layer"
3433 texture="W_box_top.tga"
3439 inherit_gc_alpha="true" />
3441 render_layer="#render_layer"
3443 texture="W_box_bot.tga"
3449 inherit_gc_alpha="true" />
3451 render_layer="#render_layer"
3453 texture="W_box_left.tga"
3459 inherit_gc_alpha="true" />
3461 render_layer="#render_layer"
3463 texture="W_box_right.tga"
3469 inherit_gc_alpha="true" />
3472 <template name="frame_widget"
3483 posparent="#posparent"
3502 color="3 3 3 255" />
3511 color="160 160 160 255" />
3520 color="45 45 45 255" />
3529 color="129 129 129 255" />
3532 <template name="border_select_widget"
3545 posparent="#posparent"
3564 global_color="false"
3565 color="255 255 255 #alpha"
3566 render_layer="#render_layer" />
3575 global_color="false"
3576 color="255 255 255 #alpha"
3577 render_layer="#render_layer" />
3586 global_color="false"
3587 color="255 255 255 #alpha"
3588 render_layer="#render_layer" />
3597 global_color="false"
3598 color="255 255 255 #alpha"
3599 render_layer="#render_layer" />
3602 <!-- template for the inner border of a dialog, with thick border on the left -->
3603 <template name="inner_thick_border"
3604 id="inner_thick_border"
3612 texture="W_L0_TL.tga"
3613 posparent="#posparent"
3617 texture="W_L0_TR.tga"
3618 posparent="#posparent"
3622 texture="W_L0_BR.tga"
3623 posparent="#posparent"
3627 texture="W_L0_BL.tga"
3628 posparent="#posparent"
3632 texture="W_L0_T.tga"
3633 posparent="#posparent"
3642 texture="W_L0_B.tga"
3643 posparent="#posparent"
3652 texture="W_L0_L.tga"
3653 posparent="#posparent"
3662 texture="W_L0_R.tga"
3663 posparent="#posparent"
3672 <!-- ***************** -->
3673 <!-- * CONTEXT HELP * -->
3674 <!-- ***************** -->
3675 <define id="over_border_color"
3676 value="140 140 240 255" />
3677 <define id="help_bg_color"
3678 value="100 120 120 255" />
3680 <!-- Define varaibles for the list sheet of the root brick selection modal-->
3681 <!--<define id="phrase_brick_selection_max" value_from_code="getPhraseBrickSelectionMax()" />-->
3682 <variable entry="UI:VARIABLES:CRYSTALBRICKS:$i:SHEET" type="sint32" value="0" size="64" />
3684 <!-- Over Text used for buttons or controls -->
3685 <group id="context_help"
3687 child_resize_w="true"
3688 child_resize_wmargin="12"
3689 child_resize_h="true"
3690 child_resize_hmargin="9">
3699 color="%help_bg_color"
3700 global_color="false"
3701 texture="blank.tga" />
3709 color="%over_border_color"
3710 global_color="false"
3711 texture="W_hl_t.tga" />
3719 color="%over_border_color"
3720 global_color="false"
3721 texture="W_hl_b.tga" />
3729 color="%over_border_color"
3730 global_color="false"
3731 texture="W_hl_l.tga" />
3739 color="%over_border_color"
3740 global_color="false"
3741 texture="W_hl_r.tga" />
3744 avoid_resize_parent="true"
3749 color="%over_border_color"
3750 global_color="false"
3751 texture="W_hl_tl.tga" />
3754 avoid_resize_parent="true"
3759 color="%over_border_color"
3760 global_color="false"
3761 texture="W_hl_bl.tga" />
3764 avoid_resize_parent="true"
3769 color="%over_border_color"
3770 global_color="false"
3771 texture="W_hl_tr.tga" />
3774 avoid_resize_parent="true"
3779 color="%over_border_color"
3780 global_color="false"
3781 texture="W_hl_br.tga" />
3782 <!--System, don'change the ids -->
3787 color="255 255 255 255"
3788 global_color="false"
3792 multi_line_space="1"
3794 multi_line_maxw_only="true" />
3796 <!-- Over Text used for actions : this include additionnal icons -->
3797 <group id="action_context_help"
3799 child_resize_w="true"
3800 child_resize_wmargin="12"
3801 child_resize_h="true"
3802 child_resize_hmargin="9">
3811 color="%help_bg_color"
3812 global_color="false"
3813 texture="blank.tga" />
3821 color="%over_border_color"
3822 global_color="false"
3823 texture="W_hl_t.tga" />
3831 color="%over_border_color"
3832 global_color="false"
3833 texture="W_hl_b.tga" />
3841 color="%over_border_color"
3842 global_color="false"
3843 texture="W_hl_l.tga" />
3851 color="%over_border_color"
3852 global_color="false"
3853 texture="W_hl_r.tga" />
3856 avoid_resize_parent="true"
3861 color="%over_border_color"
3862 global_color="false"
3863 texture="W_hl_tl.tga" />
3866 avoid_resize_parent="true"
3871 color="%over_border_color"
3872 global_color="false"
3873 texture="W_hl_bl.tga" />
3876 avoid_resize_parent="true"
3881 color="%over_border_color"
3882 global_color="false"
3883 texture="W_hl_tr.tga" />
3886 avoid_resize_parent="true"
3891 color="%over_border_color"
3892 global_color="false"
3893 texture="W_hl_br.tga" />
3894 <!--System, don'change the ids -->
3900 color="255 255 255 255"
3901 global_color="false"
3905 multi_line_space="1"
3907 multi_line_maxw_only="true" />
3913 hardtext="success_rate"
3915 global_color="false"/>
3918 texture="ico_heal.tga"
3919 global_color="false"
3921 posparent="success_rate" />
3925 texture="ico_stamina.tga"
3926 global_color="false"
3928 posparent="hp_cost" />
3932 texture="ico_sap.tga"
3933 global_color="false"
3935 posparent="sta_cost" />
3939 texture="ico_focus.tga"
3940 global_color="false"
3942 posparent="sap_cost" />
3946 texture="ico_time.tga"
3947 global_color="false"
3949 posparent="focus_cost" />
3953 texture="ico_range.tga"
3954 global_color="false"
3956 posparent="cast_time" />
3962 global_color="false"/>
3965 posparent="sta_cost"
3968 global_color="false"/>
3971 posparent="sap_cost"
3974 global_color="false"/>
3976 id="focus_cost_text"
3977 posparent="focus_cost"
3980 global_color="false"/>
3983 posparent="cast_time"
3986 global_color="false"/>
3988 id="cast_range_text"
3989 posparent="cast_range"
3992 global_color="false"/>
3996 posparent="cast_range_text"
3998 hardtext="uittDisableTime"
4000 global_color="false"/>
4004 posparent="disable_time"
4006 hardtext="regen_time"
4008 global_color="false"/>
4010 <!-- Over Text used for Buff Items : this include additionnal icons -->
4011 <group id="buff_item_context_help"
4013 child_resize_w="true"
4014 child_resize_wmargin="12"
4015 child_resize_h="true"
4016 child_resize_hmargin="9"
4017 global_color="false">
4026 color="%help_bg_color"
4027 global_color="false"
4028 texture="blank.tga" />
4036 color="%over_border_color"
4037 global_color="false"
4038 texture="W_hl_t.tga" />
4046 color="%over_border_color"
4047 global_color="false"
4048 texture="W_hl_b.tga" />
4056 color="%over_border_color"
4057 global_color="false"
4058 texture="W_hl_l.tga" />
4066 color="%over_border_color"
4067 global_color="false"
4068 texture="W_hl_r.tga" />
4071 avoid_resize_parent="true"
4076 color="%over_border_color"
4077 global_color="false"
4078 texture="W_hl_tl.tga" />
4081 avoid_resize_parent="true"
4086 color="%over_border_color"
4087 global_color="false"
4088 texture="W_hl_bl.tga" />
4091 avoid_resize_parent="true"
4096 color="%over_border_color"
4097 global_color="false"
4098 texture="W_hl_tr.tga" />
4101 avoid_resize_parent="true"
4106 color="%over_border_color"
4107 global_color="false"
4108 texture="W_hl_br.tga" />
4109 <!--System, don'change the ids -->
4115 color="255 255 255 255"
4116 global_color="false"
4120 multi_line_space="1"
4122 multi_line_maxw_only="true" />
4127 texture="ico_heal.tga"
4128 global_color="false"
4135 texture="ico_stamina.tga"
4136 global_color="false"
4138 posparent="hp_buff" />
4142 texture="ico_sap.tga"
4143 global_color="false"
4145 posparent="sta_buff" />
4149 texture="ico_focus.tga"
4150 global_color="false"
4152 posparent="sap_buff" />
4158 global_color="false"/>
4161 posparent="sta_buff"
4164 global_color="false"/>
4167 posparent="sap_buff"
4170 global_color="false"/>
4172 id="focus_buff_text"
4173 posparent="focus_buff"
4176 global_color="false"/>
4178 <!-- Over Text used for Crystallized Spells: this include additionnal icons -->
4179 <define id="crystallized_spell_list_brick" value="ui:interface:crystallized_spell_context_help:list_brick" />
4180 <group id="crystallized_spell_context_help"
4182 child_resize_w="true"
4183 child_resize_wmargin="12"
4184 child_resize_h="true"
4185 child_resize_hmargin="9"
4186 global_color="false">
4195 color="%help_bg_color"
4196 global_color="false"
4197 texture="blank.tga" />
4205 color="%over_border_color"
4206 global_color="false"
4207 texture="W_hl_t.tga" />
4215 color="%over_border_color"
4216 global_color="false"
4217 texture="W_hl_b.tga" />
4225 color="%over_border_color"
4226 global_color="false"
4227 texture="W_hl_l.tga" />
4235 color="%over_border_color"
4236 global_color="false"
4237 texture="W_hl_r.tga" />
4240 avoid_resize_parent="true"
4245 color="%over_border_color"
4246 global_color="false"
4247 texture="W_hl_tl.tga" />
4250 avoid_resize_parent="true"
4255 color="%over_border_color"
4256 global_color="false"
4257 texture="W_hl_bl.tga" />
4260 avoid_resize_parent="true"
4265 color="%over_border_color"
4266 global_color="false"
4267 texture="W_hl_tr.tga" />
4270 avoid_resize_parent="true"
4275 color="%over_border_color"
4276 global_color="false"
4277 texture="W_hl_br.tga" />
4278 <!--System, don'change the ids -->
4284 color="255 255 255 255"
4285 global_color="false"
4289 multi_line_space="1"
4291 multi_line_maxw_only="true" />
4292 <!-- For Cristallized Phrase -->
4293 <instance template="template_info_list_brick"
4294 type="list_sheet_compo_brick"
4296 brickdb="UI:VARIABLES:CRYSTALBRICKS"
4300 multi_line_maxw_only="true"
4303 child_resize_w="true"
4304 child_resize_wmargin="13"
4305 global_color="false"/>
4309 <!-- Over Text used for SingleLine TextView that are clamped (group_tree, keys interface....) -->
4310 <group id="over_extend_view_text"
4311 child_resize_w="true"
4312 child_resize_h="true"
4313 child_resize_wmargin="4"
4314 child_resize_hmargin="4"
4316 <!-- System, don'change the ids, nor the posref -->
4317 <!-- color and modulate_color are replaced according to the view text to over -->
4325 color="255 255 255 255"
4326 texture="blank.tga" />
4334 color="64 64 64 255"
4335 texture="blank.tga" />
4336 <!-- fontsize, shadow, text, color, modulate_color.... are replaced according to the view text to over -->
4342 color="255 255 255 255"
4345 multi_line="false" />
4347 <!-- Helper to place a tooltip over a text or anything else
4348 Basically just define 'posparent', and 'tooltip'. (id is the parent id prefixed by tt_
4349 Other params are for advanced use
4351 <template name="text_tt"
4356 on_tooltip_params=""
4358 tooltip_parent="ctrl"
4359 tooltip_posref="auto"
4360 tooltip_special_parent=""
4362 <ctrl type="tooltip"
4369 posparent="#posparent"
4371 tooltip_i18n="#tooltip_i18n"
4372 on_tooltip="#on_tooltip"
4373 on_tooltip_params="#on_tooltip_params"
4374 instant_help="#instant_help"
4375 tooltip_parent="#tooltip_parent"
4376 tooltip_posref="#tooltip_posref"
4377 tooltip_special_parent="#tooltip_special_parent" />
4379 <!-- ******************************** -->
4380 <!-- * ITEM DROP/DESTROY PROCEDURE * -->
4381 <!-- ******************************** -->
4382 <proc id="drop_item_proc">
4383 <!-- set the mode -->
4384 <action handler="set"
4385 params="dblink=UI:DROP_DESTROY_ITEM:DROP_MODE|value=1" />
4386 <action handler="proc"
4387 params="drop_destroy_item_proc" />
4389 <proc id="destroy_item_proc">
4390 <!-- set the mode -->
4391 <action handler="set"
4392 params="dblink=UI:DROP_DESTROY_ITEM:DROP_MODE|value=0" />
4393 <action handler="proc"
4394 params="drop_destroy_item_proc" />
4396 <proc id="drop_destroy_item_proc">
4397 <!-- copy infos about current sheet -->
4398 <action handler="eval_expr"
4399 params="expr=copySheet(getMenuItemSheet(), getSheetFromId('ui:interface:drop_destroy_item_quantity_modal:sheet'))" />
4400 <!-- set default quantity to 1 -->
4401 <action handler="set"
4402 params="dblink=UI:DROP_DESTROY_ITEM:ITEM:QUANTITY|value=1" />
4403 <!-- 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)-->
4404 <action cond="isStackable(getMenuItemSheet())"
4405 handler="enter_modal"
4406 params="group=ui:interface:drop_destroy_item_quantity_modal" />
4407 <action cond="not(isStackable(getMenuItemSheet()))"
4408 handler="enter_modal"
4409 params="group=ui:interface:drop_destroy_item_confirm_modal" />
4411 <!-- proc to setup modal box to choose the number of item to drop/destroy -->
4412 <proc id="setup_drop_destroy_item_modal">
4413 <!-- copy the max number of items into the edit box (start value that is displayed), and the db -->
4414 <action handler="set"
4415 params="dblink=UI:DROP_DESTROY_ITEM:ITEM:QUANTITY|value=getSheetQuantity(getMenuItemSheet())" />
4416 <action handler="set"
4417 params="target_property=ui:interface:drop_destroy_item_quantity_modal:edit:eb:input_string|value=getSheetQuantity(getMenuItemSheet())" />
4418 <!-- set keyboard focus on the edit box -->
4419 <action handler="set_keyboard_focus"
4420 params="select_all=true|target=ui:interface:drop_destroy_item_quantity_modal:edit:eb" />
4422 <!-- proc that is called when the user has given the number of item to drop/destroy -->
4423 <proc id="drop_destroy_item_quantity_modal_ok">
4424 <!-- close the modal -->
4425 <action handler="leave_modal"
4427 <!-- clamp the number of item to drop/destroy -->
4428 <action handler="set"
4429 params="dblink=UI:DROP_DESTROY_ITEM:ITEM:QUANTITY|value=min(getSheetQuantity(getMenuItemSheet()), @@UI:DROP_DESTROY_ITEM:ITEM:QUANTITY)" />
4430 <!-- call the modal to confirm the choice -->
4431 <action cond="ne(@UI:DROP_DESTROY_ITEM:ITEM:QUANTITY, 0)"
4432 handler="enter_modal"
4433 params="group=ui:interface:drop_destroy_item_confirm_modal" />
4435 <!-- temp variables -->
4436 <variable entry="UI:DROP_DESTROY_ITEM:ITEM:SHEET"
4439 <variable entry="UI:DROP_DESTROY_ITEM:ITEM:QUANTITY"
4442 <variable entry="UI:DROP_DESTROY_ITEM:ITEM:QUALITY"
4445 <variable entry="UI:DROP_DESTROY_ITEM:ITEM:USER_COLOR"
4448 <variable entry="UI:DROP_DESTROY_ITEM:ITEM:LOCKED"
4451 <variable entry="UI:DROP_DESTROY_ITEM:ITEM:WEIGHT"
4454 <variable entry="UI:DROP_DESTROY_ITEM:ITEM:NAMEID"
4457 <variable entry="UI:DROP_DESTROY_ITEM:ITEM:INFO_VERSION"
4460 <variable entry="UI:DROP_DESTROY_ITEM:ITEM:ENCHANT"
4463 <variable entry="UI:DROP_DESTROY_ITEM:ITEM:RM_CLASS_TYPE"
4466 <variable entry="UI:DROP_DESTROY_ITEM:ITEM:RM_FABER_STAT_TYPE"
4469 <variable entry="UI:DROP_DESTROY_ITEM:ITEM:PREREQUSIT_VALID"
4472 <!-- drop or destroy/mode -->
4473 <variable entry="UI:DROP_DESTROY_ITEM:DROP_MODE"
4476 <!-- modal box to choose the number of item to drop/destroy -->
4478 id="drop_destroy_item_quantity_modal"
4479 exit_click_out="true"
4486 on_active_params="setup_drop_destroy_item_modal"
4487 options="skin_modal"
4489 on_enter_params="drop_destroy_item_quantity_modal_ok">
4495 global_color="false"
4496 texture="w_warning_2.tga" />
4504 hardtext="uimQuantityDestroy"
4505 global_color="false"
4506 color="233 197 42 255" />
4514 hardtext="uimQuantityDrop"
4515 global_color="false"
4516 color="233 197 42 255" />
4519 value="UI:DROP_DESTROY_ITEM:ITEM"
4530 color="255 255 255 255"
4534 <instance template="edit_box_widget"
4535 entry_type="positive_integer"
4546 enter_loose_focus="false"
4549 onchange="editbox_number"
4550 onchange_params="value=UI:DROP_DESTROY_ITEM:ITEM:QUANTITY|update_text=false"
4552 params="drop_destroy_item_quantity_modal_ok"
4554 <instance template="button_ok_cancel"
4559 onclick_ok_param="drop_destroy_item_quantity_modal_ok"
4560 onclick_cancel="leave_modal"
4561 onclick_cancel_param="" />
4562 <!-- link to display the right text (drop or destroy) -->
4563 <link expr="eq(@UI:DROP_DESTROY_ITEM:DROP_MODE, 1)"
4564 target="drop_text:active" />
4565 <link expr="ne(@UI:DROP_DESTROY_ITEM:DROP_MODE, 1)"
4566 target="destroy_text:active" />
4568 <!-- confirm drop/destroy item -->
4569 <proc id="confirm_drop_destroy_item">
4570 <action handler="leave_modal"
4572 <action cond="eq(@UI:DROP_DESTROY_ITEM:DROP_MODE, 1)"
4574 params="quantity=@@UI:DROP_DESTROY_ITEM:ITEM:QUANTITY" />
4575 <action cond="ne(@UI:DROP_DESTROY_ITEM:DROP_MODE, 1)"
4576 handler="destroy_item"
4577 params="quantity=@@UI:DROP_DESTROY_ITEM:ITEM:QUANTITY" />
4579 <!-- modal box to confirm destruction of the item -->
4581 id="drop_destroy_item_confirm_modal"
4582 exit_click_out="true"
4589 options="skin_modal"
4590 on_enter_params="confirm_drop_destroy_item">
4596 global_color="false"
4597 texture="w_warning_2.tga" />
4603 color="233 197 42 255"
4606 global_color="false"
4607 hardtext="uimDestroy" />
4613 color="233 197 42 255"
4616 global_color="false"
4617 hardtext="uimDrop" />
4620 value="UI:DROP_DESTROY_ITEM:ITEM"
4625 use_quantity="false" />
4632 color="255 255 255 255"
4635 global_color="false"
4637 <!-- link to display the right number of item -->
4638 <link expr="ifthenelse(eq(@UI:DROP_DESTROY_ITEM:ITEM:QUANTITY, 1), '', str('x', @UI:DROP_DESTROY_ITEM:ITEM:QUANTITY))"
4639 target="disp_number:hardtext" />
4640 <link expr="ifthenelse(eq(@UI:DROP_DESTROY_ITEM:ITEM:QUANTITY, 1), 0, -10)"
4642 <instance template="button_ok_cancel"
4647 onclick_ok_param="confirm_drop_destroy_item"
4648 onclick_cancel="leave_modal"
4649 onclick_cancel_param="" />
4650 <!-- link to display the right text (drop or destroy) -->
4651 <link expr="eq(@UI:DROP_DESTROY_ITEM:DROP_MODE, 1)"
4652 target="drop_text:active" />
4653 <link expr="ne(@UI:DROP_DESTROY_ITEM:DROP_MODE, 1)"
4654 target="destroy_text:active" />
4656 <!-- ********************************************************* -->
4657 <!-- * AUTOMATIC OPENING / RESTORING OF PLAYER INVENTORY * -->
4658 <!-- ********************************************************* -->
4659 <proc id="memorize_inventory_state">
4660 <!-- memorize previous state -->
4661 <!-- <action handler="set" params="dblink=%bag1_open_value|value=isOpen('ui:interface:userbag1')"/>
4662 <action handler="set" params="dblink=%bag2_open_value|value=isOpen('ui:interface:userbag2')"/>
4663 <action handler="set" params="dblink=%bag3_open_value|value=isOpen('ui:interface:userbag3')"/>
4664 <action handler="set" params="dblink=%bag4_open_value|value=isOpen('ui:interface:userbag4')"/>
4665 <action handler="set" params="dblink=%bags_open_value|value=isOpen('ui:interface:userbags')"/>
4666 <action handler="set" params="dblink=%player_open_value|value=isOpen('ui:interface:player')"/>
4667 <action handler="set" params="dblink=%money_open_value|value=isOpen('ui:interface:usermoney')"/> -->
4668 <action handler="set"
4669 params="dblink=%inventory_open_value|value=isOpen('ui:interface:inventory')" />
4670 <!-- force to open the inventory -->
4671 <!-- <action handler="set_open" cond="le(1,@%bag_nb)" params="target=ui:interface:userbags|open='true'"/>
4672 <action handler="set_open" cond="le(1,@%bag_nb)" params="target=ui:interface:userbag1|open='true'"/>
4673 <action handler="set_open" cond="le(2,@%bag_nb)" params="target=ui:interface:userbag2|open='true'"/>
4674 <action handler="set_open" cond="le(3,@%bag_nb)" params="target=ui:interface:userbag3|open='true'"/>
4675 <action handler="set_open" cond="le(4,@%bag_nb)" params="target=ui:interface:userbag4|open='true'"/>
4676 <action handler="set_open" params="target=ui:interface:player|open='true'"/>
4677 <action handler="set_open" params="target=ui:interface:usermoney|open='true'"/> -->
4678 <action handler="set_open"
4679 params="target=ui:interface:inventory|open='true'" />
4680 <!-- reset flag to see if the user has opened the inventory -->
4681 <!--<action handler="set" params="dblink=%bag1_touched|value=0"/>
4682 <action handler="set" params="dblink=%bag2_touched|value=0"/>
4683 <action handler="set" params="dblink=%bag3_touched|value=0"/>
4684 <action handler="set" params="dblink=%bag4_touched|value=0"/>
4685 <action handler="set" params="dblink=%bags_touched|value=0"/>
4686 <action handler="set" params="dblink=%player_touched|value=0"/>
4687 <action handler="set" params="dblink=%money_touched|value=0"/>-->
4688 <action handler="set"
4689 params="dblink=%inventory_touched|value=0" />
4691 <proc id="restore_inventory_state">
4692 <!--<action handler="set_open" cond="and(eq(@%bag1_touched, 0), le(1,@%bag_nb))" params="target=ui:interface:userbag1|open=@@%bag1_open_value"/>
4693 <action handler="set_open" cond="and(eq(@%bag2_touched, 0), le(2,@%bag_nb))" params="target=ui:interface:userbag2|open=@@%bag2_open_value"/>
4694 <action handler="set_open" cond="and(eq(@%bag3_touched, 0), le(3,@%bag_nb))" params="target=ui:interface:userbag3|open=@@%bag3_open_value"/>
4695 <action handler="set_open" cond="and(eq(@%bag4_touched, 0), le(4,@%bag_nb))" params="target=ui:interface:userbag4|open=@@%bag4_open_value"/>
4696 <action handler="set_open" cond="and(eq(@%bags_touched, 0), le(1,@%bag_nb))" params="target=ui:interface:userbags|open=@@%bags_open_value"/>
4697 <action handler="set_open" cond="eq(@%player_touched, 0)" params="target=ui:interface:player|open=@@%player_open_value"/>
4698 <action handler="set_open" cond="eq(@%money_touched, 0)" params="target=ui:interface:usermoney|open=@@%money_open_value"/>-->
4699 <action handler="set_open"
4700 cond="eq(@%inventory_touched, 0)"
4701 params="target=ui:interface:inventory|open=@@%inventory_open_value" />
4704 <template name="modal_border"
4708 texture="W_modal_TL.tga"
4709 posparent="#posparent"
4713 texture="W_modal_TR.tga"
4714 posparent="#posparent"
4718 texture="W_modal_BR.tga"
4719 posparent="#posparent"
4723 texture="W_modal_BL.tga"
4724 posparent="#posparent"
4728 texture="W_modal_T.tga"
4729 posparent="#posparent"
4737 texture="W_modal_B.tga"
4738 posparent="#posparent"
4746 texture="W_modal_L.tga"
4747 posparent="#posparent"
4755 texture="W_modal_R.tga"
4756 posparent="#posparent"
4763 <!-- *************************** -->
4764 <!-- * COMBO BOX DEFINITIONS * -->
4765 <!-- *************************** -->
4766 <!-- the modal Menu opened on a combo box 's click -->
4768 id="combo_box_select_menu"
4775 color="255 255 255 128"
4776 shadow_color="0 0 0 255"
4777 color_over="255 255 255 255"
4778 shadow_color_over="0 0 0 255"
4779 color_grayed="0 0 0 255"
4780 shadow_color_grayed="155 155 155 255"
4782 highlight_over="255 255 255 128"
4783 force_inside_screen="true"></group>
4785 id="combo_box_measure_menu"
4793 color="255 255 255 128"
4794 shadow_color="0 0 0 255"
4795 color_over="255 255 255 255"
4796 shadow_color_over="0 0 0 255"
4797 color_grayed="0 0 0 255"
4798 shadow_color_grayed="155 155 155 255"
4800 highlight_over="255 255 255 128"
4801 force_inside_screen="true" />
4802 <!-- the common children definitions of a combo box -->
4803 <!-- keep is true because this template is used in the teditcmd template -->
4804 <template name="combo_box_def1"
4808 <instance template="box_widget"
4809 render_layer="#render_layer"
4815 render_layer="#render_layer"
4819 texture="W_arrow_down_2.tga" />
4823 render_layer="#render_layer"
4827 render_layer="#render_layer"
4828 button_type="push_button"
4833 col_over="255 255 255 90"
4837 <!-- ******************* -->
4839 <!-- ******************* -->
4840 <!-- Common Style of a Modal Container. user should define
4841 - the "modal_parent" window
4842 - and the "on_enter" ActionHandler to support all "Modal Container" aspects.
4844 <style style="container_modal"
4848 global_color="false"
4853 right_button="true" />
4854 <!-- Common Style for an OK Button. User should define:
4855 - "onclick_l" and "params_l"
4856 - x, y, posparent and posref
4858 <style style="button_ok"
4861 button_type="push_button"
4862 tx_normal="w_text_button_normal"
4863 tx_pushed="w_text_button_pushed"
4864 tx_over="w_text_button_over"
4865 global_color_normal="true"
4866 global_color_over="true"
4867 global_color_pushed="true"
4871 case_mode="%case_upper"
4873 <!-- Common Style for a Cancel Button. By default positioned according to the "ok" button. User should define:
4874 - "onclick_l" and "params_l"
4876 <style style="button_cancel"
4879 button_type="push_button"
4880 tx_normal="w_text_button_normal"
4881 tx_pushed="w_text_button_pushed"
4882 tx_over="w_text_button_over"
4883 global_color_normal="true"
4884 global_color_over="true"
4885 global_color_pushed="true"
4889 case_mode="%case_upper"
4891 <!-- Group of two ok, cancel buttons
4893 <template name="button_ok_cancel"
4896 cancel_text="uittCancel"
4902 onclick_cancel_param=""
4907 avoid_resize_parent="false">
4909 posparent="#posparent"
4911 child_resize_w="true"
4912 child_resize_h="true"
4915 avoid_resize_parent="#avoid_resize_parent">
4916 <ctrl style="button_ok"
4921 onclick_l="#onclick_ok"
4922 params_l="#onclick_ok_param"
4924 tooltip="#tooltip_ok" />
4925 <ctrl style="button_cancel"
4930 onclick_l="#onclick_cancel"
4931 params_l="#onclick_cancel_param"
4932 hardtext="#cancel_text" />
4935 <!-- Common Style for a Close Button.
4937 <style style="button_close"
4940 button_type="push_button"
4944 tx_normal="W_close_1.tga"
4945 tx_pushed="W_close_1.tga"
4946 tx_over="W_button_12_over.tga"
4947 global_color_normal="false"
4948 global_color_pushed="false" />
4949 <!-- Common Style for a text Button. User should define:
4952 - "onclick_l" and "params_l"
4953 - x, y, posparent and posref
4955 <style style="text_button_16"
4957 button_type="push_button"
4958 tx_normal="w_text_button_normal"
4959 tx_pushed="w_text_button_pushed"
4960 tx_over="w_text_button_over"
4961 global_color_normal="true"
4962 global_color_over="true"
4963 global_color_pushed="true"
4967 case_mode="%case_upper"
4969 text_color_normal="255 255 255 128"
4970 text_color_pushed="255 255 255 255"
4971 text_color_over="255 255 255 255" />
4972 <style style="text_button_header"
4974 button_type="push_button"
4975 tx_normal="w_text_button_normal"
4976 tx_pushed="w_text_button_pushed"
4977 tx_over="w_text_button_over"
4981 case_mode="%case_upper"
4983 text_color_normal="255 255 255 128"
4984 text_color_pushed="255 255 255 255"
4985 text_color_over="255 255 255 255"
4986 global_color_normal="false"
4987 global_color_over="false"
4988 global_color_pushed="false"
4989 text_global_color_normal="false"
4990 text_global_color_pushed="false"
4991 text_global_color_over="false"
4992 text_header_color="true" />
4993 <style style="new_element_header"
4995 button_type="push_button"
4996 tx_normal="w_text_button_normal"
4997 tx_pushed="w_text_button_pushed"
4998 tx_over="w_text_button_over"
4999 global_color_normal="true"
5000 global_color_over="true"
5001 global_color_pushed="true"
5005 case_mode="%case_upper"
5007 text_global_color_normal="true"
5008 text_global_color_pushed="true"
5009 text_global_color_over="true"
5010 text_color_normal="255 255 255 128"
5011 text_color_pushed="255 255 255 255"
5012 text_color_over="255 255 255 255"
5013 text_header_color="true" />
5014 <style style="new_element_content"
5016 button_type="push_button"
5017 tx_normal="w_text_button_normal"
5018 tx_pushed="w_text_button_pushed"
5019 tx_over="w_text_button_over"
5023 case_mode="%case_upper"
5025 global_color_normal="true"
5026 global_color_over="true"
5027 global_color_pushed="true"
5028 text_global_color_normal="true"
5029 text_global_color_pushed="true"
5030 text_global_color_over="true"
5031 text_color_normal="255 255 255 128"
5032 text_color_pushed="255 255 255 255"
5033 text_color_over="255 255 255 255" />
5034 <style style="qh_button"
5036 button_type="radio_button"
5042 global_color_normal="true"
5043 global_color_over="true"
5044 global_color_pushed="false"
5045 color="255 255 255 128"
5046 col_over="255 255 255 0"
5047 col_pushed="255 128 0 192"
5051 text_color_normal="255 255 255 255"
5052 text_color_pushed="255 255 255 255"
5053 text_color_over="255 255 255 255"
5054 text_shadow_color_normal="0 0 0 255"
5055 text_shadow_color_pushed="0 0 0 255"
5056 text_shadow_color_over="0 0 0 255"
5057 text_global_color_normal="true"
5058 text_global_color_pushed="false"
5059 text_global_color_over="false" />
5060 <style style="defense_style_button"
5062 button_type="radio_button"
5068 global_color_normal="true"
5069 global_color_over="true"
5070 global_color_pushed="false"
5071 color="255 255 255 128"
5072 col_over="255 255 255 0"
5073 col_pushed="255 190 0 192"
5077 text_color_normal="255 255 255 160"
5078 text_color_pushed="255 255 255 255"
5079 text_color_over="255 255 255 255"
5080 text_shadow_color_normal="0 0 0 255"
5081 text_shadow_color_pushed="0 0 0 255"
5082 text_shadow_color_over="0 0 0 255"
5083 text_global_color_normal="true"
5084 text_global_color_pushed="false"
5085 text_global_color_over="false" />
5086 <style style="defense_button"
5088 button_type="radio_button"
5089 tx_normal="W_slot_item_selected.tga"
5090 tx_pushed="W_slot_item_selected.tga"
5091 tx_over="W_slot_item_selected.tga"
5092 color="255 255 255 0"
5093 col_over="255 255 255 255"
5094 col_pushed="255 190 0 255"
5095 global_color_normal="true"
5096 global_color_over="true"
5097 global_color_pushed="false" />
5098 <style style="quit_button"
5100 button_type="push_button"
5101 tx_normal="Quit_button_normal"
5102 tx_pushed="Quit_button_pushed"
5103 tx_over="Quit_button_over"
5105 global_color_normal="false"
5106 global_color_over="false"
5107 global_color_pushed="false"
5108 color="255 255 255 255"
5109 col_over="255 255 255 255"
5110 col_pushed="255 255 255 255"
5114 text_color_pushed="255 255 255 255"
5115 text_color_over="255 255 255 255"
5116 text_shadow_color_normal="0 0 0 255"
5117 text_shadow_color_pushed="0 0 0 255"
5118 text_shadow_color_over="0 0 0 255"
5119 text_global_color_normal="false"
5120 text_global_color_pushed="false"
5121 text_global_color_over="false" />
5122 <!-- Common Style for a Tab Button. User should define:
5124 - posparent: eg "tab0"
5126 - x="0" and posref="TL TL" for tab0
5128 <style style="tab_button_16"
5130 button_type="radio_button"
5133 tx_normal="w_text_button_normal"
5134 tx_pushed="w_text_button_pushed"
5135 tx_over="w_text_button_over"
5136 global_color_normal="true"
5137 global_color_over="true"
5138 global_color_pushed="true"
5142 case_mode="%case_upper"
5144 text_color_normal="255 255 255 128"
5145 text_color_pushed="255 255 255 255"
5146 text_color_over="255 255 255 255" />
5147 <style style="tab_button_new"
5149 button_type="radio_button"
5152 tx_normal="w_tab_normal"
5153 tx_pushed="w_tab_pushed"
5154 tx_over="w_tab_over"
5155 global_color_normal="true"
5156 global_color_over="true"
5157 global_color_pushed="true"
5158 color="255 255 255 255"
5159 col_over="255 255 255 255"
5160 col_pushed="255 255 255 255"
5164 case_mode="%case_upper"
5166 text_color_normal="255 255 255 128"
5167 text_color_pushed="255 255 255 255"
5168 text_color_over="255 255 255 255"
5169 text_global_color_normal="true"
5170 text_global_color_pushed="false"
5171 text_global_color_over="true" />
5172 <!-- **************** -->
5173 <!-- * MESSAGE BOX * -->
5174 <!-- **************** -->
5175 <!-- Simple Message Box with just a OK button -->
5178 exit_click_out="true"
5181 child_resize_h="true"
5182 child_resize_hmargin="46"
5183 on_enter="leave_modal"
5184 options="skin_modal">
5193 color="255 255 255 255"
5197 multi_line_space="0"
5198 case_mode="%case_first_sentence_letter_up" />
5199 <ctrl style="button_ok"
5203 onclick_l="leave_modal"
5205 avoid_resize_parent="true" />
5207 <!-- Message Box with just a OK/Browse Faq button -->
5208 <proc id="proc_browse_faq">
5210 NB : do not leave the window here, this way the user can refer to the message in the help message box
5211 <action handler="leave_modal" />
5213 <action handler="browse_faq"
5216 <proc id="proc_message_box_with_help_ok">
5217 <action handler="leave_modal" />
5218 <!-- must leave modal first if another modal is to be displayed after this one -->
5223 id="message_box_with_help"
5224 exit_click_out="false"
5227 child_resize_h="true"
5228 child_resize_hmargin="46"
5230 on_enter_params="proc_message_box_with_help_ok"
5232 on_deactive_params="proc_message_box_with_help_ok"
5234 options="skin_modal">
5243 color="255 255 255 255"
5247 multi_line_space="0"
5248 case_mode="%case_first_sentence_letter_up" />
5249 <ctrl style="button_ok"
5255 params_l="proc_message_box_with_help_ok"
5257 avoid_resize_parent="true" />
5258 <ctrl style="button_ok"
5264 params_l="proc_browse_faq"
5265 hardtext="uittBrowseFaq"
5266 avoid_resize_parent="true" />
5268 <!-- Message Box with just a OK/Cancel button -->
5269 <proc id="proc_valid_message_box_ok">
5270 <action handler="leave_modal" />
5271 <!-- must leave modal first if another modal is to be displayed after this one -->
5274 <!-- Replaced with the user one -->
5276 <proc id="proc_valid_message_box_cancel">
5277 <action handler="leave_modal" />
5278 <!-- must leave modal first if another modal is to be displayed after this one -->
5281 <!-- Replaced with the user one -->
5284 id="valid_message_box"
5285 exit_click_out="true"
5288 child_resize_h="true"
5289 child_resize_hmargin="46"
5291 on_enter_params="proc_valid_message_box_ok"
5292 options="skin_modal">
5293 <group id="icon_group"
5303 global_color="false" />
5313 color="255 255 255 255"
5316 multi_line_space="0"
5318 case_mode="%case_first_sentence_letter_up" />
5319 <instance template="button_ok_cancel"
5324 onclick_ok_param="proc_valid_message_box_ok"
5325 onclick_cancel="proc"
5326 onclick_cancel_param="proc_valid_message_box_cancel"
5327 avoid_resize_parent="true" />
5329 <!-- common Style for Message Box For Important Proposal feature (join PVP etc...) -->
5330 <style style="container_proposal"
5341 <!-- ********************************** -->
5342 <!-- * SERVER IMPORTANT MESSAGE BOX * -->
5343 <!-- ********************************** -->
5344 <!-- Vars describing the message -->
5345 <variable entry="UI:TEMP:SERVER_POPUP:TITLE"
5348 <!-- Change it to access the view text -->
5349 <define id="server_message_box_content_view_text"
5350 value="ui:interface:server_message_box:content:inside:limited_h:text" />
5352 <group style="container_proposal"
5358 id="server_message_box"
5359 right_button="false"
5360 title="UI:TEMP:SERVER_POPUP:TITLE"
5361 title_class="text_dyn_string">
5362 <group id="header_opened"
5366 child_resize_h="true"
5367 child_resize_hmargin="10">
5368 <!-- Description -->
5374 child_resize_h="true">
5375 <group id="limited_h"
5381 child_resize_h="true"
5382 child_resize_hmargin="6"
5389 color="255 255 255 255"
5393 multi_line_space="0"
5394 global_color="false" />
5398 <ctrl style="button_ok"
5404 onclick_l="hide:server_message_box"
5405 hardtext="uittOK" />
5408 <tree node="server_message_box" />
5409 <!-- ********************* -->
5410 <!-- * ITEM/BRICK HELP * -->
5411 <!-- ********************* -->
5412 <!-- Max Help opened. "Infinity" -->
5413 <define id="MAX_HELP_WINDOW"
5415 <!-- Variables for Sheet Help Widget -->
5416 <variable entry="UI:glob_var:help:$i:SHEET"
5419 size="%MAX_HELP_WINDOW" />
5420 <variable entry="UI:glob_var:help:$i:QUALITY"
5423 size="%MAX_HELP_WINDOW" />
5424 <variable entry="UI:glob_var:help:$i:QUANTITY"
5427 size="%MAX_HELP_WINDOW" />
5428 <variable entry="UI:glob_var:help:$i:SLOT_TYPE"
5431 size="%MAX_HELP_WINDOW" />
5432 <variable entry="UI:glob_var:help:$i:USER_COLOR"
5435 size="%MAX_HELP_WINDOW" />
5436 <variable entry="UI:glob_var:help:$i:NAMEID"
5439 size="%MAX_HELP_WINDOW" />
5440 <variable entry="UI:glob_var:help:$i:INFO_VERSION"
5443 size="%MAX_HELP_WINDOW" />
5444 <variable entry="UI:glob_var:help:$i:ENCHANT"
5447 size="%MAX_HELP_WINDOW" />
5448 <variable entry="UI:glob_var:help:$i:RM_CLASS_TYPE"
5451 size="%MAX_HELP_WINDOW" />
5452 <variable entry="UI:glob_var:help:$i:RM_FABER_STAT_TYPE"
5455 size="%MAX_HELP_WINDOW" />
5456 <variable entry="UI:glob_var:help:$i:PREREQUISIT_VALID"
5459 size="%MAX_HELP_WINDOW" />
5460 <!-- Variables for Sheet Help Bricks Widget -->
5461 <template name="help_def_bricks"
5463 <variable entry="UI:glob_var:help:$i:BRICKS:#index:SHEET"
5466 size="%MAX_HELP_WINDOW" />
5468 <vector template="help_def_bricks"
5471 <!-- Same for requirement Bricks -->
5472 <template name="help_def_req_bricks"
5474 <variable entry="UI:glob_var:help:$i:REQ_BRICKS:#index:SHEET"
5477 size="%MAX_HELP_WINDOW" />
5478 <variable entry="UI:glob_var:help:$i:REQ_BRICKS:#index:LOCKED"
5481 size="%MAX_HELP_WINDOW" />
5483 <vector template="help_def_req_bricks"
5486 <!-- Same for item list -->
5487 <template name="help_def_items"
5489 <variable entry="UI:glob_var:help:$i:BUILD_ITEMS:#index:SHEET"
5492 size="%MAX_HELP_WINDOW" />
5493 <variable entry="UI:glob_var:help:$i:BUILD_ITEMS:#index:QUALITY"
5496 size="%MAX_HELP_WINDOW" />
5497 <variable entry="UI:glob_var:help:$i:BUILD_ITEMS:#index:QUANTITY"
5500 size="%MAX_HELP_WINDOW" />
5501 <variable entry="UI:glob_var:help:$i:BUILD_ITEMS:#index:SLOT_TYPE"
5504 size="%MAX_HELP_WINDOW" />
5505 <variable entry="UI:glob_var:help:$i:BUILD_ITEMS:#index:USER_COLOR"
5508 size="%MAX_HELP_WINDOW" />
5509 <variable entry="UI:glob_var:help:$i:BUILD_ITEMS:#index:NAMEID"
5512 size="%MAX_HELP_WINDOW" />
5513 <variable entry="UI:glob_var:help:$i:BUILD_ITEMS:#index:INFO_VERSION"
5516 size="%MAX_HELP_WINDOW" />
5517 <variable entry="UI:glob_var:help:$i:BUILD_ITEMS:#index:ENCHANT"
5520 size="%MAX_HELP_WINDOW" />
5521 <variable entry="UI:glob_var:help:$i:BUILD_ITEMS:#index:RM_CLASS_TYPE"
5524 size="%MAX_HELP_WINDOW" />
5525 <variable entry="UI:glob_var:help:$i:BUILD_ITEMS:#index:RM_FABER_STAT_TYPE"
5528 size="%MAX_HELP_WINDOW" />
5529 <variable entry="UI:glob_var:help:$i:BUILD_ITEMS:#index:PREREQUISIT_VALID"
5532 size="%MAX_HELP_WINDOW" />
5534 <vector template="help_def_items"
5537 <!-- Variables for Sheet Help: Mps -->
5538 <variable entry="UI:glob_var:help:$i:MP_ITEM_PART_CHOICE"
5541 size="%MAX_HELP_WINDOW" />
5542 <!-- Stat Craft Mp template -->
5543 <define id="MAX_STAT_MP_CRAFT"
5545 <template name="template_mp_stat"
5552 posparent="#posparent"
5563 over_extend_view_text="true" />
5572 <!-- Template for MP statistics (used in info and in botchat validation) -->
5573 <template name="template_info_mp_stats"
5579 <group id="mp_stats"
5583 child_resize_h="true"
5584 child_resize_hmargin="8"
5585 posparent="#posparent"
5589 <!-- main combo to select the item part to watch -->
5590 <group type="combo_box"
5591 id="item_part_choice"
5598 <instance template="combo_box_def1" />
5600 <link expr="@#dbcombo"
5601 action="#cb_handler"
5602 params="#cb_params" />
5603 <!-- The item part info Icon -->
5606 posparent="item_part_choice"
5613 global_color="false" />
5614 <!-- header text for this item part -->
5618 multi_line_space="0"
5623 <vector template="template_mp_stat"
5625 _size="%MAX_STAT_MP_CRAFT"
5632 <!-- There can be 2 list of bricks in the Action Help: phrase descritopn, and Brick requirements. (Used in info and botchat validation) -->
5633 <template name="template_info_list_brick"
5641 child_resize_w="false"
5642 child_resize_wmargin="0"
5644 multi_line_maxw_only="false"
5647 global_color="true">
5653 child_resize_w="#child_resize_w"
5654 child_resize_wmargin="#child_resize_wmargin"
5655 child_resize_h="true"
5656 child_resize_hmargin="8"
5657 posparent="#posparent"
5667 param_deltax="#param_deltax"
5672 auto_grayed="#auto_grayed"
5673 gray_text_with_ctrl="#auto_grayed"
5677 onclick_r="open_sbrick_help"
5678 params_r="force_keep=#force_keep"
5679 over_color="%bot_chat_sheet_selection_normal"
5680 over_col_pushed="%bot_chat_sheet_selection_pushed"
5681 over_col_over="%bot_chat_sheet_selection_over"
5682 color="255 255 255 255"
5683 global_color="#global_color"
5687 multi_line_maxw_only="#multi_line_maxw_only"
5688 multi_line_space="0"
5689 line_maxw="#line_maxw">
5691 <ctrl style="skin_scroll"
5695 <!-- the group to scroll NO SCROLL (caller scroll) -->
5698 child_resize_w="#child_resize_w"
5705 global_color="#global_color" />
5708 <!-- There can be 1 list of items: items built by a buuilding -->
5709 <template name="template_info_list_item"
5715 auto_grayed="false">
5721 child_resize_h="true"
5722 child_resize_hmargin="8"
5723 posparent="#posparent"
5735 auto_grayed="#auto_grayed"
5736 gray_text_with_ctrl="#auto_grayed"
5737 use_quantity="false"
5740 onclick_r="open_item_help"
5741 params_r="force_keep=#force_keep"
5742 over_color="%bot_chat_sheet_selection_normal"
5743 over_col_pushed="%bot_chat_sheet_selection_pushed"
5744 over_col_over="%bot_chat_sheet_selection_over"
5745 color="255 255 255 255"
5749 multi_line_space="0"
5752 <ctrl style="skin_scroll"
5756 <!-- the group to scroll NO SCROLL (caller scroll) -->
5767 <!-- template for mission requesite -->
5768 <template name="template_mission_prereq"
5778 posparent="#posparent"
5780 <view type="text_id"
5782 posparent="#posparent"
5784 multi_line_space="0"
5787 <proc id="active_sheet_help">
5788 <action handler="set"
5789 params="target_property=ui:interface:@0:content:scroll_text:text_list:char3d:scene:char:anim|value=0" />
5790 <action handler="set"
5791 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'))" />
5792 <action handler="set"
5793 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'))" />
5795 <!-- The Sheet (item/brick) Help Widget -->
5796 <!-- if you change w="296", change also the line_maxw of id="text" below -->
5797 <template name="sheet_help"
5800 <group type="container"
5803 title_delta_max_w="-80"
5806 global_color="false"
5807 options="layer0_info"
5812 win_priority="%win_priority_high"
5816 header_color="UI:SAVE:WIN:COLORS:INFOS"
5818 on_active_params="active_sheet_help|#id"
5819 on_deactive="on_close_help"
5820 on_deactive_params="#index"
5822 <group id="header_closed"
5827 posref="TL TL"></group>
5828 <group id="header_opened"
5835 <view type="bitmap" id="ico" texture="W_user_info.tga" posref="ML ML" x="0" y="0" global_color="false" />
5837 <!-- The "PUNAISE" button -->
5839 button_type="toggle_button"
5844 tx_normal="pin_off.tga"
5845 tx_pushed="pin_on.tga"
5846 tx_over="W_button_16_over.tga"
5847 global_color_normal="false"
5848 global_color_pushed="false"
5849 global_color_over="false"
5850 tooltip="uittKeepInfo"
5851 onclick_l="help_keep"
5852 params_l="#index" />
5854 <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" />
5861 child_resize_h="true"
5862 child_resize_hmargin="6"
5864 <!-- Item is in auto mode -->
5867 use_slot_type_db_entry="true"
5869 value="UI:glob_var:help:#index"
5873 use_quantity="true" />
5874 <view type="text_id"
5876 posparent="ctrl_slot"
5879 dynamic_string="false"
5886 hardtext="uiCreatorHeader"
5888 <!-- the scroll text (with only one text) -->
5889 <group id="scroll_text"
5894 child_resize_h="true"
5895 child_resize_hmargin="8">
5896 <instance template="inner_thin_border_group" />
5903 <group id="text_list"
5909 child_resize_h="true"
5911 <!-- the line_maxw is set up so the text does not override the Ctrl Sheet on the right (or not so much...) -->
5916 multi_line_space="0"
5918 <!-- for item, pacts, .. -->
5919 <!-- For Phrases and title requirement only. 2 lists and a header for the second list -->
5920 <instance template="template_info_list_brick"
5921 type="list_sheet_text"
5922 id="list_brick_requirement"
5924 brickdb="UI:glob_var:help:#index:REQ_BRICKS"
5927 auto_grayed="true" />
5929 id="list_brick_header"
5931 multi_line_space="0"
5932 posparent="list_brick_requirement"
5935 <instance template="template_info_list_brick"
5936 type="list_sheet_compo_brick"
5939 brickdb="UI:glob_var:help:#index:BRICKS"
5940 posparent="list_brick_header"
5942 auto_grayed="false" />
5943 <!-- For raw materials only. group to display stats -->
5944 <instance template="template_info_mp_stats"
5945 cb_handler="item_help_mp_change_item_part"
5948 dbcombo="UI:glob_var:help:#index:MP_ITEM_PART_CHOICE" />
5949 <!-- For outpost building, list of items this building build -->
5950 <instance template="template_info_list_item"
5951 type="list_sheet_text"
5954 itemdb="UI:glob_var:help:#index:BUILD_ITEMS"
5956 <!-- For Cosmetic only 3D preview -->
5964 <instance template="box_widget"
5972 inherit_gc_alpha="true" />
5980 inherit_gc_alpha="true"
5995 user_interaction="true"
5998 roty_limit_min="-20"
6001 dist_limit_min="4.0"
6002 dist_limit_max="6.0"
6005 sun_diffuse="255 255 196"
6006 sun_specular="0 0 0"
6007 sun_direction="-1.0 1.0 -1.0">
6008 <character3d id="char"
6009 dblink="UI:TEMP:CHAR3D"
6011 rot="0.0 0.0 0.0" />
6012 <camera id="camface"
6030 <!-- Item preview 3D window -->
6032 <group id="item_preview"
6040 <scene3d id="scene_item_preview"
6046 curcam="cam_item_preview"
6047 user_interaction="true"
6049 sun_ambient="70 70 70"
6050 sun_diffuse="255 255 196"
6051 sun_specular="0 0 0"
6052 sun_direction="-1.0 1.0 -1.0"
6057 dist_limit_min="20.0"
6058 dist_limit_max="80.0" >
6060 <character3d id="char"
6061 dblink="UI:TEMP:CHAR3D"
6065 <camera id="cam_item_preview"
6068 target="0.0 0.0 -0.85"
6071 <light id="back" pos="0.0 28.2 1.6" color="96 64 32" near="1.0" far="4.0" />
6072 <light id="lgt" pos="0.0 25.3 2.48" color="255 255 255" near="1.0" far="4.0" />
6079 <ctrl style="skin_scroll"
6085 target="text_list" />
6087 <!-- the scroll text id (use for missions) -->
6088 <group id="scroll_text_id"
6093 child_resize_h="true"
6094 child_resize_hmargin="8">
6095 <instance template="inner_thin_border_group" />
6102 <group id="text_list"
6108 child_resize_h="true"
6112 hardtext="uiMissionTitle"
6115 <view type="text_id"
6117 posparent="text_title"
6119 multi_line_space="0"
6123 id="text_mission_description"
6124 posparent="text_title_id"
6126 hardtext="uiMissionDesc"
6129 <view type="text_id_formated"
6131 posparent="text_mission_description"
6133 multi_line_space="0"
6136 <!-- for item, pacts, .. -->
6138 id="text_mission_prereq"
6139 hardtext="uiMissionPrereq"
6144 <!-- must do the first in special way -->
6148 posparent="text_mission_prereq"
6151 <view type="text_id"
6152 id="text_id_prereq_1"
6155 multi_line_space="0"
6157 <!-- next are relative each others -->
6158 <vector template="template_mission_prereq"
6161 id="text_id_prereq_$i"
6163 posparent="text_id_prereq_1"
6167 <ctrl style="skin_scroll"
6172 target="text_list" />
6179 <vector template="sheet_help"
6180 _size="%MAX_HELP_WINDOW"
6184 id="sheet_help$i" />
6185 <!-- ***************** -->
6186 <!-- * COMMON RULES * -->
6187 <!-- ***************** -->
6188 <define id="is_team_present"
6189 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))" />
6190 <define id="is_guild_present"
6191 value="ne(@SERVER:GUILD:NAME,0)" />
6192 <!-- ****************************** -->
6193 <!-- * INVENTORIES COMMON STUFF * -->
6194 <!-- ****************************** -->
6195 <!-- style of all free containers -->
6196 <style style="inv_container"
6209 global_color="false"
6210 global_color_over="true" />
6211 <style style="inv_container_guild"
6224 global_color="false"
6225 global_color_over="true" />
6226 <!-- template for the bulk and the weight -->
6227 <template name="tinv_nbslots_bulk_weight"
6240 <group id="bulk_weight"
6244 posparent="#posparent">
6249 texture="W_weight.tga"
6250 global_color="false" />
6257 color="255 255 255 255"
6258 global_color="false"
6261 <instance template="text_tt"
6262 tooltip="uittInventoryWeight"
6263 posparent="weight_txt" />
6264 <link expr="identity(getItemsWeight('#inv_branch',0,#inv_branch_nb),@#inv_branch)"
6265 target="weight_txt:hardtext" />
6271 range="#inv_bulk_max"
6272 color="%bulk_color" />
6273 <ctrl type="tooltip"
6274 id="encombrement_tt"
6275 posparent="encombrement"
6279 on_tooltip="get_tt_bulk"
6280 on_tooltip_params="dbbranch=#inv_branch|dbmax=#inv_bulk_max" />
6281 <link expr="identity(getItemsBulk('#inv_branch',0,#inv_branch_nb),@#inv_branch)"
6282 target="encombrement:value" />
6286 posparent="bulk_weight"
6288 color="255 255 255 255"
6289 global_color="false"
6292 <ctrl type="tooltip"
6294 posparent="slots_nb"
6296 tooltip="uittInvSlots" />
6297 <link expr="identity(getInvSlotCounts('#inv_branch'),@#inv_branch)"
6298 target="slots_nb:hardtext" />
6299 <!-- uses identity(x,@branch) to add an observer on branch -->
6302 <!-- onClickR on a filter -->
6303 <proc id="pinv_item_filter">
6304 <!-- Reset all filter first -->
6305 <action handler="set"
6306 params="dblink=UI:SAVE:@0:FILTER_TP|value=0" />
6307 <action handler="set"
6308 params="dblink=UI:SAVE:@0:FILTER_MISSMP|value=0" />
6309 <action handler="set"
6310 params="dblink=UI:SAVE:@0:FILTER_MP|value=0" />
6311 <action handler="set"
6312 params="dblink=UI:SAVE:@0:FILTER_TOOL|value=0" />
6313 <action handler="set"
6314 params="dblink=UI:SAVE:@0:FILTER_WEAPON|value=0" />
6315 <action handler="set"
6316 params="dblink=UI:SAVE:@0:FILTER_ARMOR|value=0" />
6317 <!-- Set the one selected -->
6318 <action handler="set"
6319 params="dblink=@1|value=1" />
6321 <!-- template for the list of items FILTERS -->
6322 <template name="tinv_item_list_filter"
6333 button_type="toggle_button"
6337 tx_normal="w_button_filter_off.tga"
6338 tx_pushed="w_button_filter_on.tga"
6341 params_l="dblink=#dblink|value=not(@#dblink)"
6343 params_r="pinv_item_filter|#inv_type|#dblink"
6344 global_color_pushed="true"
6345 tooltip="#tooltip" />
6351 global_color="false" />
6352 <link expr="@#dblink"
6353 target="but_#id:pushed" />
6355 <!-- template for the mode 'icon' or 'text' (no right click) -->
6356 <template name="tinv_item_list_icon_swap"
6367 button_type="toggle_button"
6371 tx_normal="w_button_filter_off.tga"
6372 tx_pushed="w_button_filter_on.tga"
6375 params_l="dblink=#dblink|value=not(@#dblink)"
6376 global_color_pushed="true"
6377 tooltip="#tooltip" />
6383 global_color="false" />
6384 <link expr="@#dblink"
6385 target="but_#id:pushed" />
6387 <!-- template for the list of items -->
6388 <template name="tinv_item_list"
6403 posparent="#posparent"
6407 sizeparent="#sizeparent"
6412 <!-- Bags : icon list -->
6413 <group type="list_icon_bag"
6422 child_resize_h="false"
6424 maxitem="#inv_branch_nb"
6425 inv_type="#inv_type"
6426 sort_type="UI:SAVE:#inv_type:SORT_TYPE"
6427 filter_armor="UI:SAVE:#inv_type:FILTER_ARMOR"
6428 filter_weapon="UI:SAVE:#inv_type:FILTER_WEAPON"
6429 filter_tool="UI:SAVE:#inv_type:FILTER_TOOL"
6430 filter_mp="UI:SAVE:#inv_type:FILTER_MP"
6431 filter_missmp="UI:SAVE:#inv_type:FILTER_MISSMP"
6432 filter_tp="UI:SAVE:#inv_type:FILTER_TP"
6436 selection_group="inventory_selection"
6439 oncandrag="inv_can_drag"
6441 params_drag="from_icon_list"
6442 oncandrop="inv_can_drop"
6444 menu_r="ui:interface:item_menu_in_bag"
6445 instant_help="false"
6450 column_center="false"
6451 db_animal_status="#animal_status">
6452 <ctrl style="skin_scroll"
6455 target_stepy="44" />
6461 posparent="bag_icons"
6466 texture="W_line_hor.tga" />
6467 <link expr="eq(@UI:SAVE:#inv_type:ICON_LIST, 1)"
6468 target="bag_icons:active,sep1:active" />
6469 <!-- Bags : detailed list -->
6470 <group type="list_sheet_bag"
6479 child_resize_h="false"
6481 maxitem="#inv_branch_nb"
6482 inv_type="#inv_type"
6483 sort_type="UI:SAVE:#inv_type:SORT_TYPE"
6484 filter_armor="UI:SAVE:#inv_type:FILTER_ARMOR"
6485 filter_weapon="UI:SAVE:#inv_type:FILTER_WEAPON"
6486 filter_tool="UI:SAVE:#inv_type:FILTER_TOOL"
6487 filter_mp="UI:SAVE:#inv_type:FILTER_MP"
6488 filter_missmp="UI:SAVE:#inv_type:FILTER_MISSMP"
6489 filter_tp="UI:SAVE:#inv_type:FILTER_TP"
6495 selection_group="inventory_selection"
6499 oncandrag="inv_can_drag"
6501 params_drag="from_text_list"
6502 oncandrop="inv_can_drop"
6504 menu_r="ui:interface:item_menu_in_bag"
6505 instant_help="false"
6506 over_color="%bot_chat_sheet_selection_normal"
6507 over_col_pushed="%bot_chat_sheet_selection_pushed"
6508 over_col_over="%bot_chat_sheet_selection_over"
6509 color="255 255 255 255"
6513 multi_line_space="0"
6514 db_animal_status="#animal_status">
6516 <ctrl style="skin_scroll"
6519 target_stepy="44" />
6520 <!-- the group to scroll -->
6523 max_sizeparent="parent"
6535 posparent="bag_list"
6540 texture="W_line_hor.tga" />
6541 <link expr="eq(@UI:SAVE:#inv_type:ICON_LIST, 0)"
6542 target="bag_list:active,sep2:active" />
6543 <instance template="tinv_item_list_filter"
6548 inv_type="#inv_type"
6549 dblink="UI:SAVE:#inv_type:FILTER_TP"
6550 texture="filter_tp.tga"
6551 tooltip="uittFilterTP" />
6552 <instance template="tinv_item_list_filter"
6557 inv_type="#inv_type"
6558 dblink="UI:SAVE:#inv_type:FILTER_MISSMP"
6559 texture="filter_mission.tga"
6560 tooltip="uittFilterMissMP" />
6561 <instance template="tinv_item_list_filter"
6566 inv_type="#inv_type"
6567 dblink="UI:SAVE:#inv_type:FILTER_MP"
6568 texture="filter_mps.tga"
6569 tooltip="uittFilterMP" />
6570 <instance template="tinv_item_list_filter"
6575 inv_type="#inv_type"
6576 dblink="UI:SAVE:#inv_type:FILTER_TOOL"
6577 texture="filter_tools.tga"
6578 tooltip="uittFilterTool" />
6579 <instance template="tinv_item_list_filter"
6584 inv_type="#inv_type"
6585 dblink="UI:SAVE:#inv_type:FILTER_WEAPON"
6586 texture="filter_weapon.tga"
6587 tooltip="uittFilterWeapon" />
6588 <instance template="tinv_item_list_filter"
6593 inv_type="#inv_type"
6594 dblink="UI:SAVE:#inv_type:FILTER_ARMOR"
6595 texture="filter_armor.tga"
6596 tooltip="uittFilterArmor" />
6598 <instance template="tinv_item_list_icon_swap"
6603 dblink="UI:SAVE:#inv_type:ICON_LIST"
6604 texture="details_on.tga"
6605 tooltip="uittDetail" />
6606 <link expr="ifthenelse(@UI:SAVE:#inv_type:ICON_LIST, 'details_off.tga', 'details_on.tga')"
6607 target="bit_detail:texture" />
6610 <!-- Link to trig brick action message. don't play when 0 (avoid flying text at startup) -->
6611 <link expr="@SERVER:FLAGS:CRITICAL"
6612 cond="not(eq(@SERVER:FLAGS:CRITICAL,0))"
6613 action="entity_flying_text"
6614 params="text=uiCriticalHit|entity=0|color=255 255 0 255" />
6615 <link expr="@SERVER:FLAGS:PARRY"
6616 cond="not(eq(@SERVER:FLAGS:PARRY,0))"
6617 action="entity_flying_text"
6618 params="text=uiParry|entity=0|color=255 255 0 255" />
6619 <link expr="@SERVER:FLAGS:DODGE"
6620 cond="not(eq(@SERVER:FLAGS:DODGE,0))"
6621 action="entity_flying_text"
6622 params="text=uiDodge|entity=0|color=255 255 0 255" />
6623 <!-- ****************************** -->
6624 <!-- * CHECK BOX * -->
6625 <!-- ****************************** -->
6626 <!-- A checkbox: toggle button with a text, linked to a database -->
6627 <template name="check_box"
6639 global_color="true">
6641 posparent="#posparent"
6647 child_resize_w="true">
6650 button_type="toggle_button"
6655 tx_normal="w_slot_on.tga"
6656 tx_pushed="w_opacity_on.tga"
6657 tx_over="w_slot_on.tga"
6658 color="255 255 255 255"
6659 col_pushed="255 255 255 255"
6660 col_over="255 255 255 0"
6662 params_l="dblink=#dblink|value=not(@#dblink)" />
6663 <link expr="@#dblink"
6664 target="button:pushed" />
6671 color="255 255 255 255"
6672 fontsize="#fontsize"
6674 hardtext="#hardtext"
6675 global_color="#global_color" />
6676 <ctrl type="tooltip"
6680 tooltip="#tooltip" />
6683 <!-- ***************************** -->
6684 <!-- * HTML FORM SELECT WIDGET * -->
6685 <!-- ***************************** -->
6686 <template name="html_form_select_widget"
6689 <group type="combo_box"
6694 child_resize_h="true"
6695 child_resize_hmargin="6"
6696 linked_to_db="false"
6699 on_change_params="">
6700 <instance template="combo_box_def1" />
6703 <!-- ***************************** -->
6704 <!-- * HTML TEXT BUTTON WIDGET * -->
6705 <!-- ***************************** -->
6706 <template name="html_text_button"
6718 posparent="#posparent"
6720 child_resize_w="true"
6721 child_resize_h="true"
6724 <ctrl style="text_button_16"
6726 onclick_l="#onclick"
6727 params_l="#onclick_param"
6732 <template name="frozen_html_text_button"
6743 posparent="#posparent"
6745 child_resize_w="true"
6746 child_resize_h="true"
6749 <ctrl style="text_button_16"
6751 onclick_l="#onclick"
6752 params_l="#onclick_param"
6757 <!-- horizontal label/edit box template -->
6758 <template name="h_label_edit_box"
6780 on_focus_lost_params="">
6787 posparent="#posparent"
6802 color="255 255 255 255"
6804 fontsize="#fontsize"
6806 hardtext="#hardtext" />
6809 <group type="edit_box"
6819 onchange="#onchange"
6820 onchange_params="#onchange_params"
6821 on_focus_lost="#on_focus_lost"
6822 on_focus_lost_params="#on_focus_lost_params"
6823 max_num_chars="#max_num_chars"
6825 enter_loose_focus="true"
6826 entry_type="#entry_type"
6827 reset_focus_on_hide="true"
6829 <instance template="box_widget"
6839 multi_line="#multi_line"
6843 global_color="false" />
6847 <!-- the common children definitions of a combo box -->
6848 <!-- keep is true because this template is used in the teditcmd template -->
6849 <template name="r2ed_combo_box"
6852 <instance template="box_widget"
6861 texture="W_arrow_down_2.tga" />
6863 <view type="text" id="text" posref="ML ML" x="2" />-->
6864 <group id="text_group"
6877 over_extend_view_text="true"
6878 over_extend_parent_rect="true" />
6881 button_type="push_button"
6886 col_over="255 255 255 90"
6890 <!-- horizontal label/combo box template -->
6891 <template name="h_label_combo_box"
6903 on_change_params="">
6910 posparent="#posparent"
6925 color="255 255 255 255"
6929 hardtext="#hardtext" />
6932 <group type="combo_box"
6940 linked_to_db="false"
6942 on_change_params="#on_change_params">
6943 <instance template="r2ed_combo_box" />
6948 <!-- html browsing context -->
6949 <template name="webig_html"
6965 background_color="0 0 0 255"
6966 error_color="255 240 48 255"
6967 link_color="240 155 100 255"
6968 text_color="210 210 210 255"
6969 h1_color="255 255 255 255"
6970 h2_color="255 255 255 255"
6971 h3_color="255 255 255 255"
6972 h4_color="255 255 255 255"
6973 h5_color="255 255 255 255"
6974 h6_color="255 255 255 255"
6982 paragraph_begin_space="12"
6983 multi_line_space_factor="0.25"
6989 checkbox_bitmap_normal="w_slot_on.tga"
6990 checkbox_bitmap_pushed="w_opacity_on.tga"
6991 checkbox_bitmap_over=""
6992 background_bitmap_view="background_bitmap"
6993 browse_next_time="false"
6994 form_text_area_group="edit_box_widget_multiline"
6995 browse_refresh="#browse_refresh"
6996 browse_undo="#browse_undo"
6997 browse_redo="#browse_redo">
7003 inherit_gc_alpha="true" />
7004 <instance template="inner_thin_border"
7006 inherit_gc_alpha="true " />
7007 <view id="background_bitmap"
7014 inherit_gc_alpha="true"
7017 global_color="false" />
7018 <group id="text_list"
7029 maxelements="2000" />
7030 <ctrl id="scroll_bar"
7031 style="skin_scroll" />
7035 <!-- html browser window -->
7036 <template name="webig_browser"
7054 header_color="UI:SAVE:WIN:COLORS:COM"
7058 global_color_over="true"
7067 on_active_params="WebBrowser:onActive()">
7068 <group id="header_closed"
7073 on_active_params="WebBrowser:onClickHeaderClose()" />
7074 <group id="header_opened"
7079 on_active_params="WebBrowser:onClickHeaderOpen()">
7080 <ctrl style="text_button_header"
7082 button_type="push_button"
7086 hardtext="uiBrowseRedoButton"
7087 tooltip="uittBrowseRedo"
7089 params_l="WebBrowser:onClickRedo()"
7091 <ctrl style="text_button_header"
7093 button_type="push_button"
7094 posparent="browse_redo"
7098 hardtext="uiBrowseUndoButton"
7099 tooltip="uittBrowseUndo"
7101 params_l="WebBrowser:onClickUndo()"
7103 <ctrl style="text_button_header"
7105 button_type="push_button"
7106 posparent="browse_undo"
7110 hardtext="uiBrowseRefresh"
7111 tooltip="uittBrowseRefresh"
7113 params_l="WebBrowser:onClickRefresh()"
7115 <ctrl style="text_button_header"
7117 button_type="push_button"
7118 posparent="browse_refresh"
7122 hardtext="uiBrowseHome"
7123 tooltip="uittBrowseHome"
7125 params_l="WebBrowser:onClickHome()" />
7134 <instance template="webig_html"
7136 browse_redo="#browse_redo"
7137 browse_undo="#browse_undo"
7138 browse_refresh="#browse_refresh" />
7143 <!-- html <hr> element -->
7144 <template name="html_hr"
7151 child_resize_h="true"
7152 child_resize_hmargin="12">
7159 inherit_gc_alpha="true"
7162 global_color="false" />
7166 <template name="html_form_select_box_menu_widget"
7177 color="255 255 255 128"
7178 color_over="255 255 255 255"
7179 color_grayed="0 0 0 255"
7181 highlight_over="255 255 255 128"
7182 force_inside_screen="false"></group>