Restore some more ui xml formatting

ryzomclassic-develop
kaetemi 4 years ago
parent 43af8e6695
commit 59c1c340b8
No known key found for this signature in database
GPG Key ID: 9873C4D40BB479BC

@ -204,7 +204,7 @@
params="target_property=ui:interface:compass:visuel:radar:world_size|value=switch(@0, 50.0, 100.0, 250.0, 500.0)" />
</proc>
<group id="compass_menu" type="menu_compas" extends="base_menu_with_color" posref="TL TL" x="0" y="0
<group id="compass_menu" type="menu_compas" extends="base_menu_with_color" posref="TL TL" x="0" y="0"
mouse_pos="true" exit_click_b="true" force_inside_screen="true" compass="ui:interface:compass">

@ -1,70 +1,114 @@
<interface_config>
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<lua file="game_config.lua" />
<!-- ******************** -->
<!-- * UI COLOR & ALPHA * -->
<!-- ******************** -->
<!-- ********* -->
<!-- Templates -->
<!-- ********* -->
<!-- all container must be initialized with those templates to use data exchange -->
<style style="sgc_title" type="text" color="255 255 255 255" fontsize="14" shadow="true" case_mode="%case_normal" />
<style style="sgc_title2" type="text" color="255 255 255 192" fontsize="12" shadow="true" />
<!-- WIDGET TO CHOOSE A COLOR -->
<!-- the modal window (with the color picker) -->
<group type="modal" id="define_mcw_color" exit_click_out="true" posref="TR TR" w="276" h="110" global_color="false" options="skin_modal" on_enter="lua" on_enter_params="game:mcwValidateColor()">
<group type="modal" id="define_mcw_color" exit_click_out="true" posref="TR TR" w="276" h="110" global_color="false"
options="skin_modal" on_enter="lua" on_enter_params="game:mcwValidateColor()">
<view type="text" id="text" posref="TL TL" x="4" y="-4" color="255 255 255 255" fontsize="12" shadow="true" global_color="false" hardtext="uiDefmcwCol" />
<view type="bitmap" id="pick_back" posref="MM MM" x="0" y="0" scale="true" color="0 0 0 255" w="260" h="68" texture="blank.tga" />
<ctrl type="colpick" id="pick" posref="MM MM" x="0" y="0" texture="color_palette.tga" onchange="lua" onchange_params="game:mcwOnColorChanged()" />
<ctrl type="colpick" id="pick2" posref="MM MM" x="0" y="0" texture="color_palette2.tga" onchange="lua" onchange_params="game:mcwOnColorChanged()" />
<instance template="button_ok_cancel" posref="BR BR" x="-4" y="4" ok_text="uittGCValid" cancel_text="uittGCCancel" onclick_ok="lua" onclick_ok_param="game:mcwValidateColor()" onclick_cancel="leave_modal" onclick_cancel_param="" />
<ctrl type="colpick" id="pick" posref="MM MM" x="0" y="0" texture="color_palette.tga"
onchange="lua" onchange_params="game:mcwOnColorChanged()" />
<ctrl type="colpick" id="pick2" posref="MM MM" x="0" y="0" texture="color_palette2.tga"
onchange="lua" onchange_params="game:mcwOnColorChanged()" />
<instance template="button_ok_cancel" posref="BR BR" x="-4" y="4"
ok_text="uittGCValid"
cancel_text="uittGCCancel"
onclick_ok="lua"
onclick_ok_param="game:mcwValidateColor()"
onclick_cancel="leave_modal"
onclick_cancel_param="" />
</group>
<!-- the 2 templates (one for each palette type) -->
<template name="tgcw_color" id="color_chooser" posref="TL TL" x="0" y="0" posparent="parent">
<group id="#id" posref="#posref" x="#x" y="#y" posparent="#posparent" child_resize_w="true" h="14">
<ctrl type="button" id="c" button_type="push_button" posref="TL TL" x="0" y="0" global_color_normal="false" tx_normal="W_affected.tga" tx_pushed="W_affected.tga" tx_over="W_button_14_over.tga" global_color_over="false" onclick_l="lua" params_l="game:mcwChooseColor('#title',0)" tooltip="#tooltip" global_color_pushed="false" />
<ctrl type="button" id="c" button_type="push_button" posref="TL TL" x="0" y="0" global_color_normal="false"
tx_normal="W_affected.tga" tx_pushed="W_affected.tga" tx_over="W_button_14_over.tga" global_color_over="false"
onclick_l="lua" params_l="game:mcwChooseColor('#title',0)" tooltip="#tooltip" global_color_pushed="false" />
<view type="text" id="text" posparent="c" posref="MR ML" x="4" y="-1" color="255 255 255 192" fontsize="10" shadow="true" hardtext="#text" />
</group>
</template>
<template name="tgcw_color2" id="color_chooser" posref="TL TL" x="0" y="0" posparent="parent">
<group id="#id" posref="#posref" x="#x" y="#y" posparent="#posparent" child_resize_w="true" h="14">
<ctrl type="button" id="c" button_type="push_button" posref="TL TL" x="0" y="0" global_color_normal="false" tx_normal="W_affected.tga" tx_pushed="W_affected.tga" tx_over="W_button_14_over.tga" global_color_over="false" onclick_l="lua" params_l="game:mcwChooseColor('#title',1)" tooltip="#tooltip" global_color_pushed="false" />
<ctrl type="button" id="c" button_type="push_button" posref="TL TL" x="0" y="0" global_color_normal="false"
tx_normal="W_affected.tga" tx_pushed="W_affected.tga" tx_over="W_button_14_over.tga" global_color_over="false"
onclick_l="lua" params_l="game:mcwChooseColor('#title',1)" tooltip="#tooltip" global_color_pushed="false" />
<view type="text" id="text" posparent="c" posref="MR ML" x="4" y="-1" color="255 255 255 192" fontsize="10" shadow="true" hardtext="#text" />
</group>
</template>
<!-- WIDGET TO CHOOSE AN INTEGER FROM A SCROLL BAR -->
<template name="tgcw_scrollbarint" id="color_chooser" posref="TL TL" x="0" y="0" posparent="parent">
<group id="#id" posref="#posref" x="#x" y="#y" posparent="#posparent" child_resize_w="true" h="20">
<view type="bitmap" id="bk" posref="BL BL" scale="true" y="4" w="130" h="2" texture="W_line_hor2.tga" />
<view type="text" id="text" posparent="bk" posref="TL BL" x="0" y="1" color="255 255 255 192" fontsize="10" shadow="true" hardtext="#text" />
<ctrl type="scroll" id="c" posparent="bk" posref="MM MM" x="0" y="-1" w="130" h="8" vertical="false" align="L" min="0" max="255" tracksize="8" tx_topright="w_scroll_R.tga" tx_middle="w_scroll_l123_m.tga" tx_bottomleft="w_scroll_L.tga" onscroll="ddx_scroll" onscrollend="ddx_scroll_end" params="ui:interface:game_config:content:all" />
<ctrl type="scroll" id="c" posparent="bk" posref="MM MM" x="0" y="-1" w="130" h="8"
vertical="false" align="L" min="0" max="255" tracksize="8"
tx_topright="w_scroll_R.tga" tx_middle="w_scroll_l123_m.tga" tx_bottomleft="w_scroll_L.tga"
onscroll="ddx_scroll" onscrollend="ddx_scroll_end" params="ui:interface:game_config:content:all" />
<!-- The Scroll Result view-->
<view type="text" id="c_res" posparent="bk" posref="MR ML" x="8" y="1" color="255 255 255 192" fontsize="10" shadow="true" />
</group>
</template>
<!-- WIDGET TO CHOOSE A FLOAT FROM A SCROLL BAR -->
<template name="tgcw_scrollbarfloat" id="color_chooser" posref="TL TL" x="0" y="0" posparent="parent">
<group id="#id" posref="#posref" x="#x" y="#y" posparent="#posparent" child_resize_w="true" h="20">
<view type="bitmap" id="bk" posref="BL BL" scale="true" y="4" w="130" h="2" texture="W_line_hor2.tga" />
<view type="text" id="text" posparent="bk" posref="TL BL" x="0" y="1" color="255 255 255 192" fontsize="10" shadow="true" hardtext="#text" />
<ctrl type="scroll" id="c" posparent="bk" posref="MM MM" x="0" y="-1" w="130" h="8" vertical="false" align="L" min="0" max="255" tracksize="8" tx_topright="w_scroll_R.tga" tx_middle="w_scroll_l123_m.tga" tx_bottomleft="w_scroll_L.tga" onscroll="ddx_scroll" onscrollend="ddx_scroll_end" params="ui:interface:game_config:content:all" />
<ctrl type="scroll" id="c" posparent="bk" posref="MM MM" x="0" y="-1" w="130" h="8"
vertical="false" align="L" min="0" max="255" tracksize="8"
tx_topright="w_scroll_R.tga" tx_middle="w_scroll_l123_m.tga" tx_bottomleft="w_scroll_L.tga"
onscroll="ddx_scroll" onscrollend="ddx_scroll_end" params="ui:interface:game_config:content:all" />
<!-- The Scroll Result view-->
<view type="text" id="c_res" posparent="bk" posref="MR ML" x="8" y="1" color="255 255 255 192" fontsize="10" shadow="true" />
</group>
</template>
<!-- WIDGET TO CHOOSE A BOOLEAN FROM A CHECK BOX -->
<template name="tgcw_checkbox" id="color_chooser" posref="TL TL" x="0" y="0" posparent="parent" tooltip="">
<group id="#id" posref="#posref" x="#x" y="#y" posparent="#posparent" child_resize_w="true" h="14">
<ctrl type="button" id="c" button_type="toggle_button" posref="TL TL" x="0" y="0" tx_normal="w_slot_on.tga" tx_pushed="w_opacity_on.tga" tx_over="w_slot_on.tga" color="255 255 255 255" col_pushed="255 255 255 255" col_over="255 255 255 0" onclick_l="ddx_bool_button" tooltip="#tooltip" />
<ctrl type="button" id="c" button_type="toggle_button" posref="TL TL" x="0" y="0"
tx_normal="w_slot_on.tga" tx_pushed="w_opacity_on.tga" tx_over="w_slot_on.tga"
color="255 255 255 255" col_pushed="255 255 255 255" col_over="255 255 255 0"
onclick_l="ddx_bool_button" tooltip="#tooltip" />
<view type="text" id="text" posparent="c" posref="MR ML" x="4" y="-1" color="255 255 255 192" fontsize="12" shadow="true" hardtext="#text" />
</group>
</template>
<template name="tgcw_checkbox2" id="color_chooser" posref="TL TL" x="0" y="0" posparent="parent">
<group id="#id" posref="#posref" x="#x" y="#y" posparent="#posparent" child_resize_w="true" h="14">
<ctrl type="button" id="c" button_type="toggle_button" posref="TL TL" x="0" y="0" tx_normal="w_slot_on.tga" tx_pushed="w_opacity_on.tga" tx_over="w_slot_on.tga" color="255 255 255 255" col_pushed="255 255 255 255" col_over="255 255 255 0" onclick_l="ddx_bool_button" />
<ctrl type="button" id="c" button_type="toggle_button" posref="TL TL" x="0" y="0"
tx_normal="w_slot_on.tga" tx_pushed="w_opacity_on.tga" tx_over="w_slot_on.tga"
color="255 255 255 255" col_pushed="255 255 255 255" col_over="255 255 255 0"
onclick_l="ddx_bool_button" />
<view type="text" id="text" posparent="c" posref="MR ML" x="4" y="-2" color="255 255 255 192" fontsize="10" shadow="true" hardtext="#text" />
</group>
</template>
<!-- WIDGET TO CHOOSE A DEFAULT SETUP -->
<template name="tgcw_combo_default" id="combo_default" posparent="parent" posref="TL TL" x="0" y="-18" value="">
<group id="#id" w="184" h="20" posparent="#posparent" posref="#posref" x="#x" y="#y">
@ -79,6 +123,8 @@
</group>
</group>
</template>
<!-- ************** -->
<!-- Main container -->
<!-- ************** -->
@ -92,8 +138,10 @@
<variable entry="UI:TEMP:TEXTURE_MODE" type="sint32" value="0" />
<variable entry="UI:TEMP:LANGUAGE" type="sint32" value="0" />
<variable entry="UI:TEMP:SCREEN_RATIO_MODE" type="sint32" value="0" />
<define id="game_config_screen_ratio_eb" value="ui:interface:game_config:content:general:screen_ratio:edit:eb" />
<define id="game_config_screen_ratio_cb" value="ui:interface:game_config:content:general:screen_ratio:combo" />
<proc id="game_config_init">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:GAME_CONFIG|value=1" />
<action handler="ddx_init" params="ui:interface:game_config:content:all" />
@ -101,36 +149,61 @@
<action handler="lua" params="game:configShowOne('explanation')" />
<action handler="lua" params="game:configInit()" />
</proc>
<proc id="game_config_uninit">
<!-- Yoyo: on close window, same than cancel! -->
<action handler="ddx_cancel" params="ui:interface:game_config:content:all" />
<action handler="game_config_cancel" params="" />
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:GAME_CONFIG|value=0" />
</proc>
<proc id="game_config_ok">
<action handler="proc" params="game_config_apply" />
<action handler="set" params="target_property=ui:interface:game_config:active|value=0" />
</proc>
<proc id="game_config_apply">
<action handler="game_config_change_screen_ratio_custom" params="" />
<action handler="ddx_update" params="ui:interface:game_config:content:all" />
<action handler="game_config_apply" params="" />
</proc>
<proc id="game_config_cancel">
<action handler="ddx_cancel" params="ui:interface:game_config:content:all" />
<action handler="game_config_cancel" params="" />
<action handler="set" params="target_property=ui:interface:game_config:active|value=0" />
</proc>
<group type="container" id="game_config" w="432" h="400" title="uiGlobalSettingsTitle" global_color="false" line_at_bottom="false" movable="true" active="false" opened="true" openable="false" resizer="true" header_color="UI:SAVE:WIN:COLORS:OPT" on_active="proc" on_active_params="game_config_init" on_deactive="proc" on_deactive_params="game_config_uninit" pop_min_w="430" pop_min_h="240" pop_max_w="800" pop_max_h="600">
<group id="header_closed" x="0" y="0" child_resize_w="true" h="16" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color">
<group type="container" id="game_config" w="432" h="400" title="uiGlobalSettingsTitle" global_color="false" line_at_bottom="false"
movable="true" active="false" opened="true" openable="false" resizer="true" header_color="UI:SAVE:WIN:COLORS:OPT"
on_active="proc" on_active_params="game_config_init"
on_deactive="proc" on_deactive_params="game_config_uninit"
pop_min_w="430" pop_min_h="240" pop_max_w="800" pop_max_h="600"
>
<group id="header_closed" x="0" y="0" child_resize_w="true" h="16" posref="TL TL"
group_onclick_r="active_menu"
group_params_r="menu=ui:interface:base_menu_with_color"
>
</group>
<group id="header_opened" x="0" y="0" w="430" h="16" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color">
<group id="header_opened" x="0" y="0" w="430" h="16" posref="TL TL"
group_onclick_r="active_menu"
group_params_r="menu=ui:interface:base_menu_with_color"
>
<view type="text_number" id="fps" posref="MR MR" x="-20" y="-2" color="255 255 255 255" shadow="true" fontsize="10" value="UI:VARIABLES:FPS" global_color="false" positive="true"/>
<view type="text" id="fpstext" posref="MR MR" x="-40" y="-2" color="255 255 255 255" shadow="true" fontsize="10" global_color="false" positive="true" hardtext="uiFPS" />
</group>
<group id="content" x="0" y="0" sizeref="wh" w="0" h="0" posref="TL TL">
<group id="sbtree" posref="TL TL" sizeref="w3h" x="0" w="-14" y="-4" h="-4">
<group id="tree_list" type="tree" posref="TL TL" x="14" y="0" col_over="255 255 255 48" col_select="255 255 255 80" max_sizeparent="parent" max_sizeref="wh" max_w="-10" max_h="0">
<group id="tree_list" type="tree" posref="TL TL" x="14" y="0" col_over="255 255 255 48" col_select="255 255 255 80"
max_sizeparent="parent" max_sizeref="wh" max_w="-10" max_h="0">
<node id="language" name="uigcLanguage" handler="lua" params="game:configShowOne('language')" fontsize="11" y_decal="-1" />
<node id="inter" name="uigcInterface" handler="" params="" fontsize="11" y_decal="-1">
<node id="hud" name="uigcHUD" handler="lua" params="game:configShowOne('hud')" fontsize="10" y_decal="-1" />
@ -148,10 +221,12 @@
<node id="landmarkco" name="uigcLandmarkColor" handler="lua" params="game:configShowOne('landmark_colors')" fontsize="10" y_decal="-1" />
<node id="help" name="uimHelp" handler="lua" params="game:configShowOne('help')" fontsize="10" y_decal="-1" />
</node>
<node id="input" name="uigcInput" handler="" params="" fontsize="11" y_decal="-1">
<node id="mou" name="uigcMouse" handler="lua" params="game:configShowOne('mouse')" fontsize="10" y_decal="-1" />
<node id="key" name="uigcKeyboard" handler="lua" params="game:configShowOne('keyb')" fontsize="10" y_decal="-1" />
</node>
<node id="graph" name="uigcGraph" handler="" params="" fontsize="11" y_decal="-1">
<node id="gen" name="uigcGeneral" handler="lua" params="game:configShowOne('general')" fontsize="10" y_decal="-1" />
<node id="lan" name="uigcLandscape" handler="lua" params="game:configShowOne('landscape')" fontsize="10" y_decal="-1" />
@ -159,27 +234,44 @@
<node id="fxs" name="uigcSpecialFX" handler="lua" params="game:configShowOne('fx')" fontsize="10" y_decal="-1" />
<node id="vr" name="uigcVR" handler="lua" params="game:configShowOne('vr')" fontsize="10" y_decal="-1" />
</node>
<node id="sound" name="uigcSound" handler="lua" params="game:configShowOne('sound')" fontsize="11" y_decal="-1" />
</group>
<ctrl style="skin_scroll" id="scroll_bar" align="T" target="tree_list" />
</group>
<!-- ok, apply, cancel -->
<ctrl style="text_button_16" id="cancel" posref="BR BR" y="1" wmargin="8" hardtext="uiGCCancel" color="255 255 255 255" col_over="255 255 255 255" col_pushed="255 255 255 255" onclick_l="proc" params_l="game_config_cancel" />
<ctrl style="text_button_16" id="apply" posparent="cancel" posref="TL TR" x="-4" wmargin="8" hardtext="uiGCApply" color="255 255 255 255" col_over="255 255 255 255" col_pushed="255 255 255 255" onclick_l="proc" params_l="game_config_apply" frozen="true" />
<ctrl style="text_button_16" id="ok" posparent="apply" posref="TL TR" x="-4" wmargin="8" hardtext="uiGCOk" color="255 255 255 255" col_over="255 255 255 255" col_pushed="255 255 255 255" onclick_l="proc" params_l="game_config_ok" />
<!-- Tabs -->
<!-- *** -->
<group id="graph" posref="TR TR" x="0" y="-4" sizeref="w7h" w="-4" h="-24">
<instance template="box_widget" id="back" sizeref="wh" w="0" h="0" />
</group>
<group id="crop" posparent="graph" posref="MM MM" x="0" y="0" sizeref="wh" w="-4" h="-12" />
<!-- Explanation -->
<group id="explanation" posparent="crop" posref="TM TM" x="0" y="-8" sizeref="w" child_resize_h="true" child_resize_hmargin="4" w="-4" max_sizeparent="crop" max_sizeref="h" max_h="-4">
<group type="scroll_text" id="explanation_txt" sizeref="w" child_resize_h="true" child_resize_wmargin="16" child_resize_hmargin="16" posref="TL TL" x="0" y="0" min_height="160" max_height="160">
<group type="list" id="text_list" hardtext="uiCongifExplanation" shadow="true" fontsize="10" justification="justified" color="255 255 255 160" space="3" global_color="true" posref="TL TL" x="8" y="-8" sizeref="hw" w="-16" h="-16" />
<group type="list" id="text_list" hardtext="uiCongifExplanation" shadow="true" fontsize="10" justification="justified" color="255 255 255 160" space="3"
global_color="true" posref="TL TL" x="8" y="-8" sizeref="hw" w="-16" h="-16" />
</group>
</group>
<ctrl style="skin_scroll" id="sb_explanation" align="T" target="explanation" posparent="crop" posref="TL TR" x="-8" y="0" />
<!-- *** -->
<group id="general" active="false" posparent="crop" posref="TM TM" x="0" y="-8" sizeref="w" child_resize_h="true" child_resize_hmargin="4" w="-4" max_sizeparent="crop" max_sizeref="h" max_h="-4">
<!-- Color -->
@ -190,11 +282,16 @@
<instance template="tgcw_scrollbarfloat" id="gam" text="uiGamma" posref="BL TL" posparent="lum" x="0" y="-2" />
<instance template="tgcw_scrollbarfloat" id="scale" text="uiInterfaceScale" posref="BL TL" posparent="gam" x="0" y="-2" />
<instance template="tgcw_checkbox" id="waitvbl" text="uiWaitVBL" posparent="scale" posref="BL TL" x="-20" y="-28" />
<!-- Special case for video modes -->
<group id="fullscreen" posref="TR TR" x="-16" y="-30" child_resize_w="true" h="14">
<ctrl type="button" id="c" button_type="toggle_button" posref="TL TL" x="0" y="0" tx_normal="w_slot_on.tga" tx_pushed="w_opacity_on.tga" tx_over="w_slot_on.tga" color="255 255 255 255" col_pushed="255 255 255 255" col_over="255 255 255 0" onclick_l="game_config_change_vid_fullscreen" params_l="" />
<ctrl type="button" id="c" button_type="toggle_button" posref="TL TL" x="0" y="0"
tx_normal="w_slot_on.tga" tx_pushed="w_opacity_on.tga" tx_over="w_slot_on.tga"
color="255 255 255 255" col_pushed="255 255 255 255" col_over="255 255 255 0"
onclick_l="game_config_change_vid_fullscreen" params_l="" />
<view type="text" id="text" posparent="c" posref="MR ML" x="4" y="-2" color="255 255 255 192" fontsize="12" shadow="true" hardtext="uiFullscreen" />
</group>
<group type="combo_box" id="video_modes" w="100" h="20" value="UI:TEMP:VID_MODE" posparent="fullscreen" posref="BL TL" x="0" y="-4">
<instance template="combo_box_def1" />
</group>
@ -203,6 +300,7 @@
<instance template="combo_box_def1" />
</group>
<link expr="@UI:TEMP:VID_FREQ" action="game_config_change_vid_freq" />
<!-- Special case for texture modes -->
<group id="texture_mode" posparent="waitvbl" posref="BL TL" x="0" y="-12" w="240" h="20">
<view type="text" id="text" posref="ML ML" x="0" y="0" color="255 255 255 192" fontsize="12" shadow="true" hardtext="uigcTextureMode" />
@ -211,12 +309,17 @@
</group>
<link expr="@UI:TEMP:TEXTURE_MODE" action="game_config_change_texture_mode" />
</group>
<!-- Special case for Screen Aspect Ratio -->
<!-- see game_config_screen_ratio_* defines -->
<group id="screen_ratio" posparent="texture_mode" posref="BL TL" x="0" y="-12" w="240" h="52">
<view type="text" id="text" posref="TL TL" x="0" y="-4" color="255 255 255 192" fontsize="12" shadow="true" hardtext="uigcScreenRatio" />
<instance template="text_tt" posparent="text" tooltip="uigcttScreenRatio" />
<instance template="edit_box_widget" id="edit" posparent="text" posref="MR ML" x="4" y="0" text_x="0" text_ref="BR BR" w="100" prompt="" enter_loose_focus="true" multi_line="false" onenter="game_config_change_screen_ratio_custom" enter_recover_focus="false" reset_focus_on_hide="true" max_historic="0" entry_type="positive_float" max_float_prec="5" onchange="set" onchange_params="target_property=ui:interface:game_config:content:apply:frozen|value=0" />
<instance template="edit_box_widget" id="edit" posparent="text" posref="MR ML" x="4" y="0" text_x="0" text_ref="BR BR" w="100" prompt="" enter_loose_focus="true" multi_line="false"
onenter="game_config_change_screen_ratio_custom" enter_recover_focus="false" reset_focus_on_hide="true" max_historic="0" entry_type="positive_float" max_float_prec="5"
onchange="set"
onchange_params="target_property=ui:interface:game_config:content:apply:frozen|value=0"
/>
<group type="combo_box" id="combo" w="140" h="20" value="UI:TEMP:SCREEN_RATIO_MODE" posref="BL TL" posparent="text" x="40" y="-8">
<instance template="combo_box_def1" />
<combo_text name="uigcScreenRatio43" />
@ -226,10 +329,13 @@
</group>
<link expr="@UI:TEMP:SCREEN_RATIO_MODE" action="game_config_change_screen_ratio_mode" />
</group>
</group>
<ctrl style="skin_scroll" id="sb_general" align="T" target="general" posparent="crop" posref="TL TR" x="-8" y="0" />
<!-- *** -->
<group id="landscape" active="false" posparent="crop" posref="TM TM" x="0" y="-8" sizeref="w" child_resize_h="true" child_resize_hmargin="4" w="-4" max_sizeparent="crop" max_sizeref="h" max_h="-4">
<view style="sgc_title" type="text" id="glan" posref="TM TM" x="0" y="0" hardtext="uiLandGeneral" />
<instance template="tgcw_combo_default" value="UI:TEMP:PRESET_LAND" />
<view style="sgc_title2" type="text" id="lan" posref="TL TL" x="0" y="-44" hardtext="uiLand" />
@ -241,8 +347,10 @@
<instance template="tgcw_scrollbarfloat" id="mvd" text="uiMicroVegetDensity" posparent="lmv" posref="BL TL" x="20" y="-2" />
</group>
<ctrl style="skin_scroll" id="sb_landscape" align="T" target="landscape" posparent="crop" posref="TL TR" x="-8" y="0" />
<!-- *** -->
<group id="char" active="false" posparent="crop" posref="TM TM" x="0" y="-8" sizeref="w" child_resize_h="true" child_resize_hmargin="4" w="-4" max_sizeparent="crop" max_sizeref="h" max_h="-4">
<view style="sgc_title" type="text" id="cpol" posref="TM TM" x="0" y="0" hardtext="uiCharPoly" />
<instance template="tgcw_combo_default" value="UI:TEMP:PRESET_CHAR" />
<view style="sgc_title2" type="text" id="model" posref="TL TL" x="0" y="-46" hardtext="uiCharModel" />
@ -252,17 +360,19 @@
<instance template="tgcw_checkbox" id="race_anim" text="uiEnableRacialAnimation" posparent="farclip" posref="BL TL" x="-20" y="-12" />
</group>
<ctrl style="skin_scroll" id="sb_char" align="T" target="char" posparent="crop" posref="TL TR" x="-8" y="0" />
<!-- *** -->
<group id="fx" active="false" posparent="crop" posref="TM TM" x="0" y="-8" sizeref="w" child_resize_h="true" child_resize_hmargin="4" w="-4" max_sizeparent="crop" max_sizeref="h" max_h="-4">
<view style="sgc_title" type="text" id="gfx" posref="TM TM" x="0" y="0" hardtext="uiFXGeneral" />
<instance template="tgcw_combo_default" value="UI:TEMP:PRESET_FX" />
<view style="sgc_title2" type="text" id="limit" posref="TL TL" x="0" y="-46" hardtext="uiFxLimitations" />
<instance template="tgcw_scrollbarint" id="maxpoly" text="uiFxMaxPoly" posparent="limit" posref="BL TL" x="20" y="-2" />
<!--
<instance template="tgcw_checkbox" id="cloud" text="uiFxCloud" posparent="maxpoly" posref="BL TL" x="-20" y="-12" />
<instance template="tgcw_scrollbarfloat" id="cqual" text="uiFxCloudQuality" posparent="cloud" posref="BL TL" x="20" y="-2" />
<instance template="tgcw_scrollbarint" id="cup" text="uiFxCloudUpdate" posparent="cqual" posref="BL TL" x="0" y="-2" />
-->
<instance template="tgcw_checkbox" id="cloud" text="uiFxCloud" posparent="maxpoly" posref="BL TL" x="-20" y="-12" />
<instance template="tgcw_scrollbarfloat" id="cqual" text="uiFxCloudQuality" posparent="cloud" posref="BL TL" x="20" y="-2" />
<instance template="tgcw_scrollbarint" id="cup" text="uiFxCloudUpdate" posparent="cqual" posref="BL TL" x="0" y="-2" />
-->
<instance template="tgcw_checkbox" id="shadow" text="uiFxShadow" posparent="maxpoly" posref="BL TL" x="-20" y="-12" />
<instance template="tgcw_checkbox" id="fxaa" text="uiFXAA" posparent="shadow" posref="BL TL" x="0" y="-12" />
<group id="anisotropic_gr" posparent="fxaa" sizeparent="parent" sizeref="w" h="20" posref="BL TL" x="0" y="-12">
@ -272,15 +382,18 @@
</group>
<link expr="@UI:TEMP:ANISOTROPIC" action="game_config_change_anisotropic" />
</group>
<group id="bloom_gr" posparent="anisotropic_gr" sizeparent="parent" sizeref="w" h="100" posref="BL TL" x="0" y="-12" tooltip="uiFxTooltipBloom" tooltip_parent="win">
<group id="bloom_gr" posparent="anisotropic_gr" sizeparent="parent" sizeref="w" h="100" posref="BL TL" x="0" y="-12"
tooltip="uiFxTooltipBloom" tooltip_parent="win">
<instance template="tgcw_checkbox" id="bloom" text="uiFxBloom" posref="TL TL" x="0" y="0" />
<instance template="tgcw_checkbox" id="square_bloom" text="uiFxSquareBloom" posparent="bloom" posref="BL TL" x="20" y="-2" />
<instance template="tgcw_scrollbarfloat" id="density_bloom" text="uiFxDensityBloom" posparent="square_bloom" posref="BL TL" x="0" y="-2" />
</group>
</group>
<ctrl style="skin_scroll" id="sb_fx" align="T" target="fx" posparent="crop" posref="TL TR" x="-8" y="0" />
<!-- *** -->
<group id="hud" active="false" posparent="crop" posref="TM TM" x="0" y="-8" sizeref="w" child_resize_h="true" child_resize_hmargin="4" w="-4" max_sizeparent="crop" max_sizeref="h" max_h="-4">
<!-- Entities Names -->
<view style="sgc_title" type="text" id="en" posref="TM TM" x="0" y="0" hardtext="uiHud" />
<!--<instance template="tgcw_checkbox" id="suc" text="uiShowUnderCursor" posref="TL TL" x="0" y="-20" />
@ -299,8 +412,11 @@
<instance template="tgcw_checkbox" id="radar_use_camera" text="uiRadarUseCamera" tooltip="uittRadarUseCamera" posref="BL TL" posparent="show_reticle" x="0" y="-12" />
</group>
<ctrl style="skin_scroll" id="sb_hud" align="T" target="hud" posparent="crop" posref="TL TR" x="-8" y="0" />
<!-- *** -->
<group id="language" active="false" posparent="crop" posref="TM TM" x="0" y="-8" sizeref="w" child_resize_h="true" child_resize_hmargin="4" w="-4" max_sizeparent="crop" max_sizeref="h" max_h="-4">
<!-- Language selector -->
<view style="sgc_title" type="text" id="en" posref="TM TM" x="0" y="0" hardtext="uigcLanguage" />
<group type="combo_box" id="languages" w="150" h="20" value="UI:TEMP:LANGUAGE" posref="TL TL" x="0" y="-20">
@ -308,14 +424,19 @@
<combo_text name="uigcEnglish" />
<combo_text name="uigcFrancais" />
<combo_text name="uigcDeutch" />
<!--
<combo_text name="uigcRussian" />
<combo_text name="uigcSpanish" />
-->
</group>
<link expr="@UI:TEMP:LANGUAGE" action="game_config_change_language" />
</group>
<ctrl style="skin_scroll" id="sb_language" align="T" target="language" posparent="crop" posref="TL TR" x="-8" y="0" />
<!-- *** -->
<group id="alpha_colors" active="false" posparent="crop" posref="TM TM" x="0" y="-8" sizeref="w" child_resize_h="true" child_resize_hmargin="4" w="-4" max_sizeparent="crop" max_sizeref="h" max_h="-4">
<!-- Night and day colors -->
<view style="sgc_title" type="text" id="gcol" posref="TM TM" x="0" y="0" hardtext="uiGlobalColor" />
<view style="sgc_title2" type="text" id="gcol2" posref="TL TL" x="0" y="-20" hardtext="uiUIColor" />
@ -333,8 +454,10 @@
<instance template="tgcw_checkbox" id="show_3d_item_preview" text="uiShow3dItemPreview" tooltip="uittShow3dItemPreview" posref="BL TL" posparent="moa_speed" x="-20" y="-12" />
</group>
<ctrl style="skin_scroll" id="sb_alpha_colors" align="T" target="alpha_colors" posparent="crop" posref="TL TR" x="-8" y="0" />
<!-- *** -->
<group id="chat_colors" active="false" posparent="crop" posref="TM TM" x="0" y="-8" sizeref="w" child_resize_h="true" child_resize_hmargin="4" w="-4" max_sizeparent="crop" max_sizeref="h" max_h="-4">
<!-- Chat colors -->
<view style="sgc_title" id="ccol" posref="TM TM" x="0" y="0" hardtext="uiChatColors" />
<instance template="tgcw_color" id="cc_say" text="uiSayColor" title="uiCCDSay" tooltip="uittChooseSayColor" posref="TL TL" x="0" y="-20" />
@ -357,36 +480,49 @@
<instance template="tgcw_checkbox" id="show_dyn_channel_name_in_chat_cb" text="uiShowDynChannelNameInChatCB" tooltip="uittShowDynChannelNameInChat" posparent="show_times_in_chat_cb" posref="BL TL" x="0" y="-8" />
<instance template="tgcw_checkbox" id="show_online_offline_notifications_cb" text="uiShowOnlineOfflineNotifications" tooltip="uittShowOnlineOfflineNotifications" posparent="show_dyn_channel_name_in_chat_cb" posref="BL TL" x="0" y="-8" />
<instance template="tgcw_scrollbarint" id="font_size" text="uiFontSize" posref="BL TL" posparent="show_online_offline_notifications_cb" x="0" y="-8" />
<link expr="@UI:SAVE:CHAT:ENTER_DONT_QUIT_CB" target="enter_dontquit_cb:c:pushed" />
<link expr="@UI:SAVE:CHAT:SHOW_TIMES_IN_CHAT_CB" target="show_times_in_chat_cb:c:pushed" />
<link expr="@UI:SAVE:CHAT:SHOW_DYN_CHANNEL_NAME_IN_CHAT_CB" target="show_dyn_channel_name_in_chat_cb:c:pushed" />
<link expr="@UI:SAVE:CHAT:SHOW_ONLINE_OFFLINE_NOTIFICATIONS_CB" target="show_online_offline_notifications_cb:c:pushed" />
</group>
<ctrl style="skin_scroll" id="sb_chat_colors" align="T" target="chat_colors" posparent="crop" posref="TL TR" x="-8" y="0" />
<!-- *** -->
<group id="entity_colors" active="false" posparent="crop" posref="TM TM" x="0" y="-8" sizeref="w" child_resize_h="true" child_resize_hmargin="4" w="-4" max_sizeparent="crop" max_sizeref="h" max_h="-4">
<!-- Entity colors -->
<view style="sgc_title" id="ccol" posref="TM TM" x="0" y="0" hardtext="uiEntityColors" />
<instance template="tgcw_color" id="cc_user" text="uiUserColor" title="uiUserColor" tooltip="uittUserColor" posref="TL TL" x="0" y="-20" />
<instance template="tgcw_color" id="cc_target" text="uiTargetColor" title="uiTargetColor" tooltip="uittTargetColor" posref="BL TL" posparent="cc_user" x="0" y="-4" />
<instance template="tgcw_color" id="cc_group" text="uiGroupColor" title="uiGroupColor" tooltip="uittGroupColor" posref="BL TL" posparent="cc_target" x="0" y="-16" />
<instance template="tgcw_color" id="cc_guild" text="uiGuildRadarColor" title="uiGuildRadarColor" tooltip="uittGuildRadarColor" posref="BL TL" posparent="cc_group" x="0" y="-4" />
<instance template="tgcw_color" id="cc_player" text="uiPlayerColor" title="uiPlayerColor" tooltip="uittPlayerColor" posref="BL TL" posparent="cc_guild" x="0" y="-4" />
<instance template="tgcw_color" id="cc_npc" text="uiNPCColor" title="uiNPCColor" tooltip="uittNPCColor" posref="BL TL" posparent="cc_player" x="0" y="-4" />
<instance template="tgcw_color" id="cc_fauna" text="uiFaunaColor" title="uiFaunaColor" tooltip="uittFaunaColor" posref="BL TL" posparent="cc_npc" x="0" y="-16" />
<instance template="tgcw_color" id="cc_mount" text="uiMountColor" title="uiMountColor" tooltip="uittMountColor" posref="BL TL" posparent="cc_fauna" x="0" y="-4" />
<instance template="tgcw_color" id="cc_beast" text="uiBeastColor" title="uiBeastColor" tooltip="uittBeastColor" posref="BL TL" posparent="cc_mount" x="0" y="-4" />
<instance template="tgcw_color" id="cc_source" text="uiSourceColor" title="uiSourceColor" tooltip="uittSourceColor" posref="BL TL" posparent="cc_beast" x="0" y="-16" />
<instance template="tgcw_color" id="cc_dead" text="uiDeadColor" title="uiDeadColor" tooltip="uittDeadColor" posref="BL TL" posparent="cc_source" x="0" y="-16" />
<instance template="tgcw_color" id="cc_pvpenemy" text="uiPvpEnemyColor" title="uiPvpEnemyColor" tooltip="uittPvpEnemyColor" posref="BL TL" posparent="cc_dead" x="0" y="-16" />
<instance template="tgcw_color" id="cc_pvpally" text="uiPvpAllyColor" title="uiPvpAllyColor" tooltip="uittPvpAllyColor" posref="BL TL" posparent="cc_pvpenemy" x="0" y="-4" />
<instance template="tgcw_color" id="cc_pvpallyinteam" text="uiPvpAllyInTeamColor" title="uiPvpAllyInTeamColor" tooltip="uittPvpAllyInTeamColor" posref="BL TL" posparent="cc_pvpally" x="0" y="-4" />
<instance template="tgcw_color" id="cc_pvpallyinguild" text="uiPvpAllyInGuildColor" title="uiPvpAllyInGuildColor" tooltip="uittPvpAllyInGuildColor" posref="BL TL" posparent="cc_pvpallyinteam" x="0" y="-4" />
<instance template="tgcw_color" id="cc_pvpneutral" text="uiPvpNeutralColor" title="uiPvpNeutralColor" tooltip="uittPvpNeutralColor" posref="BL TL" posparent="cc_pvpallyinguild" x="0" y="-4" />
</group>
<ctrl style="skin_scroll" id="sb_entity_colors" align="T" target="entity_colors" posparent="crop" posref="TL TR" x="-8" y="0" />
<!-- *** -->
<group id="in_scene_user" active="false" posparent="crop" posref="TM TM" x="0" y="-8" sizeref="w" child_resize_h="true" child_resize_hmargin="4" w="-4" max_sizeparent="crop" max_sizeref="h" max_h="-4">
<!-- In scene user colors -->
<view style="sgc_title" id="ccol" posref="TM TM" x="0" y="0" hardtext="uiUserIS" />
<instance template="tgcw_checkbox" id="is_user_guild_symbol" text="uiGuildSymbol" tooltip="uittGuildSymbol" posref="TL TL" x="0" y="-20" />
@ -402,8 +538,10 @@
<instance template="tgcw_checkbox" id="is_user_pvp_logo" text="uiPvpLogo" tooltip="uittPvpLogo" posref="BL TL" posparent="is_user_action" x="0" y="-4" />
</group>
<ctrl style="skin_scroll" id="sb_in_scene_user" align="T" target="in_scene_user" posparent="crop" posref="TL TR" x="-8" y="0" />
<!-- *** -->
<group id="in_scene_friend" active="false" posparent="crop" posref="TM TM" x="0" y="-8" sizeref="w" child_resize_h="true" child_resize_hmargin="4" w="-4" max_sizeparent="crop" max_sizeref="h" max_h="-4">
<!-- In scene friend colors -->
<view style="sgc_title" id="ccol" posref="TM TM" x="0" y="0" hardtext="uiFriendIS" />
<instance template="tgcw_checkbox" id="is_friend_guild_symbol" text="uiGuildSymbol" tooltip="uittGuildSymbol" posref="TL TL" x="0" y="-20" />
@ -422,8 +560,10 @@
<instance template="tgcw_checkbox" id="is_friend_mission_mini_icon" text="uiMiniMissionIcon" tooltip="uittMiniMissionIcon" posref="BL TL" posparent="is_friend_mission_icon" x="16" y="-4" />
</group>
<ctrl style="skin_scroll" id="sb_in_scene_friend" align="T" target="in_scene_friend" posparent="crop" posref="TL TR" x="-8" y="0" />
<!-- *** -->
<group id="in_scene_enemy" active="false" posparent="crop" posref="TM TM" x="0" y="-8" sizeref="w" child_resize_h="true" child_resize_hmargin="4" w="-4" max_sizeparent="crop" max_sizeref="h" max_h="-4">
<!-- In scene enemy colors -->
<view style="sgc_title" id="ccol" posref="TM TM" x="0" y="0" hardtext="uiEnemyIS" />
<instance template="tgcw_checkbox" id="is_enemy_guild_symbol" text="uiGuildSymbol" tooltip="uittGuildSymbol" posref="TL TL" x="0" y="-20" />
@ -435,8 +575,10 @@
<instance template="tgcw_checkbox" id="is_ennemy_pvp_logo" text="uiPvpLogo" tooltip="uittPvpLogo" posref="BL TL" posparent="is_enemy_hp" x="0" y="-4" />
</group>
<ctrl style="skin_scroll" id="sb_in_scene_enemy" align="T" target="in_scene_enemy" posparent="crop" posref="TL TR" x="-8" y="0" />
<!-- *** -->
<group id="in_scene_chat_messages" active="false" posparent="crop" posref="TM TM" x="0" y="-8" sizeref="w" child_resize_h="true" child_resize_hmargin="4" w="-4" max_sizeparent="crop" max_sizeref="h" max_h="-4">
<!-- In scene enemy colors -->
<view style="sgc_title" id="ccol" posref="TM TM" x="0" y="0" hardtext="uiChatIS" />
<instance template="tgcw_checkbox" id="is_user_messages" text="uiUserMessages" tooltip="uittUserMessages" posref="TL TL" x="0" y="-20" />
@ -444,25 +586,36 @@
<instance template="tgcw_checkbox" id="is_enemy_messages" text="uiEnemyMessages" tooltip="uittEnemyMessages" posref="BL TL" posparent="is_friend_messages" x="0" y="-4" />
</group>
<ctrl style="skin_scroll" id="sb_in_scene_chat_messages" align="T" target="in_scene_chat_messages" posparent="crop" posref="TL TR" x="-8" y="0" />
<!-- *** -->
<group id="win_colors" active="false" posparent="crop" posref="TM TM" x="0" y="-8" sizeref="w" child_resize_h="true" child_resize_hmargin="4" w="-4" max_sizeparent="crop" max_sizeref="h" max_h="-4">
<!-- win colors -->
<view style="sgc_title" id="wcol" posref="TM TM" x="0" y="0" hardtext="uiWinColors" />
<instance template="tgcw_color" id="wc_pla" text="uiPlaColor" title="uiCCDPla" tooltip="uittChoosePlaColor" posref="TL TL" x="0" y="-20" />
<instance template="tgcw_color" id="wc_inv" text="uiInvColor" title="uiCCDInv" tooltip="uittChooseInvColor" posref="BL TL" posparent="wc_pla" x="0" y="-4" />
<instance template="tgcw_color" id="wc_ani" text="uiAniColor" title="uiCCDAni" tooltip="uittChooseAniColor" posref="BL TL" posparent="wc_inv" x="0" y="-4" />
<instance template="tgcw_color" id="wc_help" text="uiHelColor" title="uiCCDHel" tooltip="uittChooseHelColor" posref="BL TL" posparent="wc_ani" x="0" y="-16" />
<instance template="tgcw_color" id="wc_infos" text="uiInfColor" title="uiCCDInf" tooltip="uittChooseInfColor" posref="BL TL" posparent="wc_help" x="0" y="-4" />
<instance template="tgcw_color" id="wc_opt" text="uiOptColor" title="uiCCDOpt" tooltip="uittChooseOptColor" posref="BL TL" posparent="wc_infos" x="0" y="-4" />
<instance template="tgcw_color" id="wc_mem" text="uiMemColor" title="uiCCDMem" tooltip="uittChooseMemColor" posref="TL TL" posparent="wc_opt" x="0" y="-16" />
<instance template="tgcw_color" id="wc_lab" text="uiLabColor" title="uiCCDLab" tooltip="uittChooseLabColor" posref="BL TL" posparent="wc_mem" x="0" y="-4" />
<instance template="tgcw_color" id="wc_com" text="uiComColor" title="uiCCDCom" tooltip="uittChooseComColor" posref="BL TL" posparent="wc_lab" x="0" y="-16" />
<instance template="tgcw_color" id="wc_trade" text="uiTraColor" title="uiCCDTra" tooltip="uittChooseTraColor" posref="BL TL" posparent="wc_com" x="0" y="-4" />
<instance template="tgcw_color" id="wc_bot" text="uiBotColor" title="uiCCDBot" tooltip="uittChooseBotColor" posref="BL TL" posparent="wc_trade" x="0" y="-4" />
</group>
<ctrl style="skin_scroll" id="sb_win_colors" align="T" target="win_colors" posparent="crop" posref="TL TR" x="-8" y="0" />
<group id="win_colors_r2" active="false" posparent="crop" posref="TM TM" x="0" y="-8" sizeref="w" child_resize_h="true" child_resize_hmargin="4" w="-4" max_sizeparent="crop" max_sizeref="h" max_h="-4">
<view style="sgc_title" id="wcol" posref="TM TM" x="0" y="0" hardtext="uiR2WinColors" />
<instance template="tgcw_color" id="wc_r2_palette" text="uiR2Palette" title="uiCCDR2_palette" tooltip="uittR2_Palette" posref="TL TL" x="0" y="-20" />
<instance template="tgcw_color" id="wc_r2_scenario" text="uiR2Scenario" title="uiCCDR2_scenario" tooltip="uittR2_Scenario" posparent="wc_r2_palette" posref="BL TL" x="0" y="-4" />
<instance template="tgcw_color" id="wc_r2_prop_window" text="uiR2Prop_window" title="uiCCDR2_prop_window" tooltip="uittR2_Prop_window" posparent="wc_r2_scenario" posref="BL TL" x="0" y="-4" />
@ -476,10 +629,16 @@
<instance template="tgcw_color" id="wc_r2_session_browser" text="uiR2Session_browser" title="uiCCDR2_session_browser" tooltip="uittR2_Session_browser" posparent="wc_r2_connect" posref="BL TL" x="0" y="-4" />
<instance template="tgcw_color" id="wc_r2_scenario_control" text="uiR2Scenario_control" title="uiCCDR2_scenario_control" tooltip="uittR2_Scenario_control" posparent="wc_r2_session_browser" posref="BL TL" x="0" y="-4" />
<instance template="tgcw_color" id="wc_r2_player_tracking" text="uiR2Player_tracking" title="uiCCDR2_player_tracking" tooltip="uittR2_Player_tracking" posparent="wc_r2_scenario_control" posref="BL TL" x="0" y="-4" />
</group>
<ctrl style="skin_scroll" id="sb_win_colors_r2" align="T" target="win_colors_r2" posparent="crop" posref="TL TR" x="-8" y="0" />
<!-- *** -->
<group id="mouse" active="false" posparent="crop" posref="TM TM" x="0" y="-8" sizeref="w" child_resize_h="true" child_resize_hmargin="4" w="-4" max_sizeparent="crop" max_sizeref="h" max_h="-4">
<view style="sgc_title" id="mouseopt" posref="TM TM" x="0" y="0" hardtext="uiMouseOptions" />
<instance template="tgcw_checkbox" id="hard" text="uiMouseHardware" posref="TM TL" x="0" y="-35" />
<instance template="tgcw_checkbox" id="inverted" text="uiMouseInverted" posparent="hard" posref="BL TL" x="0" y="-2" />
@ -489,13 +648,17 @@
<instance template="tgcw_scrollbarint" id="dcspeed" text="uiDoubleClickSpeed" posparent="inter" posref="BL TL" x="20" y="-2" />
<instance template="tgcw_scrollbarfloat" id="curspeed" text="uiCursorSpeed" posparent="dcspeed" posref="BL TL" x="0" y="-2" />
<instance template="tgcw_scrollbarint" id="curaccel" text="uiCursorAccel" posparent="curspeed" posref="BL TL" x="0" y="-2" />
<view style="sgc_title2" type="text" id="head" posref="BL TL" hardtext="uiMouseHead" posparent="curaccel" x="-20" y="-12" />
<instance template="tgcw_scrollbarfloat" id="headspeed" text="uiHeadSpeed" posparent="head" posref="BL TL" x="20" y="-2" />
<instance template="tgcw_scrollbarint" id="headaccel" text="uiHeadAccel" posparent="headspeed" posref="BL TL" x="0" y="-2" />
</group>
<ctrl style="skin_scroll" id="sb_mouse" align="T" target="mouse" posparent="crop" posref="TL TR" x="-8" y="0" />
<!-- *** -->
<group id="keyb" active="false" posparent="crop" posref="TM TM" x="0" y="-8" sizeref="w" child_resize_h="true" child_resize_hmargin="4" w="-4" max_sizeparent="crop" max_sizeref="h" max_h="-4">
<view style="sgc_title" id="mouseopt" posref="TM TM" x="0" y="0" hardtext="uiKeybOptions" />
<view style="sgc_title2" type="text" id="cam" posref="TL TL" x="0" y="-20" hardtext="uiKeybCamera" />
<instance template="tgcw_scrollbarfloat" id="speedmax" text="uiKeybCamSpeedMax" posparent="cam" posref="BL TL" x="20" y="-2" />
@ -517,6 +680,7 @@
<ctrl style="skin_scroll" id="sb_vr" align="T" target="vr" posparent="crop" posref="TL TR" x="-8" y="0" />
<!-- *** -->
<group id="sound" active="false" posparent="crop" posref="TM TM" x="0" y="-8" sizeref="w" child_resize_h="true" child_resize_hmargin="4" w="-4" max_sizeparent="crop" max_sizeref="h" max_h="-4">
<view style="sgc_title" type="text" id="gen" posref="TM TM" x="0" y="0" hardtext="uiSoundGeneral" />
<instance template="tgcw_checkbox" id="enabler" text="uiSoundOnOff" posref="TL TL" x="0" y="-16" />
<instance template="tgcw_checkbox" id="useeax" text="uiUseEax" posref="BL TL" posparent="enabler" x="0" y="-12" />
@ -567,30 +731,37 @@
<ctrl style="skin_scroll" id="sb_landmark_colors" align="T" target="landmark_colors" posparent="crop" posref="TL TR" x="-8" y="0" />
<!-- *** -->
<group id="help" active="false" posparent="crop" posref="TM TM" x="0" y="-8" sizeref="w" child_resize_h="true" child_resize_hmargin="4" w="-4" max_sizeparent="crop" max_sizeref="h" max_h="-4">
<!-- Entities Names -->
<view style="sgc_title" type="text" id="hen" posref="TM TM" x="0" y="0" hardtext="uiHelp" />
<instance template="tgcw_checkbox" id="context_help" text="uiShowContextHelp" posref="TL TL" x="0" y="-20" />
</group>
<ctrl style="skin_scroll" id="sb_help" align="T" target="help" posparent="crop" posref="TL TR" x="-8" y="0" />
<!-- *** -->
<!-- *** -->
<ddx id="all">
<!-- This ref to the apply button -->
<apply ui="apply" />
<param ui="general:con:c" type="cfg" realtime="true" widget="sbfloat" link="Contrast" />
<param ui="general:lum:c" type="cfg" realtime="true" widget="sbfloat" link="Luminosity" />
<param ui="general:gam:c" type="cfg" realtime="true" widget="sbfloat" link="Gamma" />
<param ui="general:scale:c" type="cfg" realtime="false" ui_view="general:scale:c_res" ui_decimal="2" widget="sbfloat" link="InterfaceScale" />
<param ui="general:waitvbl:c" type="cfg" realtime="true" widget="boolbut" link="WaitVBL" />
<param ui="landscape:lvi:c" type="cfg" widget="sbfloat_round" realtime="end_scroll" ui_view="landscape:lvi:c_res" ui_unit="uigcUnitMeters" link="Vision" preset="UI:TEMP:PRESET_LAND" />
<param ui="landscape:ltn:c" type="cfg" widget="sbfloat_round" realtime="true" ui_view="landscape:ltn:c_res" ui_unit="uigcUnitMeters" link="LandscapeTileNear" preset="UI:TEMP:PRESET_LAND" />
<param ui="landscape:lth:c" type="cfg" widget="sbfloat" realtime="true" ui_view="landscape:lth:c_res" ui_decimal="4" link="LandscapeThreshold" preset="UI:TEMP:PRESET_LAND" />
<param ui="landscape:lmv:c" type="cfg" widget="boolbut" realtime="true" link="MicroVeget" preset="UI:TEMP:PRESET_LAND" />
<param ui="landscape:mvd:c" type="cfg" widget="sbfloat_round" realtime="end_scroll" ui_view="landscape:mvd:c_res" ui_unit="uigcUnitPercent" link="MicroVegetDensity" preset="UI:TEMP:PRESET_LAND" />
<param ui="char:maxpoly:c" type="cfg" widget="sbint" realtime="true" ui_view="char:maxpoly:c_res" link="SkinNbMaxPoly" preset="UI:TEMP:PRESET_CHAR" />
<param ui="char:maxnotclod:c" type="cfg" widget="sbint" realtime="true" ui_view="char:maxnotclod:c_res" ui_unit="uigcUnitChar" link="NbMaxSkeletonNotCLod" preset="UI:TEMP:PRESET_CHAR" />
<param ui="char:farclip:c" type="cfg" widget="sbfloat_round" realtime="true" ui_view="char:farclip:c_res" ui_unit="uigcUnitMeters" link="CharacterFarClip" preset="UI:TEMP:PRESET_CHAR" />
<param ui="char:race_anim:c" type="cfg" widget="boolbut" realtime="true" link="EnableRacialAnimation" />
<param ui="fx:maxpoly:c" type="cfg" widget="sbint" realtime="true" ui_view="fx:maxpoly:c_res" link="FxNbMaxPoly" preset="UI:TEMP:PRESET_FX" />
<param ui="fx:cloud:c" type="cfg" widget="boolbut" realtime="true" link="Cloud" preset="UI:TEMP:PRESET_FX" />
<param ui="fx:cqual:c" type="cfg" widget="sbfloat_round" realtime="true" ui_view="fx:cqual:c_res" link="CloudQuality" preset="UI:TEMP:PRESET_FX" />
@ -601,6 +772,8 @@
<param ui="fx:bloom_gr:bloom:c" type="cfg" widget="boolbut" realtime="true" link="Bloom" preset="UI:TEMP:PRESET_FX" />
<param ui="fx:bloom_gr:square_bloom:c" type="cfg" widget="boolbut" realtime="true" link="SquareBloom" preset="UI:TEMP:PRESET_FX" />
<param ui="fx:bloom_gr:density_bloom:c" type="cfg" widget="sbfloat_round" realtime="true" ui_view="fx:bloom_gr:density_bloom:c_res" link="DensityBloom" preset="UI:TEMP:PRESET_FX" />
<!--
<param ui="hud:suc:c" type="cfg" widget="boolbut" link="ShowNameUnderCursor" realtime="true"/>
<param ui="hud:sta:c" type="cfg" widget="boolbut" link="ShowNameSelected" realtime="true"/>
@ -650,6 +823,7 @@
<param ui="chat_colors:show_dyn_channel_name_in_chat_cb:c" type="db" widget="boolbut" link="UI:SAVE:CHAT:SHOW_DYN_CHANNEL_NAME_IN_CHAT_CB" realtime="true" />
<param ui="chat_colors:show_online_offline_notifications_cb:c" type="db" widget="boolbut" link="UI:SAVE:CHAT:SHOW_ONLINE_OFFLINE_NOTIFICATIONS_CB" realtime="true" />
<param ui="chat_colors:font_size:c" type="db" widget="sbint" link="UI:SAVE:CHAT:FONT_SIZE" min="9" max="20" realtime="true" />
<param ui="entity_colors:cc_user:c" type="db" widget="colbut" link="UI:SAVE:ENTITY:COLORS:USER" realtime="true" />
<param ui="entity_colors:cc_player:c" type="db" widget="colbut" link="UI:SAVE:ENTITY:COLORS:PLAYER" realtime="true" />
<param ui="entity_colors:cc_npc:c" type="db" widget="colbut" link="UI:SAVE:ENTITY:COLORS:NPC" realtime="true" />
@ -666,6 +840,7 @@
<param ui="entity_colors:cc_pvpneutral:c" type="db" widget="colbut" link="UI:SAVE:ENTITY:COLORS:PVPNEUTRAL" realtime="true" />
<param ui="entity_colors:cc_pvpallyinteam:c" type="db" widget="colbut" link="UI:SAVE:ENTITY:COLORS:PVPALLYINTEAM" realtime="true" />
<param ui="entity_colors:cc_pvpallyinguild:c" type="db" widget="colbut" link="UI:SAVE:ENTITY:COLORS:PVPALLYINGUILD" realtime="true" />
<param ui="in_scene_user:is_user_guild_symbol:c" type="db" widget="boolbut" link="UI:SAVE:INSCENE:USER:GUILD_SYMBOL" realtime="true" />
<param ui="in_scene_user:is_user_name:c" type="db" widget="boolbut" link="UI:SAVE:INSCENE:USER:NAME" realtime="true" />
<param ui="in_scene_user:is_user_title:c" type="db" widget="boolbut" link="UI:SAVE:INSCENE:USER:TITLE" realtime="true" />
@ -677,6 +852,7 @@
<param ui="in_scene_user:is_user_focus:c" type="db" widget="boolbut" link="UI:SAVE:INSCENE:USER:FOCUS" realtime="true" />
<param ui="in_scene_user:is_user_action:c" type="db" widget="boolbut" link="UI:SAVE:INSCENE:USER:ACTION" realtime="true" />
<param ui="in_scene_user:is_user_pvp_logo:c" type="db" widget="boolbut" link="UI:SAVE:INSCENE:USER:PVP_LOGO" realtime="true" />
<param ui="in_scene_friend:is_friend_guild_symbol:c" type="db" widget="boolbut" link="UI:SAVE:INSCENE:FRIEND:GUILD_SYMBOL" realtime="true" />
<param ui="in_scene_friend:is_friend_name:c" type="db" widget="boolbut" link="UI:SAVE:INSCENE:FRIEND:NAME" realtime="true" />
<param ui="in_scene_friend:is_friend_title:c" type="db" widget="boolbut" link="UI:SAVE:INSCENE:FRIEND:TITLE" realtime="true" />
@ -698,9 +874,11 @@
<param ui="in_scene_enemy:is_enemy_guild_name:c" type="db" widget="boolbut" link="UI:SAVE:INSCENE:ENEMY:GUILD_NAME" realtime="true" />
<param ui="in_scene_enemy:is_enemy_hp:c" type="db" widget="boolbut" link="UI:SAVE:INSCENE:ENEMY:HP" realtime="true" />
<param ui="in_scene_enemy:is_ennemy_pvp_logo:c" type="db" widget="boolbut" link="UI:SAVE:INSCENE:ENEMY:PVP_LOGO" realtime="true" />
<param ui="in_scene_chat_messages:is_user_messages:c" type="db" widget="boolbut" link="UI:SAVE:INSCENE:USER:MESSAGES" realtime="true" />
<param ui="in_scene_chat_messages:is_friend_messages:c" type="db" widget="boolbut" link="UI:SAVE:INSCENE:FRIEND:MESSAGES" realtime="true" />
<param ui="in_scene_chat_messages:is_enemy_messages:c" type="db" widget="boolbut" link="UI:SAVE:INSCENE:ENEMY:MESSAGES" realtime="true" />
<param ui="win_colors:wc_pla:c" type="db" widget="colbut" link="UI:SAVE:WIN:COLORS:PLA" realtime="true" />
<param ui="win_colors:wc_ani:c" type="db" widget="colbut" link="UI:SAVE:WIN:COLORS:ANI" realtime="true" />
<param ui="win_colors:wc_com:c" type="db" widget="colbut" link="UI:SAVE:WIN:COLORS:COM" realtime="true" />
@ -712,6 +890,7 @@
<param ui="win_colors:wc_infos:c" type="db" widget="colbut" link="UI:SAVE:WIN:COLORS:INFOS" realtime="true" />
<param ui="win_colors:wc_trade:c" type="db" widget="colbut" link="UI:SAVE:WIN:COLORS:TRADE" realtime="true" />
<param ui="win_colors:wc_bot:c" type="db" widget="colbut" link="UI:SAVE:WIN:COLORS:BOT" realtime="true" />
<param ui="win_colors_r2:wc_r2_palette:c" type="db" widget="colbut" link="UI:SAVE:WIN:COLORS:R2_PALETTE" realtime="true" />
<param ui="win_colors_r2:wc_r2_scenario:c" type="db" widget="colbut" link="UI:SAVE:WIN:COLORS:R2_SCENARIO" realtime="true" />
<param ui="win_colors_r2:wc_r2_prop_window:c" type="db" widget="colbut" link="UI:SAVE:WIN:COLORS:R2_PROP_WINDOW" realtime="true" />
@ -725,6 +904,8 @@
<param ui="win_colors_r2:wc_r2_session_browser:c" type="db" widget="colbut" link="UI:SAVE:WIN:COLORS:R2_SESSION_BROWSER" realtime="true" />
<param ui="win_colors_r2:wc_r2_scenario_control:c" type="db" widget="colbut" link="UI:SAVE:WIN:COLORS:R2_SCENARIO_CONTROL" realtime="true" />
<param ui="win_colors_r2:wc_r2_player_tracking:c" type="db" widget="colbut" link="UI:SAVE:WIN:COLORS:R2_PLAYER_TRACKING" realtime="true" />
<param ui="mouse:hard:c" type="cfg" widget="boolbut" link="HardwareCursor" realtime="true" />
<param ui="mouse:inverted:c" type="cfg" widget="boolbut" link="FreeLookInverted" realtime="true" />
<param ui="mouse:dbl:c" type="cfg" widget="boolbut" link="DblClickMode" realtime="true" />
@ -734,8 +915,10 @@
<param ui="mouse:curaccel:c" type="cfg" widget="sbint" link="CursorAcceleration" realtime="true" />
<param ui="mouse:headspeed:c" type="cfg" widget="sbfloat" link="FreeLookSpeed" realtime="true" />
<param ui="mouse:headaccel:c" type="cfg" widget="sbint" link="FreeLookAcceleration" realtime="true" />
<param ui="keyb:speedmax:c" type="cfg" widget="sbfloat" link="RotKeySpeedMax" realtime="true" />
<param ui="keyb:speedmin:c" type="cfg" widget="sbfloat" link="RotKeySpeedMin" realtime="true" />
<param ui="sound:enabler:c" type="cfg" widget="boolbut" link="SoundOn" realtime="true" />
<param ui="sound:useeax:c" type="cfg" widget="boolbut" link="UseEax" realtime="true" />
<param ui="sound:forcesoftbuf:c" type="cfg" widget="boolbut" link="SoundForceSoftwareBuffer" realtime="true" />
@ -777,9 +960,13 @@
</ddx>
</group>
</group>
<tree node="game_config" />
<link expr="depends(@UI:SAVE:CONTENT_ALPHA)" action="set" params="dblink=UI:SAVE:CONTAINER_ALPHA|value=min(@UI:SAVE:CONTENT_ALPHA, @UI:SAVE:CONTAINER_ALPHA)" />
<link expr="depends(@UI:SAVE:CONTAINER_ALPHA)" action="set" params="dblink=UI:SAVE:CONTENT_ALPHA|value=max(@UI:SAVE:CONTENT_ALPHA, @UI:SAVE:CONTAINER_ALPHA)" />
<link expr="depends(@UI:SAVE:CONTENT_ROLLOVER_FACTOR)" action="set" params="dblink=UI:SAVE:CONTAINER_ROLLOVER_FACTOR|value=min(@UI:SAVE:CONTENT_ROLLOVER_FACTOR, @UI:SAVE:CONTAINER_ROLLOVER_FACTOR)" />
<link expr="depends(@UI:SAVE:CONTAINER_ROLLOVER_FACTOR)" action="set" params="dblink=UI:SAVE:CONTENT_ROLLOVER_FACTOR|value=max(@UI:SAVE:CONTENT_ROLLOVER_FACTOR, @UI:SAVE:CONTAINER_ROLLOVER_FACTOR)" />
</interface_config>

