<?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_call
     label="Report Abuse"
     layout="topleft"
     name="Report Abuse">
       <on_click function="AvatarIcon.Action" parameter="report_abuse" />
       <on_enable function="AvatarIcon.Enable" parameter="report_abuse" />
    </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>
