<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<panel
    border="true"
    height="408"
    label="Text Chat"
    layout="topleft"
    left="102"
    name="chat"
    top="1"
    width="517">
    
  <check_box
      control_name="ChatAutocompleteGestures"
      height="16"
      initial_value="true"
      label="Auto-complete gestures in nearby chat"
      layout="topleft"
      top="17"
      left="13"
      name="auto_complete_gestures"
      width="330">
  </check_box>

  <panel
      border="false"
      height="60"
      layout="topleft"
      name="general_chat_settings" 
      top="10"
      left="13"
      width="517">

    <check_box
        control_name="PlayTypingAnim"
        height="16"
        initial_value="true"
        label="Play typing animation when chatting"
        layout="topleft"
        top="0"
        name="play_typing_animation"
        width="330">
    </check_box>

    <check_box
        enabled="false"
        height="16"
        label="Only friends and groups can call or IM me"
        layout="topleft"
        name="voice_call_friends_only_check"
        top_pad="6"
        width="350">     
    </check_box>

    <text
       font="SansSerifSmall"
       height="16"
       layout="topleft"
       length="1"       
       name="email_settings"
       skip_link_underline="true"
       top_pad="6"
       left_delta="2"
       type="string"
       width="350">
      [https://accounts.secondlife.com/change_email Email me IMs when I'm offline]
    </text>

    <text
        layout="topleft"
        left="389"
        height="12"
        name="font_size"
        width="120"
        top="0">
      Font size:
    </text>

    <combo_box
        control_name="ChatFontSize"
        height="23"
        layout="topleft"
        left="385"
        name="chat_font_size"
        top_pad="5"
        width="100">
      <item
          label="Small"
          name="Small"
          value="0"/>
      <item
          label="Medium"
          name="Medium"
          value="1"/>
      <item
          label="Large"
          name="Large"
          value="2"/>  
    </combo_box>

    <check_box
        control_name="UseChatBubbles"
        height="16"
        label="Bubble Chat"
        layout="topleft"
        top_pad="4"
        left="340"
        name="bubble_text_chat"
        width="330">
    </check_box>
      
  </panel>

  <panel
      border="false"
      height="165"
      layout="topleft"
      name="im_notification_settings" 	
      left="13"
      width="517">

    <text
        layout="topleft"
        height="12"
        name="friend_ims"
        width="145"
        left="0"
        top_pad="13">
      Friend IMs:
    </text>
    <combo_box
        control_name="NotificationFriendIMOptions"
        height="23"
        layout="topleft"
        left_pad="5"
        top_delta="-6"
        name="FriendIMOptions"
        width="223">
      <item
          label="Open Conversations window"
          name="OpenConversationsWindow"
          value="openconversations"/>      
      <item
          label="Pop up the message"
          name="PopUpMessage"
          value="toast"/>
      <item
          label="Flash toolbar button"
          name="FlashToolbarButton"
          value="flash"/>
      <item
          label="No action"
          name="NoAction"
          value="noaction"/>
    </combo_box>
    <check_box
        control_name="PlaySoundFriendIM"
        height="23"
        label="Play sound"
        layout="topleft"
        name="play_sound_friend_im"
        left_pad="7"
        top_delta="-3"
        width="28">
    </check_box>
    <text
        layout="topleft"
        height="12"
        name="non_friend_ims"
        width="145"
        left="0"
        top_pad="11">
      Non-friend IMs:
    </text>
    <combo_box
        control_name="NotificationNonFriendIMOptions"
        height="23"
        layout="topleft"
        left_pad="5"
        top_delta="-6"
        name="NonFriendIMOptions"
        width="223">
      <item
          label="Open Conversations window"
          name="OpenConversationsWindow"
          value="openconversations"/>
      <item
          label="Pop up the message"
          name="PopUpMessage"
          value="toast"/>
      <item
          label="Flash toolbar button"
          name="FlashToolbarButton"
          value="flash"/>
      <item
          label="No action"
          name="NoAction"
          value="noaction"/>
    </combo_box>
    <check_box
        control_name="PlaySoundNonFriendIM"
        height="23"
        label="Play sound"
        layout="topleft"
        name="play_sound_non_friend_im"
        left_pad="7"
        top_delta="-3"
        width="28">
    </check_box>
    <text
        layout="topleft"
        left="0"
        height="13"
        name="conference_ims"
        width="145"
        top_pad="11">
      Conference IMs:
    </text>
    <combo_box
        control_name="NotificationConferenceIMOptions"
        height="23"
        layout="topleft"
        left_pad="5"
        top_delta="-6"
        name="ConferenceIMOptions"
        width="223">
      <item
          label="Open Conversations window"
          name="OpenConversationsWindow"
          value="openconversations"/>
      <item
          label="Pop up the message"
          name="PopUpMessage"
          value="toast"/>
      <item
          label="Flash toolbar button"
          name="FlashToolbarButton"
          value="flash"/>
      <item
          label="No action"
          name="NoAction"
          value="noaction"/>
    </combo_box>
    <check_box
        control_name="PlaySoundConferenceIM"
        height="23"
        label="Play sound"
        layout="topleft"
        name="play_sound_conference_im"
        left_pad="7"
        top_delta="-3"
        width="28">
    </check_box>
    <text
        layout="topleft"
        left="0"
        height="13"
        name="group_chat"
        width="145"
        top_pad="11">
      Group chat:
    </text>
    <combo_box
        control_name="NotificationGroupChatOptions"
        height="23"
        layout="topleft"
        left_pad="5"
        top_delta="-6"
        name="GroupChatOptions"
        width="223">
      <item
          label="Open Conversations window"
          name="OpenConversationsWindow"
          value="openconversations"/>
      <item
          label="Pop up the message"
          name="PopUpMessage"
          value="toast"/>
      <item
          label="Flash toolbar button"
          name="FlashToolbarButton"
          value="flash"/>
      <item
          label="No action"
          name="NoAction"
          value="noaction"/>
    </combo_box>
    <check_box
        control_name="PlaySoundGroupChatIM"
        height="23"
        label="Play sound"
        layout="topleft"
        name="play_sound_group_chat_im"
        left_pad="7"
        top_delta="-3"
        width="28">
    </check_box>
    <text
        layout="topleft"
        left="0"
        height="12"
        name="nearby_chat"
        width="145"
        top_pad="11">
      Nearby chat:
    </text>
    <combo_box
        control_name="NotificationNearbyChatOptions"
        height="23"
        layout="topleft"
        left_pad="5"
        top_delta="-6"
        name="NearbyChatOptions"
        width="223">
      <item
          label="Open Conversations window"
          name="OpenConversationsWindow"
          value="openconversations"/>
      <item
          label="Pop up the message"
          name="PopUpMessage"
          value="toast"/>
      <item
          label="Flash toolbar button"
          name="FlashToolBarButton"
          value="flash"/>
      <item
          label="No action"
          name="NoAction"
          value="noaction"/>
    </combo_box>
    <check_box
        control_name="PlaySoundNearbyChatIM"
        height="23"
        label="Play sound"
        layout="topleft"
        name="play_sound_nearby_chat_im"
        left_pad="7"
        top_delta="-3"
        width="28">
    </check_box>
    <text
        layout="topleft"
        left="0"
        height="12"
        name="object_ims"
        width="145"
        top_pad="11">
      Object IMs:
    </text>
    <combo_box
        control_name="NotificationObjectIMOptions"
        height="23"
        layout="topleft"
        left_pad="5"
        top_delta="-6"
        name="ObjectIMOptions"
        width="223">
      <item
          label="Open Conversations window"
          name="OpenConversationsWindow"
          value="openconversations"/>
      <item
          label="Pop up the message"
          name="PopUpMessage"
          value="toast"/>
      <item
          label="Flash toolbar button"
          name="FlashToolBarButton"
          value="flash"/>
      <item
          label="No action"
          name="NoAction"
          value="noaction"/>
    </combo_box>
    <check_box
        control_name="PlaySoundObjectIM"
        height="23"
        label="Play sound"
        layout="topleft"
        name="play_sound_object_im"
        left_pad="7"
        top_delta="-3"
        width="28">
    </check_box>
    <text
        layout="topleft"
        left="0"
        height="13"
        name="notifications_alert"
        width="500"
        top_pad="9"
        visible="true"
        text_color="DrYellow">
      To temporarily stop all notifications, use Communicate &gt; Do Not Disturb.
    </text>

  </panel>

  <panel
      border="false"
      height="50"
      layout="topleft"
      name="play_sound_settings"  	
      left="13"
      top_pad="10"
      width="517">

    <text
        layout="topleft"
        left="0"
        name="play_sound"
        width="100"
        top_pad="8"
        visible="true">
      Play sound:
    </text>
    <check_box
        control_name="PlaySoundNewConversation"
        height="16"
        label="New conversation"
        layout="topleft"
        left_pad="15"
        top_pad="-10"
        name="new_conversation"
        width="150" />
    <check_box
        control_name="PlaySoundIncomingVoiceCall"
        height="16"
        label="Incoming voice call"
        layout="topleft"
        top_pad="6"
        name="incoming_voice_call"
        width="150" />
    <check_box
        control_name="PlaySoundTeleportOffer"
        height="16"
        label="Teleport offer"
        layout="topleft"
        left_pad="35"
        top_pad="-38"
        name="teleport_offer"
        width="150" />
    <check_box
        control_name="PlaySoundInventoryOffer"
        height="16"
        label="Inventory offer"
        layout="topleft"
        top_pad="6"
        name="inventory_offer"
        width="150" />
    <view_border
        bevel_style="none"
        height="0"
        layout="topleft"
        left="0"
        name="cost_text_border"
        top_pad="7"
        width="492"/>
  </panel>

  <panel
      height="50"
      layout="topleft"
      name="log_settings" 	
      left="13"
      top_pad="10"
      width="505">

    <text
        name="logging_label"
        layout="topleft"
        left="0"
        text_color="White"
        height="12"
        top="5"
        width="55">
        Save:
    </text>

    <combo_box
        enabled="false"
        control_name="KeepConversationLogTranscripts"
        height="23"
        layout="topleft"
        left_pad="5"
        name="conversation_log_combo"
        top="0"
        width="165">
        <item
            name="log_and_transcripts"
            label="Log and transcripts"
            value="2"/>
        <item
            name="log_only"
            label="Log only"
            value="1"/>
        <item
            name="no_log_or_transcript"
            label="No log or transcripts"
            value="0"/>
    </combo_box>

    <button
        enabled="false"
        height="23"
        label="Clear log..."
        layout="topleft"
        left_pad="5"
        top="0"
        name="clear_log"
        width="110">
        <commit_callback
            function="Pref.ClearLog" />
    </button>
  
    <button
        enabled="false"
        height="23"
        label="Delete transcripts..."
        layout="topleft"
        left_pad="5"
        top="0"
        name="delete_transcripts"
        width="147">
        <button.commit_callback
            function="Pref.DeleteTranscripts" />
    </button>
  
    <text
        name="log_location_label"
        layout="topleft"
        left="0"
        text_color="White"
        height="12"
        top_pad="15"
        width="55">
        Location:
    </text>
  
    <line_editor
        control_name="InstantMessageLogPath"
        border_style="line"
        border_thickness="1"
        font="SansSerif"
        height="23"
        layout="topleft"
        left_pad="55"
        max_length_bytes="4096"
        name="log_path_string"
        top_delta="-5"
        width="185">
    </line_editor>
  
    <button
        enabled="false"
        follows="left|top"
        height="23"
        label="Browse..."
        label_selected="Browse"
        layout="topleft"
        left_pad="5"
        name="log_path_button"
        top_delta="0"
        width="112">
      <commit_callback function="Pref.LogPath" />
    </button>

  </panel>
  
  <button
      height="23"
      label="Translation..."
      layout="topleft"
      left="9"
      name="ok_btn"
      top="-29"
      width="170">
    <commit_callback
        function="Pref.TranslationSettings" />
  </button>
  <button
      height="23"
      layout="topleft"
      top_pad="-23"
      left_pad="5"
      name="autoreplace_showgui"
      commit_callback.function="Pref.AutoReplace"
      label="Auto-Replace..."
      width="150">
  </button>
  <button
      height="23"
      layout="topleft"
      top_pad="-23"
      left_pad="5"
      name="spellcheck_showgui"
      commit_callback.function="Pref.SpellChecker"
      label="Spell Checking..."
      width="150">
  </button>

</panel>