@ -1,18 +1,24 @@
<interface_config>
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<variable entry="UI:TEMP:GUILD_SHEET:ICON" type="sint64" value="1" />
<variable entry="UI:TEMP:GUILD_SHEET:NAME" type="sint64" value="1" />
<!-- Variable to store the guild symbol and name for each entity in game -->
<variable entry="UI:ENTITY:GUILD:$i:ICON" type="sint64" value="0" size="256" />
<variable entry="UI:ENTITY:GUILD:$i:NAME" type="sint64" value="0" size="256" />
<proc id="guild_proc_active">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:GUILD|value=1" />
<action handler="guild_sheet_open" params="update_members=1" />
<action handler="set" cond="not(%is_guild_present)" params="target='ui:interface:guild:active'|value=0" />
</proc>
<proc id="guild_proc_deactive">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:GUILD|value=0" />
</proc>
<proc id="guild_tell_member_proc">
<action handler="guild_tell_member" params="" />
</proc>

@ -112,6 +112,7 @@
<!--
<group id="hands" posparent="armors" x="8" y="0" w="86" h="42" posref="TR TL">
<ctrl type="sheet" id="handr" posref="TR TR" x="0" tx_noitem="hand_right.tga" selection_group="inventory_selection"
onclick_l="proc" params_l="inv_left_click_on_slot" tooltip="uittHandR"
menu_r="%self_item_modal_menu"
@ -132,6 +133,7 @@
<link expr="depends(@%bag:[%hand_r:INDEX_IN_BAG-1]:SHEET)" action="phrase_update_from_hand" />
<link expr="depends(@%bag:[%hand_r:INDEX_IN_BAG-1]:QUALITY)" action="phrase_update_from_hand" />
<link expr="depends(@%bag:[%hand_r:INDEX_IN_BAG-1]:ENCHANT)" action="phrase_update_from_hand" />
</group>
<view type="text" id="handTitle" posref="TL BL" posparent="hands" hardtext="uiHandsTitle" fontsize="10" shadow="true" />
-->
@ -196,37 +198,58 @@
<!-- Inventory Player Room -->
<group style="inv_container" id="inv_room" title="uiInvRoomTitle" header_color="UI:SAVE:WIN:COLORS:TRADE"
on_active="set" on_active_params="dblink=UI:VARIABLES:ISACTIVE:INV_ROOM|value=1"
on_deactive="set" on_deactive_params="dblink=UI:VARIABLES:ISACTIVE:INV_ROOM|value=0">
on_deactive="set" on_deactive_params="dblink=UI:VARIABLES:ISACTIVE:INV_ROOM|value=0"
>
<group id="header_closed" x="0" y="0" h="12" posref="TL TL">
</group>
<group id="header_opened" x="0" y="0" h="16" posref="TL TL"
group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color">
<instance template="tinv_nbslots_bulk_weight" id="ibw" x="-16" inv_branch="%room_inv_dbentry" inv_bulk_max="%room_inv_bulk_max" />
</group>
<group id="content" h="214" posref="TR TR">
<instance template="tinv_item_list" id="iil" inv_branch_nb="%max_room_invslot" y="-8" sizeref="wh" h="-8"
inv_branch="%room_inv_dbentry" inv_type="INV_ROOM" />
</group>
</group>
<tree node="inv_room" />
<!-- ********************* -->
<!-- * GROUPED INVENTORY * -->
<!-- ********************* -->
<template name="tinv_animal" id="" bag_entry="" info_entry="" icon_db="">
<group id="#id" posref="TL TL" x="0" y="0" sizeref="wh" w="0" h="0">
<instance template="tinv_nbslots_bulk_weight" id="ibw" x="0" inv_branch_nb="%max_animal_invslot" inv_branch="#bag_entry" inv_bulk_max="#info_entry:BULK_MAX" />
<instance template="tinv_item_list" id="iil" y="-18" sizeref="wh" h="-16" inv_branch_nb="%max_animal_invslot" inv_branch="#bag_entry" inv_type="#icon_db" animal_status="#info_entry:STATUS" />
<instance template="tinv_item_list" id="iil" y="-18" sizeref="wh" h="-16"
inv_branch_nb="%max_animal_invslot" inv_branch="#bag_entry" inv_type="#icon_db" animal_status="#info_entry:STATUS" />
<view type="text" id="disable_txt" posref="BL BL" x="2" y="2" color="255 255 255 255" shadow="true" fontsize="10" />
<link expr="getAnimalInventoryStateText(@#info_entry:STATUS)" target="disable_txt:hardtext" />
</group>
</template>
<!-- FAKE SOLUTION -->
<group type="container" id="inventory" header_active="false" resizer="true" pop_min_w="430" pop_min_h="240" pop_max_w="920" pop_max_h="1600" w="400" h="400" movable="true" active="false" opened="true" openable="false" global_color="false" global_color_over="true" on_active="set" on_active_params="dblink=UI:VARIABLES:ISACTIVE:INVENTORY|value=1" on_deactive="set" on_deactive_params="dblink=UI:VARIABLES:ISACTIVE:INVENTORY|value=0" resizer_top_size="5">
<group id="header_opened" x="0" y="0" w="100" h="28" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color">
<group type="container" id="inventory" header_active="false"
resizer="true" pop_min_w="430" pop_min_h="240" pop_max_w="920" pop_max_h="1600" w="400" h="400"
movable="true" active="false" opened="true" openable="false"
global_color="false" global_color_over="true"
on_active="set" on_active_params="dblink=UI:VARIABLES:ISACTIVE:INVENTORY|value=1"
on_deactive="set" on_deactive_params="dblink=UI:VARIABLES:ISACTIVE:INVENTORY|value=0"
resizer_top_size="5"
>
<group id="header_opened" x="0" y="0" w="100" h="28" posref="TL TL"
group_onclick_r="active_menu"
group_params_r="menu=ui:interface:base_menu_with_color"
>
<group type="tab" id="inv_select" child_resize_w="true" h="24" posref="TL TL" x="0" y="-4">
<ctrl style="tab_button_new" id="tab0" x="0" posref="TL TL" group="content:bag" hardtext="uitabInvBag" tooltip="uiTabInfo" onclick_r="" params_r="" onclick_l="" params_l="" />
@ -238,6 +261,7 @@
<ctrl style="tab_button_new" id="tab5" posparent="tab4" group="content:pa3" hardtext="uitabInvPAMount3" tooltip="uiTabInfo" onclick_r="show" params_r="inv_pa3" onclick_l="" params_l="" />
<ctrl style="tab_button_new" id="tab6" posparent="tab5" group="content:guild" hardtext="uitabInvGuild" tooltip="uiTabInfo" onclick_r="set" params_r="dblink=UI:SAVE:INVENTORY_GUILD_WANT_POPUP|value=1" onclick_l="" params_l="" />
<ctrl style="tab_button_new" id="tab7" posparent="tab6" group="content:room" hardtext="uitabInvRoom" tooltip="uiTabInfo" onclick_r="show" params_r="inv_room" onclick_l="" params_l="" />
<link expr="not(@UI:VARIABLES:ISACTIVE:INV_BAG)" target="tab0:active" />
<link expr="not(@UI:VARIABLES:ISACTIVE:INV_EQUIP)" target="tab1:active" />
<!-- MAX_INVENTORY_ANIMAL -->
@ -250,45 +274,62 @@
<link expr="switch(@%pa_beast1:TYPE, 'uitabInvPAMount1', 'uitabInvPAMount1', 'uitabInvPAPacker1', 'uitabInvPADemon1')" target="tab3:hardtext" />
<link expr="switch(@%pa_beast2:TYPE, 'uitabInvPAMount2', 'uitabInvPAMount2', 'uitabInvPAPacker2', 'uitabInvPADemon2')" target="tab4:hardtext" />
<link expr="switch(@%pa_beast3:TYPE, 'uitabInvPAMount3', 'uitabInvPAMount3', 'uitabInvPAPacker3', 'uitabInvPADemon3')" target="tab5:hardtext" />
<link expr="and(%is_guild_present, not(@UI:SAVE:INVENTORY_GUILD_WANT_POPUP), @UI:TEMP:INVENTORY_GUILD_OPENED)" target="tab6:active" />
<link expr="and(not(@UI:VARIABLES:ISACTIVE:INV_ROOM), @UI:TEMP:INVENTORY_ROOM_OPENED)" target="tab7:active" />
</group>
<view type="bitmap" id="sep" posparent="inv_select" posref="BR BL" sizeparent="parent" sizeref="w" w="0" h="1" scale="true" texture="blank.tga" color="166 166 166 255" />
</group>
<group id="content" x="0" y="0" h="100" posref="TL TL">
<!-- equip -->
<instance template="tinv_equip" />
<!-- bag -->
<group id="bag" posref="TL TL" x="0" y="0" sizeref="wh" w="0" h="0">
<instance template="tinv_nbslots_bulk_weight" id="ibw" x="0" inv_branch="%bag" inv_bulk_max="%bag_bulk_max" />
<instance template="tinv_item_list" id="iil" inv_branch_nb="%max_bag_invslot" y="-18" sizeref="wh" h="-16" inv_branch="%bag" inv_type="INV_BAG" />
<instance template="argent" id="money" posref="BL BL" x="4" y="0" value="%money" />
</group>
<!-- pa0 -->
<instance template="tinv_animal" id="pa0" info_entry="%pa_beast0" bag_entry="%pa_bag0" icon_db="INV_PA0" />
<!-- pa1 -->
<instance template="tinv_animal" id="pa1" info_entry="%pa_beast1" bag_entry="%pa_bag1" icon_db="INV_PA1" />
<!-- pa2 -->
<instance template="tinv_animal" id="pa2" info_entry="%pa_beast2" bag_entry="%pa_bag2" icon_db="INV_PA2" />
<!-- pa3 -->
<instance template="tinv_animal" id="pa3" info_entry="%pa_beast3" bag_entry="%pa_bag3" icon_db="INV_PA3" />
<!-- guild -->
<group id="guild" posref="TL TL" x="0" y="0" sizeref="wh" w="0" h="0">
<instance template="tinv_nbslots_bulk_weight" id="ibw" x="0" inv_branch="%guild_inv_dbentry" inv_bulk_max="%guild_inv_bulk_max" />
<instance template="tinv_item_list" id="iil" inv_branch_nb="%max_guild_invslot" y="-18" sizeref="wh" h="-16" inv_branch="%guild_inv_dbentry" inv_type="INV_GUILD" />
<instance template="argent" id="money" posref="BL BL" x="4" y="0" value="%guild_inv_money" />
<ctrl style="new_element_header" id="getmoney_but" posref="MR ML" posparent="money" x="4" wmargin="8" hardtext="uittGetMoney" onclick_l="proc" params_l="guild_get_money" />
<ctrl style="new_element_header" id="putmoney_but" posref="MR ML" posparent="getmoney_but" x="4" wmargin="8" hardtext="uittPutMoney" onclick_l="proc" params_l="guild_put_money" />
<ctrl style="new_element_header" id="getmoney_but" posref="MR ML" posparent="money" x="4" wmargin="8"
hardtext="uittGetMoney" onclick_l="proc" params_l="guild_get_money" />
<ctrl style="new_element_header" id="putmoney_but" posref="MR ML" posparent="getmoney_but" x="4" wmargin="8"
hardtext="uittPutMoney" onclick_l="proc" params_l="guild_put_money" />
</group>
<!-- room -->
<group id="room" posref="TL TL" x="0" y="0" sizeref="wh" w="0" h="0">
<instance template="tinv_nbslots_bulk_weight" id="ibw" x="-4" inv_branch="%room_inv_dbentry" inv_bulk_max="%room_inv_bulk_max" />
<instance template="tinv_item_list" id="iil" inv_branch_nb="%max_room_invslot" y="-18" sizeref="wh" h="-16" inv_branch="%room_inv_dbentry" inv_type="INV_ROOM" />
<instance template="argent" id="money" posref="BL BL" x="4" y="0" value="%room_inv_money" />
</group>
</group>
</group>
<tree node="inventory" />
<!--
<anim id="anim_inventory_char_rotate" duration="30" disable_buttons="false" on_finish="proc" on_finish_params="inventory_char_rotate">
<track type="linear" target="inventory:content:char3d:char:rotz">
@ -297,43 +338,100 @@
</track>
</anim>
-->
<!-- *********************** -->
<!-- * TEMPORARY INVENTORY * -->
<!-- *********************** -->
<proc id="temp_inventory_activated">
<action handler="proc" params="memorize_inventory_state" />
<action handler="context_help_html" params="inventory" />
</proc>
<!-- Make the temp inventory modal parent on faber execution, so the faber can not be done if temp inventory opened
Same For Missions selection or Mission selection validation
-->
<group id="temp_inventory" type="container" posref="MM MM" w="242" h="136" openable="false" opened="true" resizer="true" savable="true" right_button="false" movable="true" pop_min_w="243" pop_min_h="136" pop_max_w="242" pop_max_h="418" win_priority="%win_priority_high" on_active="proc" on_active_params="temp_inventory_activated" on_deactive="proc" on_deactive_params="restore_inventory_state" modal_parent="phrase_faber_execution|bot_chat_missions|bot_chat_accept_mission">
<group id="temp_inventory" type="container" posref="MM MM" w="242" h="136"
openable="false" opened="true" resizer="true" savable="true" right_button="false" movable="true"
pop_min_w="243" pop_min_h="136" pop_max_w="242" pop_max_h="418"
win_priority="%win_priority_high"
on_active="proc" on_active_params="temp_inventory_activated"
on_deactive="proc" on_deactive_params="restore_inventory_state"
modal_parent="phrase_faber_execution|bot_chat_missions|bot_chat_accept_mission"
>
<group id="header_closed" x="0" y="0" h="12" posref="TL TL"></group>
<group id="header_opened" x="0" y="0" h="16" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color">
<group id="header_closed" x="0" y="0" h="12" posref="TL TL">
</group>
<group id="header_opened" x="0" y="0" h="16" posref="TL TL"
group_onclick_r="active_menu"
group_params_r="menu=ui:interface:base_menu_with_color"
>
<view type="bitmap" id="weight" posref="MR MR" x="-20" texture="W_weight.tga" global_color="false" />
<view type="text" id="weight_txt" posparent="weight" posref="ML MR" y="-2" x="-2" color="255 255 255 255" global_color="false" shadow="true" fontsize="10" />
<link expr="identity(getItemsWeight('%temp_inv_dbentry',0,%max_temp_invslot),@%temp_inv_dbentry)" target="weight_txt:hardtext" />
</group>
<group id="content" h="136" posref="TL TL">
<group id="list_of_items" posref="TL TL" x="0" y="-6" sizeref="wh" w="0" h="-32">
<!-- The H should be "42+hspace" * Number of rows. Setup list.max_h too below -->
<group type="list_sheet_text" sizeref="wh" w="-10" h="0" id="lootcontent" child_resize_h="false" posref="TL TL" x="0" y="0" xitem="2" yitem="-2" xtext="46" ytext="0" hspace="2" array="false" maxitem="%max_temp_invslot" startitem="0" value="%temp_inv_dbentry" selection="false" selection_group="buy_selection" onclick_r="open_item_help" onclick_l="inv_temp_to_bag" over_color="%bot_chat_sheet_selection_normal" over_col_pushed="%bot_chat_sheet_selection_pushed" over_col_over="%bot_chat_sheet_selection_over" color="255 255 255 255" fontsize="10" shadow="true" multi_line="true" multi_line_space="0">
<group type="list_sheet_text" sizeref="wh" w="-10" h="0" id="lootcontent" child_resize_h="false"
posref="TL TL"
x="0" y="0"
xitem="2" yitem="-2"
xtext="46" ytext="0"
hspace="2"
array="false" maxitem="%max_temp_invslot" startitem="0"
value="%temp_inv_dbentry"
selection="false"
selection_group="buy_selection"
onclick_r="open_item_help"
onclick_l="inv_temp_to_bag"
over_color="%bot_chat_sheet_selection_normal"
over_col_pushed="%bot_chat_sheet_selection_pushed"
over_col_over="%bot_chat_sheet_selection_over"
color="255 255 255 255"
fontsize="10"
shadow="true"
multi_line="true"
multi_line_space="0">
<ctrl style="skin_scroll" id="scroll_row" posref="TL TL" target_stepy="44" />
<group id="list" max_sizeref="h" max_sizeparent="parent" max_h="0" sizeref="w" posref="TL TL" x="8" y="0" w="-16" />
</group>
</group>
<view type="bitmap" id="sep" x="0" y="0" posparent="list_of_items" posref="BR TR" scale="true" h="2" sizeparent="parent" sizeref="w" texture="W_line_hor.tga" />
<instance template="button_ok_cancel" posref="BR BR" x="-4" y="4" onclick_ok="inv_temp_all" ok_text="uittTakeAll" onclick_cancel="inv_temp_none" cancel_text="uittDropAll" />
<instance template="button_ok_cancel" posref="BR BR" x="-4" y="4" onclick_ok="inv_temp_all" ok_text="uittTakeAll"
onclick_cancel="inv_temp_none" cancel_text="uittDropAll" />
<!-- Gray the OK button if the inventory is empty -->
<link expr="@UI:TEMP_INV:ALL_EMPTY" target="ok_cancel:ok:frozen" />
</group>
</group>
<tree node="temp_inventory" />
<!-- ********* -->
<!-- * HANDS * -->
<!-- ********* -->
<proc id="memory_phrase_check"></proc>
<proc id="memory_phrase_check">
</proc>
<!-- context menu for memory button -->
<group type="menu" id="cm_memory_phrase" extends="base_menu" on_active="phrase_check_can_cristalize">
<action id="cri" name="uimCristalize" handler="phrase_cristalize" />
@ -345,42 +443,83 @@
<action id="cut" name="uiEditCut" handler="phrase_memory_copy" params="mode=cut" />
<action id="copy" name="uiEditCopy" handler="phrase_memory_copy" />
</group>
<!-- context menu for memory button, when slot is empty -->
<group type="menu" id="cm_memory_phrase_empty" extends="base_menu">
<!-- The new direct on the memory is possible only if the phrase composition is not active -->
<action id="new" name="uimPhraseNew" handler="phrase_new" cond="eq(@UI:VARIABLES:PHRASE_COMPOSITION:ACTIVE,0)" />
<action id="paste" name="uiEditPaste" handler="memorize_phrase_or_macro" />
</group>
<!-- context menu for memory button when it is a macro-->
<group type="menu" id="cm_memory_macro" extends="base_menu" on_active="phrase_check_can_cristalize">
<action id="for" name="uimForgetMacro" handler="delete_phrase_or_forget_macro" />
</group>
<!-- Defines memory ctrl -->
<template name="ctrl_memory" index="" posref="TL TL" posparent="parent" x="0" y="0" tx_noitem="">
<ctrl type="sheet" id="s#index" value="UI:PHRASE:MEMORY:#index" nature="sphraseid" brick_over="true" x="#x" y="#y" posref="#posref" posparent="#posparent" tx_noitem="#tx_noitem" oncandrop="can_memorize_phrase_or_macro" ondrop="memorize_phrase_or_macro" dragable="true" menu_r="ui:interface:cm_memory_phrase" menu_r_empty_slot="ui:interface:cm_memory_phrase_empty" is_shortcut="true" drag_copy="true" onclick_r="phrase_memory_before_menu" onclick_l="cast_phrase_or_create_new" tooltip_parent="win" tooltip_posref="TR TL" tooltip_posref_alt="TL TR" />
<ctrl type="sheet" id="s#index" value="UI:PHRASE:MEMORY:#index" nature="sphraseid" brick_over="true" x="#x" y="#y" posref="#posref" posparent="#posparent" tx_noitem="#tx_noitem"
oncandrop="can_memorize_phrase_or_macro" ondrop="memorize_phrase_or_macro" dragable="true"
menu_r="ui:interface:cm_memory_phrase" menu_r_empty_slot="ui:interface:cm_memory_phrase_empty"
is_shortcut="true" drag_copy="true"
onclick_r="phrase_memory_before_menu" onclick_l="cast_phrase_or_create_new"
tooltip_parent="win" tooltip_posref="TR TL" tooltip_posref_alt="TL TR" />
</template>
<!-- Defines memory ctrl -->
<template name="ctrl_alt_memory" index="" posref="TL TL" posparent="parent" x="0" y="0" tx_noitem="">
<ctrl type="sheet" id="s#index" value="UI:PHRASE:MEMORY_ALT:#index" nature="sphraseid" brick_over="true" x="#x" y="#y" posref="#posref" posparent="#posparent" tx_noitem="#tx_noitem" dragable="false" is_shortcut="false" onclick_l="cast_phrase_or_create_new" tooltip_parent="win" tooltip_posref="TR TL" tooltip_posref_alt="TL TR" />
<ctrl type="sheet" id="s#index" value="UI:PHRASE:MEMORY_ALT:#index" nature="sphraseid" brick_over="true" x="#x" y="#y" posref="#posref" posparent="#posparent" tx_noitem="#tx_noitem"
dragable="false" is_shortcut="false"
onclick_l="cast_phrase_or_create_new"
tooltip_parent="win" tooltip_posref="TR TL" tooltip_posref_alt="TL TR" />
</template>
<!-- System: must update the memory ctrls regen range BRICK_TICK_RANGE database is changed -->
<link expr="@SERVER:FLAGS:BRICK_TICK_RANGE" action="phrase_update_all_memory_ctrl_regen_tick_range" />
<!-- Defines memory lock ctrl -->
<template name="lock_button" id="" posparent="parent" posref="TL TL" x="0" y="0" w="24" h="9" active="true">
<ctrl type="button" id="#id" button_type="toggle_button" posparent="#posparent" x="#x" y="#y" posref="#posref" active="#active" tx_normal="W_button_spellock_off.tga" tx_pushed="W_button_spellock_on.tga" tx_over="W_button_spellock_over.tga" />
<ctrl type="button" id="#id" button_type="toggle_button" posparent="#posparent" x="#x" y="#y" posref="#posref" active="#active"
tx_normal="W_button_spellock_off.tga" tx_pushed="W_button_spellock_on.tga" tx_over="W_button_spellock_over.tga" />
</template>
<!-- The Hands -->
<group type="container" id="gestionsets" w="410" h="48" resizer="false" header_active="false" right_button="false" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color" movable="true" active="false" opened="false" openable="false" global_color="false" header_color="UI:SAVE:WIN:COLORS:INV" locked="true" on_active="set" on_active_params="dblink=UI:VARIABLES:ISACTIVE:SETS|value=1" on_deactive="set" on_deactive_params="dblink=UI:VARIABLES:ISACTIVE:SETS|value=0" help_page="interf_action_bar.html" on_move="lua:game:updateCurrentActionPosition()">
<group type="container" id="gestionsets" w="410" h="48" resizer="false" header_active="false" right_button="false"
group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color"
movable="true" active="false" opened="false" openable="false" global_color="false" header_color="UI:SAVE:WIN:COLORS:INV" locked="true"
on_active="set" on_active_params="dblink=UI:VARIABLES:ISACTIVE:SETS|value=1"
on_deactive="set" on_deactive_params="dblink=UI:VARIABLES:ISACTIVE:SETS|value=0"
help_page="interf_action_bar.html"
on_move="lua:game:updateCurrentActionPosition()"
>
<group id="header_closed" x="0" y="0" h="48" w="394" posref="TL TL" />
<group id="hands" x="9" y="0" w="392" h="68" posref="ML ML" setnumber="1">
<ctrl type="sheet" id="handr" posref="MR MR" x="0" tx_noitem="hand_right.tga" selection_group="inventory_selection" onclick_l="proc" params_l="inv_left_click_on_slot" tooltip="uittHandR" menu_r="%self_item_modal_menu" dragable="true" ondrag="inv_drag" params_drag="from_slot" oncannotdrop="inv_cannot_drop" oncandrop="inv_can_drop" ondrop="inv_drop" item_slot="RIGHT_HAND" value="%hand_r" other_hand_slot="handl" auto_grayed="false" tooltip_parent="win" />
<ctrl type="sheet" id="handl" posref="ML ML" x="0" tx_noitem="hand_left.tga" selection_group="inventory_selection" onclick_l="proc" params_l="inv_left_click_on_slot" tooltip="uittHandL" menu_r="%self_item_modal_menu" dragable="true" ondrag="inv_drag" params_drag="from_slot" oncannotdrop="inv_cannot_drop" oncandrop="inv_can_drop" ondrop="inv_drop" item_slot="LEFT_HAND" value="%hand_l" other_hand_slot="handr" auto_grayed="false" tooltip_parent="win" />
<ctrl type="sheet" id="handr" posref="MR MR" x="0" tx_noitem="hand_right.tga" selection_group="inventory_selection"
onclick_l="proc" params_l="inv_left_click_on_slot" tooltip="uittHandR"
menu_r="%self_item_modal_menu"
dragable="true"
ondrag="inv_drag" params_drag="from_slot" oncannotdrop="inv_cannot_drop"
oncandrop="inv_can_drop" ondrop="inv_drop"
item_slot="RIGHT_HAND" value="%hand_r" other_hand_slot="handl" auto_grayed="false"
tooltip_parent="win" />
<ctrl type="sheet" id="handl" posref="ML ML" x="0" tx_noitem="hand_left.tga" selection_group="inventory_selection"
onclick_l="proc" params_l="inv_left_click_on_slot" tooltip="uittHandL"
menu_r="%self_item_modal_menu"
dragable="true"
ondrag="inv_drag" params_drag="from_slot" oncannotdrop="inv_cannot_drop"
oncandrop="inv_can_drop" ondrop="inv_drop"
item_slot="LEFT_HAND" value="%hand_l" other_hand_slot="handr" auto_grayed="false"
tooltip_parent="win" />
<!-- Must update some things when the item equipped change -->
<link expr="depends(@%bag:[%hand_r:INDEX_IN_BAG-1]:SHEET)" action="phrase_update_from_hand" />
<link expr="depends(@%bag:[%hand_r:INDEX_IN_BAG-1]:QUALITY)" action="phrase_update_from_hand" />
<link expr="depends(@%bag:[%hand_r:INDEX_IN_BAG-1]:ENCHANT)" action="phrase_update_from_hand" />
</group>
<group id="shortcuts" x="-8" w="278" h="52" posparent="hands" posref="MM MM">
<!-- The Shortcuts. Don't modify ids -->
<instance template="ctrl_memory" index="0" x="0" y="0" tx_noitem="W_slot_shortcut_id0.tga" />
@ -393,6 +532,7 @@
<instance template="ctrl_memory" index="7" x="196" y="0" tx_noitem="W_slot_shortcut_id7.tga" />
<instance template="ctrl_memory" index="8" x="224" y="0" tx_noitem="W_slot_shortcut_id8.tga" />
<instance template="ctrl_memory" index="9" x="252" y="0" tx_noitem="W_slot_shortcut_id9.tga" />
<instance template="ctrl_memory" index="10" x="0" y="-26" tx_noitem="W_slot_shortcut_shift_id0.tga" />
<instance template="ctrl_memory" index="11" x="28" y="-26" tx_noitem="W_slot_shortcut_shift_id1.tga" />
<instance template="ctrl_memory" index="12" x="56" y="-26" tx_noitem="W_slot_shortcut_shift_id2.tga" />
@ -406,11 +546,14 @@
<!-- The NextAction and CyclingAction Markers. Don't modify ids. They are posparented in code to the good ctrl -->
<view type="bitmap" id="view_next_action" texture="action_next.tga" global_color="false" active="false" posref="TL TL" x="0" y="0" render_layer="3" />
<view type="bitmap" id="view_cycle_action" texture="action_cycle.tga" global_color="false" active="false" posref="TL TL" x="0" y="0" render_layer="3" />
<!-- They are hid special accouting to server state -->
<link expr="@SERVER:EXECUTE_PHRASE:NEXT_COUNTER" action="phrase_counter_update" params="cyclic=0" />
<link expr="@SERVER:EXECUTE_PHRASE:CYCLE_COUNTER" action="phrase_counter_update" params="cyclic=1" />
<link expr="@UI:VARIABLES:CURRENT_TIME" action="phrase_debug_client" />
</group>
<group type="select_number" id="select_memory" value="UI:PHRASE:SELECT_MEMORY" loop="true" min="1" max="10" x="9" y="0" w="297" h="52" posparent="shortcuts" posref="MM MM" delta="1">
<view type="bitmap" id="slot_number" posref="MR MR" texture="W_slot_number.tga" />
<view type="text" id="number" posparent="slot_number" posref="MM MM" x="-1" y="-2" color="255 255 255 255" fontsize="12" shadow="true" hardtext="0" global_color="false" />
@ -418,6 +561,7 @@
<ctrl type="button" id="arrow_down" button_type="push_button" posref="BR BR" x="-2" y="6" tx_normal="W_arrow_down_1.tga" tx_pushed="W_arrow_down_1.tga" tx_over="W_button_12_over.tga" tooltip="uittHandSet" tooltip_parent="win" />
</group>
<link expr="@UI:PHRASE:SELECT_MEMORY" action="phrase_select_memory" params="value=add(@UI:PHRASE:SELECT_MEMORY,-1)" />
</group>
<tree node="gestionsets" />
@ -650,44 +794,103 @@
<!-- ** TEAM SHARING SYSTEM ** -->
<!-- ************************* -->
<!-- Used to share item or phrase in mission rewards -->
<template name="t_team_share_member" id="" memberid="" x="0" y="0" y1="0" posref="TL TL" posparent="parent">
<view type="text_id" id="t_#id" x="#x" y="#y" posref="TL TL" posparent="#posparent" fontsize="10" shadow="true" textid="LOCAL:INVENTORY:SHARE:TM_#memberid:NAME" dynamic_string="false" />
<view type="bitmap" id="v_#id" x="-2" y="#y1" posref="TR TR" posparent="#posparent" texture="w_answer_16_valid.tga" global_color="false" />
<link expr="ne(@LOCAL:INVENTORY:SHARE:TM_#memberid:NAME,0)" target="t_#id:active,v_#id:active" />
<link expr="ifthenelse(eq(@LOCAL:INVENTORY:SHARE:TM_#memberid:VALID,0), '', 'w_answer_16_valid.tga')" target="v_#id:texture" />
</template>
<group id="team_share" type="container" posref="MM MM" w="454" h="136" openable="false" opened="true" resizer="false" savable="false" right_button="false" movable="true" win_priority="%win_priority_high" title="uiTeamShareTitle" header_color="UI:SAVE:WIN:COLORS:MEM" global_color="false">
<group id="header_closed" x="0" y="0" h="12" posref="TL TL"></group>
<group id="header_opened" x="0" y="0" h="32" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color">
<group id="team_share" type="container" posref="MM MM" w="454" h="136"
openable="false" opened="true" resizer="false" savable="false" right_button="false" movable="true"
win_priority="%win_priority_high"
title="uiTeamShareTitle"
header_color="UI:SAVE:WIN:COLORS:MEM"
global_color="false"
>
<group id="header_closed" x="0" y="0" h="12" posref="TL TL">
</group>
<group id="header_opened" x="0" y="0" h="32" posref="TL TL"
group_onclick_r="active_menu"
group_params_r="menu=ui:interface:base_menu_with_color"
>
<group id="top_menu" sizeref="w" w="0" h="18" y="-17" posref="TL TL">
<view type="bitmap" id="back" x="274" y="0" posref="TL TL" scale="true" w="162" sizeref="h" texture="blank.tga" color="0 0 0 64" global_color="false" />
<view type="bitmap" id="back" x="274" y="0" posref="TL TL" scale="true" w="162" sizeref="h"
texture="blank.tga" color="0 0 0 64" global_color="false" />
<view type="bitmap" id="sep1" x="208" y="0" posref="TL TL" scale="true" w="2" sizeref="h" texture="W_line_ver.tga" />
<view type="bitmap" id="sep2" x="236" y="0" posref="TL TL" scale="true" w="2" sizeref="h" texture="W_line_ver.tga" />
<view type="bitmap" id="sep3" x="272" y="0" posref="TL TL" scale="true" w="2" sizeref="h" texture="W_line_ver.tga" />
<view type="bitmap" id="sep4" x="0" y="0" posref="TR TR" scale="true" w="2" sizeref="h" texture="W_line_ver.tga" />
<view type="text" id="items" x="10" y="0" posref="BL BL" fontsize="10" hardtext="uiTeamShareItems" shadow="true" global_color="false" />
<view type="text" id="Nbr" x="220" y="0" posref="BL BL" fontsize="12" hardtext="uiTeamShareAsks" shadow="true" global_color="false" />
<view type="text" id="chances" x="252" y="-1" posref="BL BL" fontsize="12" hardtext="uiTeamShareChance" shadow="true" global_color="false" />
<view type="text" id="valids" x="276" y="0" posref="BL BL" fontsize="10" hardtext="uiTeamShareValid" shadow="true" global_color="false" />
</group>
</group>
<group id="content" h="214" posref="TR TR">
<group id="separators" posref="TL TL" sizeref="wh" h="-22">
<view type="bitmap" id="back" x="274" y="0" posref="TL TL" scale="true" w="162" h="190" texture="blank.tga" color="0 0 0 64" global_color="false" />
<view type="bitmap" id="back" x="274" y="0" posref="TL TL" scale="true" w="162" h="190"
texture="blank.tga" color="0 0 0 64" global_color="false" />
<view type="bitmap" id="sep0" x="0" y="0" posref="TL TL" scale="true" h="2" sizeref="w" texture="W_line_hor.tga" />
<view type="bitmap" id="sep1" x="208" y="-2" posref="TL TL" scale="true" w="2" sizeref="h" h="-4" texture="W_line_ver.tga" />
<view type="bitmap" id="sep2" x="236" y="-2" posref="TL TL" scale="true" w="2" sizeref="h" h="-4" texture="W_line_ver.tga" />
<view type="bitmap" id="sep3" x="272" y="-2" posref="TL TL" scale="true" w="2" sizeref="h" h="-4" texture="W_line_ver.tga" />
<view type="bitmap" id="sep4" x="436" y="-2" posref="TL TL" scale="true" w="2" sizeref="h" h="-4" texture="W_line_ver.tga" />
<view type="bitmap" id="sep5" x="0" y="0" posref="BL BL" scale="true" h="2" sizeref="w" texture="W_line_hor.tga" />
</group>
<group id="list_of_items" posref="TL TL" x="0" y="-6" w="272" h="184">
<!-- The H should be "42+hspace" * Number of rows. Setup list.max_h too below -->
<group type="list_sheet_share" sizeref="w" w="0" h="184" id="content" posref="TM TM" x="0" y="0" xitem="18" yitem="-2" xtext="62" ytext="-2" selection="false" nature="auto" x_nbmember="212" y_nbmember="-20" icon_wanted="W_opacity_on.tga" icon_not_wanted="w_slot_on.tga" x_wanted="2" y_wanted="-17" x_chance="240" y_chance="-20" hspace="4" array="false" maxitem="16" startitem="0" value="SERVER:INVENTORY:SHARE" selection_group="buy_selection" onclick_r="open_item_help" onclick_l="team_share_choose" over_color="%bot_chat_sheet_selection_normal" over_col_pushed="%bot_chat_sheet_selection_pushed" over_col_over="%bot_chat_sheet_selection_over" color="255 255 255 255" fontsize="8" shadow="true" multi_line="true" multi_line_space="0" line_maxw="136">
<group type="list_sheet_share" sizeref="w" w="0" h="184" id="content"
posref="TM TM"
x="0" y="0"
xitem="18" yitem="-2"
xtext="62" ytext="-2"
selection="false"
nature="auto"
x_nbmember="212" y_nbmember="-20"
icon_wanted="W_opacity_on.tga" icon_not_wanted="w_slot_on.tga" x_wanted="2" y_wanted="-17"
x_chance="240" y_chance="-20"
hspace="4"
array="false" maxitem="16" startitem="0"
value="SERVER:INVENTORY:SHARE"
selection_group="buy_selection"
onclick_r="open_item_help"
onclick_l="team_share_choose"
over_color="%bot_chat_sheet_selection_normal"
over_col_pushed="%bot_chat_sheet_selection_pushed"
over_col_over="%bot_chat_sheet_selection_over"
color="255 255 255 255"
fontsize="8"
shadow="true"
multi_line="true"
multi_line_space="0"
line_maxw="136"
>
<ctrl style="skin_scroll" id="scroll_row" posref="TL TL" target_stepy="44" />
<group id="list" sizeref="w" posref="TL TL" max_h="184" x="8" y="0" w="-8" h="0" />
</group>
</group>
<group id="list_of_members" posref="TR TR" x="0" y="-6" w="156" h="184">
<instance template="t_team_share_member" id="tsm1" memberid="0" y="0" y1="4" />
<instance template="t_team_share_member" id="tsm2" memberid="1" y="-20" y1="-16" />
@ -698,6 +901,7 @@
<instance template="t_team_share_member" id="tsm7" memberid="6" y="-120" y1="-116" />
<instance template="t_team_share_member" id="tsm8" memberid="7" y="-140" y1="-136" />
</group>
<group id="tooltips" posref="TL TL" x="0" y="0" sizeref="w" h="190">
<ctrl type="tooltip" id="ttselect" tooltip="uiTS_Select" color="255 255 255 255" posref="TL TL" x="8" y="0" w="18" h="190" />
<ctrl type="tooltip" id="ttitems" tooltip="uiTS_Items" posparent="ttselect" color="255 255 255 255" posref="TR TL" w="183" h="190" />
@ -705,56 +909,126 @@
<ctrl type="tooltip" id="ttchance" tooltip="uiTS_Chances" posparent="tttimes" color="255 255 255 255" posref="TR TL" w="36" h="190" />
<ctrl type="tooltip" id="ttvalid" tooltip="uiTS_Valids" posparent="ttchance" color="255 255 255 255" posref="TR TL" w="161" h="190" />
</group>
<ctrl style="button_ok" posref="BM BM" y="2" onclick_l="team_share_valid" hardtext="uiValidate" />
</group>
</group>
<tree node="team_share" />
<!-- ************* -->
<!-- ** DEFENSE ** -->
<!-- ************* -->
<proc id="defense_active">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:DEFENSE|value=1" />
</proc>
<proc id="defense_deactive">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:DEFENSE|value=0" />
</proc>
<style style="defense_armor" type="sheet" menu_r="%self_item_modal_menu" selection_group="inventory_selection" auto_grayed="false" />
<style style="defense_armor"
type="sheet" menu_r="%self_item_modal_menu" selection_group="inventory_selection" auto_grayed="false" />
<template name="defense_value" x="0" y="1" w="40" h="12" posref="BM BM" keep="true" id="" val_defense="" parent="">
<group id="#id" posref="#posref" w="#w" h="#h" x="#x" y="#y" posparent="#posparent">
<view type="bitmap" id="back" posref="TL TL" texture="blank.tga" scale="true" sizeref="wh" color="0 0 0 80" global_color="false" />
<view type="text_number" id="value" posref="TM TM" x="2" y="-2" color="255 255 255 255" shadow="true" global_color="false" fontsize="10" value="#val_defense" />
<view type="text" id="sign" posref="ML MR" x="1" y="0" color="152 211 72 255" posparent="value" shadow="true" global_color="false" fontsize="10" hardtext="+" />
<view type="text_number" id="value" posref="TM TM" x="2" y="-2" color="255 255 255 255"
shadow="true" global_color="false" fontsize="10" value="#val_defense" />
<view type="text" id="sign" posref="ML MR" x="1" y="0" color="152 211 72 255" posparent="value"
shadow="true" global_color="false" fontsize="10" hardtext="+" />
<link expr="gt(@#val_defense,0)" target="sign:active" />
<link expr="ifthenelse(lt(@#val_defense,0),'-2',
ifthenelse(gt(@#val_defense,0),'1','0'))" target="value:x" />
<link expr="ifthenelse(lt(@#val_defense,0),'236 74 36 255',
ifthenelse(gt(@#val_defense,0),'152 211 72 255', '255 255 255 255'))" target="value:color" />
</group>
</template>
<group type="container" id="defense" w="94" h="256" title="uiDefenseTitle" min_w="94" max_w="94" min_h="236" max_h="236" resizer="false" locked="true" header_active="true" right_button="true" movable="true" active="false" opened="true" openable="false" global_color="false" header_color="UI:SAVE:WIN:COLORS:INV" title_class="formated" on_active="proc" on_active_params="defense_active" on_deactive="proc" on_deactive_params="defense_deactive">
<group id="header_closed" x="0" y="0" h="12" posref="TL TL"></group>
<group id="header_opened" x="0" y="0" w="86" h="248" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color">
<group type="container" id="defense" w="94" h="256" title="uiDefenseTitle" min_w="94" max_w="94" min_h="236" max_h="236"
resizer="false" locked="true" header_active="true" right_button="true"
movable="true" active="false" opened="true" openable="false"
global_color="false" header_color="UI:SAVE:WIN:COLORS:INV"
title_class="formated"
on_active="proc" on_active_params="defense_active"
on_deactive="proc" on_deactive_params="defense_deactive"
>
<group id="header_closed" x="0" y="0" h="12" posref="TL TL">
</group>
<group id="header_opened" x="0" y="0" w="86" h="248" posref="TL TL"
group_onclick_r="active_menu"
group_params_r="menu=ui:interface:base_menu_with_color">
<group id="styles" posref="TM TM" y="-20" sizeref="w" w="0" h="50">
<ctrl style="defense_style_button" id="style1" posref="TM TM" y="0" hardtext="uiStyle1" onclick_l="dodge" params_l="" />
<ctrl style="defense_style_button" id="style2" posref="BM BM" y="0" hardtext="uiStyle2" onclick_l="parry" params_l="" />
<ctrl style="defense_style_button" id="style1" posref="TM TM" y="0" hardtext="uiStyle1"
onclick_l="dodge" params_l="" />
<ctrl style="defense_style_button" id="style2" posref="BM BM" y="0" hardtext="uiStyle2"
onclick_l="parry" params_l="" />
<link expr="eq(@SERVER:DEFENSE:DEFENSE_MODE,0)" target="style1:pushed" />
<link expr="eq(@SERVER:DEFENSE:DEFENSE_MODE,1)" target="style2:pushed" />
</group>
<group id="armors" posref="BR BR" w="86" h="174" x="0" y="0">
<ctrl style="defense_armor" id="head" posref="TL TL" x="0" y="0" tx_noitem="W_AR_helmet.tga" item_slot="HEAD" value="%head" tooltip="uittDefenseHead" />
<ctrl style="defense_armor" id="chest" posref="BL TL" posparent="head" x="0" y="-2" tx_noitem="W_AR_gilet.tga" item_slot="CHEST" value="%chest" tooltip="uittDefenseChest" />
<ctrl style="defense_armor" id="legs" posref="BL TL" posparent="chest" x="0" y="-2" tx_noitem="W_AR_pantabotte.tga" item_slot="LEGS" value="%legs" tooltip="uittDefenseLegs" />
<ctrl style="defense_armor" id="feet" posref="BL TL" posparent="legs" x="0" y="-2" tx_noitem="W_AR_botte.tga" item_slot="FEET" value="%feet" tooltip="uittDefenseFeet" />
<ctrl style="defense_armor" id="arms" posref="TR TL" posparent="chest" x="2" y="11" tx_noitem="W_AR_armpad.tga" item_slot="ARMS" value="%arms" tooltip="uittDefenseArms" />
<ctrl style="defense_armor" id="hands" posref="BL TL" posparent="arms" x="0" y="-2" tx_noitem="W_AR_hand.tga" item_slot="HANDS" value="%hands" tooltip="uittDefenseHands" />
<ctrl style="defense_armor" id="head" posref="TL TL" x="0" y="0"
tx_noitem="W_AR_helmet.tga" item_slot="HEAD" value="%head" tooltip="uittDefenseHead" />
<ctrl style="defense_armor" id="chest" posref="BL TL" posparent="head" x="0" y="-2"
tx_noitem="W_AR_gilet.tga" item_slot="CHEST" value="%chest" tooltip="uittDefenseChest" />
<ctrl style="defense_armor" id="legs" posref="BL TL" posparent="chest" x="0" y="-2"
tx_noitem="W_AR_pantabotte.tga" item_slot="LEGS" value="%legs" tooltip="uittDefenseLegs" />
<ctrl style="defense_armor" id="feet" posref="BL TL" posparent="legs" x="0" y="-2"
tx_noitem="W_AR_botte.tga" item_slot="FEET" value="%feet" tooltip="uittDefenseFeet" />
<ctrl style="defense_armor" id="arms" posref="TR TL" posparent="chest" x="2" y="11"
tx_noitem="W_AR_armpad.tga" item_slot="ARMS" value="%arms" tooltip="uittDefenseArms" />
<ctrl style="defense_armor" id="hands" posref="BL TL" posparent="arms" x="0" y="-2"
tx_noitem="W_AR_hand.tga" item_slot="HANDS" value="%hands" tooltip="uittDefenseHands" />
<!-- BUTTONS TO DEFINE DEFENSE TARGET -->
<ctrl id="all" type="text_button" button_type="radio_button" posref="BR BR" wmin="42" y="0" tx_normal="w_defense_normal" tx_pushed="w_defense" tx_over="w_defense" text_y="-2" fontsize="12" shadow="true" hardtext="uiDefenseReset" color="255 255 255 255" col_over="255 255 255 255" col_pushed="255 190 0 255" global_color_normal="true" global_color_over="true" global_color_pushed="false" text_color_normal="255 255 255 160" text_color_pushed="255 255 255 255" text_color_over="255 255 255 255" text_shadow_color_normal="0 0 0 255" text_shadow_color_pushed="0 0 0 255" text_shadow_color_over="0 0 0 255" text_global_color_normal="true" text_global_color_pushed="false" text_global_color_over="true" onclick_l="select_protected_slot" params_l="UNDEFINED" />
<ctrl id="all" type="text_button" button_type="radio_button" posref="BR BR" wmin="42" y="0"
tx_normal="w_defense_normal" tx_pushed="w_defense" tx_over="w_defense"
text_y="-2" fontsize="12" shadow="true" hardtext="uiDefenseReset"
color="255 255 255 255" col_over="255 255 255 255" col_pushed="255 190 0 255"
global_color_normal="true" global_color_over="true" global_color_pushed="false"
text_color_normal="255 255 255 160"
text_color_pushed="255 255 255 255"
text_color_over="255 255 255 255"
text_shadow_color_normal="0 0 0 255"
text_shadow_color_pushed="0 0 0 255"
text_shadow_color_over="0 0 0 255"
text_global_color_normal="true"
text_global_color_pushed="false"
text_global_color_over="true"
onclick_l="select_protected_slot" params_l="UNDEFINED" />
<ctrl style="defense_button" id="head_button" posparent="head" posref="MM MM" onclick_l="select_protected_slot" params_l="Head" />
<ctrl style="defense_button" id="chest_button" posparent="chest" posref="MM MM" onclick_l="select_protected_slot" params_l="Body" />
<ctrl style="defense_button" id="arms_button" posparent="arms" posref="MM MM" onclick_l="select_protected_slot" params_l="Arms" />
<ctrl style="defense_button" id="hands_button" posparent="hands" posref="MM MM" onclick_l="select_protected_slot" params_l="Hands" />
<ctrl style="defense_button" id="legs_button" posparent="legs" posref="MM MM" onclick_l="select_protected_slot" params_l="Legs" />
<ctrl style="defense_button" id="feet_button" posparent="feet" posref="MM MM" onclick_l="select_protected_slot" params_l="Feet" />
<link expr="eq(@SERVER:DEFENSE:PROTECTED_SLOT,0)" target="all:pushed" />
<link expr="eq(@SERVER:DEFENSE:PROTECTED_SLOT,1)" target="head_button:pushed" />
<link expr="eq(@SERVER:DEFENSE:PROTECTED_SLOT,2)" target="chest_button:pushed" />
@ -762,6 +1036,7 @@
<link expr="eq(@SERVER:DEFENSE:PROTECTED_SLOT,4)" target="hands_button:pushed" />
<link expr="eq(@SERVER:DEFENSE:PROTECTED_SLOT,5)" target="legs_button:pushed" />
<link expr="eq(@SERVER:DEFENSE:PROTECTED_SLOT,6)" target="feet_button:pushed" />
<instance template="defense_value" id="head_val" posparent="head" val_defense="SERVER:DEFENSE:SLOTS:0:MODIFIER" />
<instance template="defense_value" id="chest_val" posparent="chest" val_defense="SERVER:DEFENSE:SLOTS:1:MODIFIER" />
<instance template="defense_value" id="arms_val" posparent="arms" val_defense="SERVER:DEFENSE:SLOTS:2:MODIFIER" />
@ -769,31 +1044,30 @@
<instance template="defense_value" id="legs_val" posparent="legs" val_defense="SERVER:DEFENSE:SLOTS:4:MODIFIER" />
<instance template="defense_value" id="feet_val" posparent="feet" val_defense="SERVER:DEFENSE:SLOTS:5:MODIFIER" />
</group>
</group>
<group id="content" w="0" h="0" />
</group>
<tree node="defense" />
<!-- ********************************************************************* -->
<!-- ** CUSTOM TEXT EDITION AND DISPLAY ** -->
<!-- ********************************************************************* -->
<!-- :NOTE: ids are groupName+"_suffix", change them with group name -->
<!-- element/type -->
<define id="edit_custom_edit_large" value="ui:interface:edit_custom:content:scroll_text:edit_large" />
<!-- group/ -->
<define id="edit_custom_edit_box_large" value="ui:interface:edit_custom:content:scroll_text:edit_large:eb" />
<!-- group/edit_box -->
<define id="edit_custom_edit_short" value="ui:interface:edit_custom:content:scroll_text:edit_short" />
<!-- group/ -->
<define id="edit_custom_edit_box_short" value="ui:interface:edit_custom:content:scroll_text:edit_short:eb" />
<!-- group/edit_box -->
<define id="edit_custom_display" value="ui:interface:edit_custom:content:scroll_text:display" />
<!-- view/text -->
<define id="edit_custom_edit_buttons" value="ui:interface:edit_custom:content:buttons_edit" />
<!-- group/ -->
<define id="edit_custom_close_button" value="ui:interface:edit_custom:content:button_close" />
<!-- ctrl/button -->
<define id="edit_custom_background" value="ui:interface:edit_custom:content:scroll_text:background" />
<!-- view/bitmap -->
<!-- :NOTE: ids are groupName+"_suffix", change them with group name --><!-- element/type -->
<define id="edit_custom_edit_large" value="ui:interface:edit_custom:content:scroll_text:edit_large" /><!-- group/ -->
<define id="edit_custom_edit_box_large" value="ui:interface:edit_custom:content:scroll_text:edit_large:eb" /><!-- group/edit_box -->
<define id="edit_custom_edit_short" value="ui:interface:edit_custom:content:scroll_text:edit_short" /><!-- group/ -->
<define id="edit_custom_edit_box_short" value="ui:interface:edit_custom:content:scroll_text:edit_short:eb" /><!-- group/edit_box -->
<define id="edit_custom_display" value="ui:interface:edit_custom:content:scroll_text:display" /><!-- view/text -->
<define id="edit_custom_edit_buttons" value="ui:interface:edit_custom:content:buttons_edit" /><!-- group/ -->
<define id="edit_custom_close_button" value="ui:interface:edit_custom:content:button_close" /><!-- ctrl/button -->
<define id="edit_custom_background" value="ui:interface:edit_custom:content:scroll_text:background" /><!-- view/bitmap -->
<!-- To know if EditCustom phrase is opened or not -->
<variable entry="UI:VARIABLES:ISACTIVE:PHRASE_EDIT_CUSTOM" type="sint32" value="0" />
<proc id="proc_phrase_edit_custom_opened">
@ -803,7 +1077,16 @@
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:PHRASE_EDIT_CUSTOM|value=0" />
<action handler="on_close_edit_custom" />
</proc>
<group type="container" id="edit_custom" w="432" h="400" title="uiItemTextEdition" global_color="false" line_at_bottom="false" movable="true" active="false" opened="true" openable="false" resizer="true" savable="false" header_color="UI:SAVE:WIN:COLORS:INFOS" on_active="proc" on_active_params="proc_phrase_edit_custom_opened" on_deactive="proc" on_deactive_params="proc_phrase_edit_custom_closed" pop_min_w="432" pop_min_h="128" pop_max_w="800" pop_max_h="600">
<group
type="container" id="edit_custom"
w="432" h="400" title="uiItemTextEdition" global_color="false" line_at_bottom="false"
movable="true" active="false" opened="true" openable="false" resizer="true" savable="false"
eader_color="UI:SAVE:WIN:COLORS:INFOS"
on_active="proc" on_active_params="proc_phrase_edit_custom_opened"
on_deactive="proc" on_deactive_params="proc_phrase_edit_custom_closed"
pop_min_w="432" pop_min_h="128" pop_max_w="800" pop_max_h="600"
>
<group id="header_closed" x="0" y="0" child_resize_w="true" h="16" posref="TL TL" />
<group id="header_opened" x="0" y="0" child_resize_w="true" h="16" posref="TL TL" />
<group id="content" x="0" y="0" sizeref="wh" w="0" h="0" posref="TL TL">
@ -820,6 +1103,7 @@
<instance id="buttons_edit" template="button_ok_cancel" posref="BR BR" x="-4" y="2" active="false" onclick_ok="validate_edit_custom" onclick_ok_param="ui:interface:edit_custom" onclick_cancel="hide" onclick_cancel_param="ui:interface:edit_custom" />
<ctrl id="button_close" style="button_cancel" x="-4" y="2" posref="BR BR" text_y="-2" onclick_l="hide" params_l="ui:interface:edit_custom" hardtext="uittClose" tooltip="uittClose" />
</group>
</group>
<tree node="edit_custom" />

Loading…
Cancel
Save