|
|
|
@ -985,7 +985,7 @@
|
|
|
|
|
<group type="menu"
|
|
|
|
|
id="user_chat_emote_menu"
|
|
|
|
|
extends="base_menu"
|
|
|
|
|
case_mode="%case_first_word_letter_up"
|
|
|
|
|
case_mode="%case_normal"
|
|
|
|
|
on_active="lua:game:updateEmoteMenu()">
|
|
|
|
|
<action id="uiEM_Wave"
|
|
|
|
|
name="uiQuickEmote" />
|
|
|
|
@ -1204,7 +1204,7 @@
|
|
|
|
|
tooltip_parent="win" />
|
|
|
|
|
<!-- Yes order is strange, but don't want to modify all the ugly hardcoded code -->
|
|
|
|
|
<ctrl style="tab_button_new"
|
|
|
|
|
id="tab7"
|
|
|
|
|
id="tab6"
|
|
|
|
|
posparent="tab3"
|
|
|
|
|
group="content:cb:universe"
|
|
|
|
|
hardtext="uitabChatUniverse"
|
|
|
|
@ -1216,7 +1216,7 @@
|
|
|
|
|
tooltip_parent="win" />
|
|
|
|
|
<ctrl style="tab_button_new"
|
|
|
|
|
id="tab4"
|
|
|
|
|
posparent="tab7"
|
|
|
|
|
posparent="tab6"
|
|
|
|
|
group="content:cb:sysinfo"
|
|
|
|
|
hardtext="uitabChatSysInfo"
|
|
|
|
|
onclick_r="set"
|
|
|
|
@ -1234,23 +1234,12 @@
|
|
|
|
|
params_l="user"
|
|
|
|
|
tooltip="uittChatUser"
|
|
|
|
|
tooltip_parent="win" />
|
|
|
|
|
<ctrl style="tab_button_new"
|
|
|
|
|
id="tab6"
|
|
|
|
|
posparent="tab5"
|
|
|
|
|
group="content:cb:yubo_chat"
|
|
|
|
|
hardtext="uitabChatYuboChat"
|
|
|
|
|
onclick_r="set"
|
|
|
|
|
params_r="dblink=UI:SAVE:ISDETACHED:YUBO_CHAT|value=1"
|
|
|
|
|
onclick_l="chat_group_filter"
|
|
|
|
|
params_l="yubo_chat"
|
|
|
|
|
tooltip="uittChatYubo"
|
|
|
|
|
tooltip_parent="win" />
|
|
|
|
|
<!-- Fixed number of dynamic chat allowed. force _firstpos and _nextpos to have correctly aligned tab-->
|
|
|
|
|
<vector template="temp_tab_dyn_chat"
|
|
|
|
|
_size="%max_dyn_chan_per_player"
|
|
|
|
|
id="tab_array0_$i"
|
|
|
|
|
nb="$i"
|
|
|
|
|
posparent="tab6"
|
|
|
|
|
posparent="tab5"
|
|
|
|
|
_firstpos="TR TL"
|
|
|
|
|
_nextpos="TR TL" />
|
|
|
|
|
<!-- Show or hide tabs : a tab is visible if it is not filtered into the user chat AND not detached -->
|
|
|
|
@ -1262,7 +1251,7 @@
|
|
|
|
|
target="tab1:active" />
|
|
|
|
|
<link expr="and(@UI:SAVE:ISENABLED:UNIVERSE_CHAT,
|
|
|
|
|
not(@UI:SAVE:ISDETACHED:UNIVERSE_CHAT))"
|
|
|
|
|
target="tab7:active" />
|
|
|
|
|
target="tab6:active" />
|
|
|
|
|
<link expr="and (and(%is_team_present, @UI:SAVE:ISENABLED:TEAM_CHAT),
|
|
|
|
|
not(@UI:SAVE:ISDETACHED:TEAM_CHAT))"
|
|
|
|
|
target="tab2:active" />
|
|
|
|
@ -1274,9 +1263,6 @@
|
|
|
|
|
target="tab4:active" />
|
|
|
|
|
<link expr="not(@UI:SAVE:ISDETACHED:USER_CHAT)"
|
|
|
|
|
target="tab5:active" />
|
|
|
|
|
<link expr="and(and(%is_yubo_chat_present, @UI:SAVE:ISENABLED:YUBO_CHAT),
|
|
|
|
|
not(@UI:SAVE:ISDETACHED:YUBO_CHAT))"
|
|
|
|
|
target="tab6:active" />
|
|
|
|
|
<!-- Show individual chat windows if needed -->
|
|
|
|
|
<link expr="and (@UI:SAVE:ISENABLED:AROUND_ME,
|
|
|
|
|
@UI:SAVE:ISDETACHED:AROUND_ME)"
|
|
|
|
@ -1298,9 +1284,6 @@
|
|
|
|
|
target="ui:interface:system_info:active" />
|
|
|
|
|
<link expr="@UI:SAVE:ISDETACHED:USER_CHAT"
|
|
|
|
|
target="ui:interface:user_chat:active" />
|
|
|
|
|
<link expr="and(and(%is_yubo_chat_present, @UI:SAVE:ISENABLED:YUBO_CHAT),
|
|
|
|
|
@UI:SAVE:ISDETACHED:YUBO_CHAT)"
|
|
|
|
|
target="ui:interface:yubo_chat:active" />
|
|
|
|
|
</group>
|
|
|
|
|
<view type="bitmap"
|
|
|
|
|
id="sep"
|
|
|
|
@ -1374,13 +1357,6 @@
|
|
|
|
|
y="0"
|
|
|
|
|
w="0"
|
|
|
|
|
h="0" />
|
|
|
|
|
<instance template="chat_box_mainchat"
|
|
|
|
|
id="yubo_chat"
|
|
|
|
|
posref="TL TL"
|
|
|
|
|
sizeref="wh"
|
|
|
|
|
y="0"
|
|
|
|
|
w="0"
|
|
|
|
|
h="0" />
|
|
|
|
|
<!-- Fixed number of dynamic chat allowed -->
|
|
|
|
|
<vector template="chat_box_mainchat"
|
|
|
|
|
id="dyn_chat$i"
|
|
|
|
@ -1413,7 +1389,7 @@
|
|
|
|
|
tooltip_parent="win"
|
|
|
|
|
onclick_l="select_chat_target"
|
|
|
|
|
params_l="menu=ui:interface:user_chat_target_menu|party_chats=false"
|
|
|
|
|
case_mode="%case_first_word_letter_up" />
|
|
|
|
|
case_mode="%case_normal" />
|
|
|
|
|
<ctrl style="text_button_16"
|
|
|
|
|
id="but_emote"
|
|
|
|
|
posref="BR TR"
|
|
|
|
@ -1982,7 +1958,7 @@
|
|
|
|
|
fontsize="10"
|
|
|
|
|
tooltip="uiAddTellerToFriendsToolip"
|
|
|
|
|
tooltip_parent="win" />
|
|
|
|
|
<ctrl style="button_ok"
|
|
|
|
|
<ctrl style="button_ok"
|
|
|
|
|
id="invite"
|
|
|
|
|
active="true"
|
|
|
|
|
x="-2"
|
|
|
|
@ -2101,10 +2077,6 @@
|
|
|
|
|
name="uiSystemInfo"
|
|
|
|
|
usergroup_l="chat_menu_button"
|
|
|
|
|
usergroup_params_l="chat_db=SYSTEM_INFO" />
|
|
|
|
|
<action id="yubo_chat"
|
|
|
|
|
name="uitabChatYuboChat"
|
|
|
|
|
usergroup_l="chat_menu_button"
|
|
|
|
|
usergroup_params_l="chat_db=YUBO_CHAT" />
|
|
|
|
|
<!-- Bit of a hack as vector is not supported inside a submenu -->
|
|
|
|
|
<action id="dyn0"
|
|
|
|
|
name="0"
|
|
|
|
@ -3205,13 +3177,6 @@
|
|
|
|
|
<tree node="debug_console">
|
|
|
|
|
</tree>
|
|
|
|
|
-->
|
|
|
|
|
<!-- ************* -->
|
|
|
|
|
<!-- * YUBO CHAT * -->
|
|
|
|
|
<!-- ************* -->
|
|
|
|
|
<proc id="yubo_chat_proc_close">
|
|
|
|
|
<action handler="set"
|
|
|
|
|
params="dblink=UI:SAVE:ISDETACHED:YUBO_CHAT|value=0" />
|
|
|
|
|
</proc>
|
|
|
|
|
<!-- **************** -->
|
|
|
|
|
<!-- * DYNAMIC CHAT * -->
|
|
|
|
|
<!-- **************** -->
|
|
|
|
|