summaryrefslogtreecommitdiff
path: root/indra/newview/skins/default/xui/en/menu_avatar_icon.xml
blob: 05ab4d35a0de1db0a1558565da38473b3c3f9ca3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<toggleable_menu
 height="101"
 layout="topleft"
 left="100"
 mouse_opaque="false"
 name="Avatar Icon Menu"
 top="724"
 visible="false"
 width="128">
    <menu_item_call
     label="View Profile"
     layout="topleft"
     name="Show Profile">
        <menu_item_call.on_click
         function="AvatarIcon.Action"
         parameter="profile" />
    </menu_item_call>
    <menu_item_call
     label="IM"
     layout="topleft"
     name="Send IM">
        <menu_item_call.on_click
         function="AvatarIcon.Action"
         parameter="im" />
    </menu_item_call>
    <menu_item_call
     label="Offer teleport"
     layout="topleft"
     name="Offer Teleport">
        <on_click function="AvatarIcon.Action" parameter="teleport"/>
    </menu_item_call>
    <menu_item_call
     label="Request Teleport"
     layout="topleft"
     name="Request Teleport">
        <on_click function="AvatarIcon.Action" parameter="request_teleport"/>      
    </menu_item_call>
    <menu_item_call
     label="Voice call"
     layout="topleft"
     name="Voice Call">
        <on_click function="AvatarIcon.Action" parameter="voice_call"/>
    </menu_item_call>
    <menu_item_call
     label="Chat history..."
     layout="topleft"
     name="Chat History">
        <on_click function="AvatarIcon.Action" parameter="chat_history"/>   
    </menu_item_call>
    <menu_item_separator layout="topleft" name="separator_chat_history"/>
    <menu_item_call
     label="Add friend"
     layout="topleft"
     name="Add Friend">
        <menu_item_call.on_click
         function="AvatarIcon.Action"
         parameter="add" />
    </menu_item_call>
    <menu_item_call
     label="Remove friend"
     layout="topleft"
     name="Remove Friend">
        <menu_item_call.on_click
         function="AvatarIcon.Action"
         parameter="remove" />
    </menu_item_call>
    <menu_item_call
     label="Invite to group..."
     layout="topleft"
     name="Invite Group">
      <on_click function="AvatarIcon.Action" parameter="invite_to_group" />   
    </menu_item_call>
    <menu_item_separator layout="topleft" name="separator_invite_to_group"/>
    <menu_item_call
     label="Zoom In"
     layout="topleft"
     name="Zoom In">
      <on_click function="AvatarIcon.Action" parameter="zoom_in" />
    </menu_item_call>
    <menu_item_call
     label="Map"
     layout="topleft"
     name="Map">
       <on_click function="AvatarIcon.Action" parameter="map" />
    </menu_item_call>
    <menu_item_call
     label="Share"
     layout="topleft"
     name="Share">
       <on_click function="AvatarIcon.Action" parameter="share" />
    </menu_item_call>
    <menu_item_call
     label="Pay"
     layout="topleft"
     name="Pay">
       <on_click function="AvatarIcon.Action" parameter="pay" />
    </menu_item_call>
    <menu_item_check
     label="Block Voice"
     layout="topleft"
     name="Block Unblock">
       <on_click function="AvatarIcon.Action" parameter="block_unblock" />
       <on_check function="AvatarIcon.Check" parameter="is_blocked" />
    </menu_item_check>
    <menu_item_check
     label="Block Text"
     layout="topleft"
     name="Mute Text">
       <on_click function="AvatarIcon.Action" parameter="mute_unmute" />
       <on_check function="AvatarIcon.Check" parameter="is_muted" />   
    </menu_item_check>
    <menu_item_separator layout="topleft" name="Moderator Options Separator"/>
    <context_menu
     label="Moderator Options"
     layout="topleft"
     name="Moderator Options">
      <menu_item_check
       label="Allow text chat"
       layout="topleft"
       name="AllowTextChat">
        <on_check function="AvatarIcon.Check" parameter="is_allowed_text_chat" />
        <on_click function="AvatarIcon.Action" parameter="toggle_allow_text_chat" />
        <on_enable function="AvatarIcon.Enable" parameter="can_allow_text_chat" />
      </menu_item_check>
      <menu_item_call
       label="Mute this participant"
       layout="topleft"
       name="ModerateVoiceMuteSelected">
        <on_click function="AvatarIcon.Action" parameter="group_mute" />
        <on_enable function="AvatarIcon.Enable" parameter="can_mute" />
        <on_visible function="AvatarIcon.Visible" parameter="show_mute" />
      </menu_item_call>
      <menu_item_call
       label="Unmute this participant"
       layout="topleft"
       name="ModerateVoiceUnMuteSelected">
        <on_click function="AvatarIcon.Action" parameter="group_unmute" />
        <on_enable function="AvatarIcon.Enable" parameter="can_unmute" />
        <on_visible function="AvatarIcon.Visible" parameter="show_unmute" />
      </menu_item_call>
    </context_menu>
    <menu_item_separator layout="topleft" name="Group Ban Separator"/>
    <menu_item_call
     label="Ban member"
     layout="topleft"
     name="BanMember">
      <on_click function="AvatarIcon.Action" parameter="ban_member" />
      <on_enable function="AvatarIcon.Enable" parameter="can_ban_member" />
    </menu_item_call>
</toggleable_menu>