Introduce menu_avs_list.xml and use it for Active Speakers list, About Land's ban/allow lists, Group profile general tab list, and chat participants lists.
This commit is contained in:
@@ -1383,7 +1383,7 @@ Select the thumbnail to choose a different texture.
|
||||
column_padding="0" draw_border="true" draw_heading="false" enabled="true"
|
||||
follows="top|bottom" heading_font="SansSerifSmall" heading_height="14"
|
||||
height="80" left="20" mouse_opaque="true" multi_select="true"
|
||||
name="AccessList" tool_tip="([LISTED] listed, [MAX] max)" width="195" />
|
||||
name="AccessList" tool_tip="([LISTED] listed, [MAX] max)" width="195" menu_file="menu_avs_list.xml"/>
|
||||
<button bottom_delta="-20" enabled="true" follows="bottom" font="SansSerifSmall"
|
||||
halign="center" height="16" label="Add..." label_selected="Add..."
|
||||
left_delta="5" mouse_opaque="true" name="add_allowed" scale_image="true"
|
||||
@@ -1403,7 +1403,7 @@ Select the thumbnail to choose a different texture.
|
||||
follows="top|bottom" heading_font="SansSerifSmall"
|
||||
heading_height="14" height="80" left_delta="0" mouse_opaque="true"
|
||||
multi_select="true" name="BannedList"
|
||||
tool_tip="([LISTED] listed, [MAX] max)" width="195" />
|
||||
tool_tip="([LISTED] listed, [MAX] max)" width="195" menu_file="menu_avs_list.xml"/>
|
||||
<button bottom_delta="-20" enabled="true" follows="bottom" font="SansSerifSmall"
|
||||
halign="center" height="16" label="Add..." label_selected="Add..."
|
||||
left_delta="5" mouse_opaque="true" name="add_banned" scale_image="true"
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<layout_panel mouse_opaque="false" auto_resize="true" user_resize="false" name="active_speakers_panel" height="232">
|
||||
<scroll_list bottom="25" top="232" left="0" right="-1"
|
||||
draw_stripes="false" follows="all" can_resize="true" column_padding="0" draw_heading="true"
|
||||
multi_select="false" name="speakers_list" search_column="1" sort_column="2">
|
||||
multi_select="false" name="speakers_list" search_column="1" sort_column="2" menu_file="menu_avs_list.xml">
|
||||
<column name="icon_speaking_status" sort="speaking_status" width="20" />
|
||||
<column dynamicwidth="true" label="Name" name="speaker_name" />
|
||||
<column label="" name="speaking_status" width="0" />
|
||||
|
||||
57
indra/newview/skins/default/xui/en-us/menu_avs_list.xml
Normal file
57
indra/newview/skins/default/xui/en-us/menu_avs_list.xml
Normal file
@@ -0,0 +1,57 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<menu name="Avatar Menu" create_jump_keys="true">
|
||||
<menu_item_call label="Profile" name="Profile">
|
||||
<on_click function="List.ShowProfile"/>
|
||||
<on_enable function="List.EnableAnySelected"/>
|
||||
</menu_item_call>
|
||||
<menu_item_call label="Pay" name="Pay">
|
||||
<on_click function="List.Pay"/>
|
||||
<on_enable function="List.EnableSingleSelected"/>
|
||||
</menu_item_call>
|
||||
<menu_item_call label="Instant Message" name="Instant Message">
|
||||
<on_click function="List.StartIM"/>
|
||||
<on_visible function="List.EnableSingleSelected"/>
|
||||
</menu_item_call>
|
||||
<menu_item_call label="Conference Chat" name="Conference Chat">
|
||||
<on_click function="List.StartConference"/>
|
||||
<on_visible function="List.EnableMultipleSelected"/>
|
||||
</menu_item_call>
|
||||
<menu_item_call label="Call" name="Call">
|
||||
<on_click function="List.StartCall"/>
|
||||
<on_enable function="List.EnableCall"/>
|
||||
<on_visible function="List.EnableSingleSelected"/>
|
||||
</menu_item_call>
|
||||
<menu_item_call label="Conference Call" name="Conference Call">
|
||||
<on_click function="List.StartAdhocCall"/>
|
||||
<on_enable function="List.EnableCall"/>
|
||||
<on_visible function="List.EnableMultipleSelected"/>
|
||||
</menu_item_call>
|
||||
<menu_item_call label="Add Friend" name="Add Friend">
|
||||
<on_click function="List.RequestFriendship"/>
|
||||
<on_enable function="List.EnableSingleSelected"/>
|
||||
<on_visible function="List.EnableIsNotFriend"/>
|
||||
</menu_item_call>
|
||||
<menu_item_call label="Remove Friend" name="Remove Friend">
|
||||
<on_click function="List.RemoveFriend"/>
|
||||
<on_enable function="List.EnableSingleSelected"/>
|
||||
<on_visible function="List.EnableIsFriend"/>
|
||||
</menu_item_call>
|
||||
<menu_item_call label="Offer Teleport" name="Offer Teleport">
|
||||
<on_click function="List.OfferTeleport"/>
|
||||
<on_enable function="List.EnableAnySelected"/>
|
||||
</menu_item_call>
|
||||
<menu_item_separator/>
|
||||
<menu_item_call label="Mute/Unmute" name="Mute/Unmute">
|
||||
<on_click function="List.Mute"/>
|
||||
<on_enable function="List.EnableMute"/>
|
||||
<on_visible function="List.EnableAnySelected"/>
|
||||
</menu_item_call>
|
||||
<menu_item_call label="Report Abuse" name="Report Abuse">
|
||||
<on_click function="List.ReportAbuse"/>
|
||||
<on_visible function="List.EnableSingleSelected"/>
|
||||
</menu_item_call>
|
||||
<menu_item_call label="Copy Key" name="Copy Key">
|
||||
<on_click function="List.CopyUUIDs"/>
|
||||
<on_enable function="List.EnableAnySelected"/>
|
||||
</menu_item_call>
|
||||
</menu>
|
||||
@@ -76,7 +76,7 @@ Hover your mouse over the options for more help.
|
||||
<name_list allow_calling_card_drop="false" background_visible="true" bottom_delta="-88"
|
||||
column_padding="0" draw_border="true" draw_heading="true"
|
||||
follows="left|top" heading_font="SansSerifSmall" heading_height="14"
|
||||
height="80" left="7" mouse_opaque="true" multi_select="false"
|
||||
height="80" left="7" mouse_opaque="true" menu_file="menu_avs_list.xml"
|
||||
name="visible_members" width="404">
|
||||
<column label="Member Name" name="name" relwidth="0.45" />
|
||||
<column label="Title" name="title" relwidth="0.30" />
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
</combo_box>
|
||||
</layout_panel>
|
||||
<layout_panel auto_resize="true" bottom="0" can_resize="false" height="120" min_height="100" name="moderate_chat_panel" top_delta="0" user_resize="false" visible="true" width="140">
|
||||
<scroll_list bottom="78" can_resize="false" column_padding="0" draw_heading="true" draw_stripes="false" follows="left|top|bottom|right" left="0" multi_select="false" name="speakers_list" right="140" search_column="1" sort_column="2" top="113">
|
||||
<scroll_list bottom="78" can_resize="false" column_padding="0" draw_heading="true" draw_stripes="false" follows="left|top|bottom|right" left="0" multi_select="false" name="speakers_list" right="140" search_column="1" sort_column="2" top="113" menu_file="menu_avs_list.xml">
|
||||
<column name="icon_speaking_status" sort="speaking_status" width="20"/>
|
||||
<column dynamicwidth="true" label="Name" name="speaker_name"/>
|
||||
<column label="" name="speaking_status" width="0"/>
|
||||
|
||||
Reference in New Issue
Block a user