<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<panel
 border="true"
 follows="left|top|right|bottom"
 height="408"
 label="Text Chat"
 layout="topleft"
 left="102"
 name="chat"
 top="1"
 width="517">
  <text
   follows="left|top"
   layout="topleft"
   left="30"
   height="12"
   name="font_size"
   width="120"
   top="10">
    Font size:
  </text>
  <radio_group
     height="30"
     layout="topleft"
     left="40"
	   control_name="ChatFontSize"
     name="chat_font_size"
     top_pad="0"
     width="440">
        <radio_item
         height="16"
         label="Small"
         layout="topleft"
         left="0"
         name="radio"
         value="0"
         top="10"
         width="125" />
        <radio_item
         height="16"
         label="Medium"
         layout="topleft"
         left_delta="145"
         name="radio2"
         value="1"
         top_delta="0"
         width="125" />
        <radio_item
         height="16"
         label="Large"
         layout="topleft"
         left_delta="170"
         name="radio3"
         value="2"
         top_delta="0"
         width="125" />
    </radio_group>

    <text
      follows="left|top"
      layout="topleft"
      left="30"
      height="12"
      name="font_colors" 
      top_pad="10" 
      width="120"
      >
    Font colors:
    </text>  
  
    <color_swatch
     can_apply_immediately="true"
     follows="left|top"
     height="47"
     layout="topleft"
     left="40"
     name="user"
     top_pad="10"
     width="44" >
		<color_swatch.init_callback
		 function="Pref.getUIColor"
		 parameter="UserChatColor" />
		<color_swatch.commit_callback
		 function="Pref.applyUIColor"
		 parameter="UserChatColor" />
	</color_swatch>
    <text
     type="string"
     length="1"
     follows="left|top"
     height="10"
     layout="topleft"
     left_pad="5"
     mouse_opaque="false"
     name="text_box1"
     top_delta="5"
     width="95">
        Me
    </text>
    <color_swatch
     can_apply_immediately="true"
     follows="left|top"
     height="47"
     layout="topleft"
     left="190"
     name="agent"
     top_pad="-17"
     width="44" >
		<color_swatch.init_callback
		 function="Pref.getUIColor"
		 parameter="AgentChatColor" />
		<color_swatch.commit_callback
		 function="Pref.applyUIColor"
		 parameter="AgentChatColor" />
	</color_swatch>
    <text
     type="string"
     length="1"
     follows="left|top"
     height="10"
     layout="topleft"
     left_pad="5"
     mouse_opaque="false"
     name="text_box2"
     top_delta="5"
     width="95">
        Others
    </text>
    <color_swatch
     can_apply_immediately="true"
     color="LtGray"
     follows="left|top"
     height="47"
     label_width="60"
     layout="topleft"
     left="360"
     name="im"
     top_pad="-17"
     width="44">
		<color_swatch.init_callback
		 function="Pref.getUIColor"
		 parameter="IMChatColor" />
		<color_swatch.commit_callback
		 function="Pref.applyUIColor"
		 parameter="IMChatColor" />
	</color_swatch>
	<text
     type="string"
     length="1"
     follows="left|top"
     height="10"
     layout="topleft"
     left_pad="5"
     mouse_opaque="false"
     name="text_box3"
     top_delta="5"
     width="95">
        IM
    </text>
    <color_swatch
     can_apply_immediately="true"
     color="LtGray"
     follows="left|top"
     height="47"
     label_width="44"
     layout="topleft"
     left="40"
     name="system"
     top_pad="40"
     width="44" >
		<color_swatch.init_callback
		 function="Pref.getUIColor"
		 parameter="SystemChatColor" />
		<color_swatch.commit_callback
		 function="Pref.applyUIColor"
		 parameter="SystemChatColor" />
	</color_swatch>
    <text
     type="string"
     length="1"
     follows="left|top"
     height="10"
     layout="topleft"
     left_pad="5"
     mouse_opaque="false"
     name="text_box4"
     top_delta="5"
     width="95">
        System
    </text>
    <color_swatch
     can_apply_immediately="true"
     color="Red"
     follows="left|top"
     height="47"
     layout="topleft"
     left="190"
     name="script_error"
     top_pad="-17"
     width="44">
		<color_swatch.init_callback
		 function="Pref.getUIColor"
		 parameter="ScriptErrorColor" />
		<color_swatch.commit_callback
		 function="Pref.applyUIColor"
		 parameter="ScriptErrorColor" />
	</color_swatch>
    <text
     type="string"
     length="1"
     follows="left|top"
     height="10"
     layout="topleft"
     left_pad="5"
     mouse_opaque="false"
     name="text_box5"
     top_delta="5"
     width="95">
        Errors
    </text>
    <color_swatch
     can_apply_immediately="true"
     color="EmphasisColor_35"
     follows="left|top"
     height="47"
     layout="topleft"
     left="360"
     name="objects"
     top_pad="-17"
     width="44" >
		<color_swatch.init_callback
		 function="Pref.getUIColor"
		 parameter="ObjectChatColor" />
		<color_swatch.commit_callback
		 function="Pref.applyUIColor"
		 parameter="ObjectChatColor" />
	</color_swatch>
    <text
     type="string"
     length="1"
     follows="left|top"
     height="10"
     layout="topleft"
     left_pad="5"
     mouse_opaque="false"
     name="text_box6"
     top_delta="5"
     width="95">
        Objects
    </text>
    <color_swatch
     can_apply_immediately="true"
     color="LtYellow"
     follows="left|top"
     height="47"
     layout="topleft"
     left="40"
     name="owner"
     top_pad="40"
     width="44" >
		<color_swatch.init_callback
		 function="Pref.getUIColor"
		 parameter="llOwnerSayChatColor" />
		<color_swatch.commit_callback
		 function="Pref.applyUIColor"
		 parameter="llOwnerSayChatColor" />
	</color_swatch>
    <text
     type="string"
     length="1"
     follows="left|top"
     height="10"
     layout="topleft"
     left_pad="5"
     mouse_opaque="false"
     name="text_box7"
     top_delta="5"
     width="95">
        Owner
    </text>
    <color_swatch
     can_apply_immediately="true"
     color="EmphasisColor"
     follows="left|top"
     height="47"
     layout="topleft"
     left="190"
     name="links"
     top_pad="-17"
     width="44" >
		<color_swatch.init_callback
		 function="Pref.getUIColor"
		 parameter="HTMLLinkColor" />
		<color_swatch.commit_callback
		 function="Pref.applyUIColor"
		 parameter="HTMLLinkColor" />
	</color_swatch>
    <text
     type="string"
     length="1"
     follows="left|top"
     height="10"
     layout="topleft"
     left_pad="5"
     mouse_opaque="false"
     name="text_box9"
     top_delta="5"
     width="95">
        URLs
    </text>
    <check_box
     control_name="PlayTypingAnim"
     height="16"
     initial_value="true"
     label="Play typing animation when chatting"
     layout="topleft"
     left="30"
     name="play_typing_animation"
     top_pad="40"
     width="400" />
    <check_box
     enabled="false"
     height="16"
     label="Email me IMs when I'm offline"
     layout="topleft"
     left_delta="0"
     name="send_im_to_email"
     top_pad="5"
     width="400" />
    <check_box
     enabled="false"
     height="16"
     label="Enable plain text chat history"
     layout="topleft"
     left_delta="0"
     name="plain_text_chat_history"
     top_pad="5"
     width="400" />
    <text
     follows="left|top"
     layout="topleft"
     left="30"
     height="20"
     width="120"
     top_pad="20">
     Show IMs in:
    </text>
    <text
     follows="left|top"
     layout="topleft"
     top_delta="0" 
     left="120" 
  	 height="20"
	   width="100"
     text_color="White_25"
	  >
      (requires restart)
      </text>
    <radio_group
     height="30"
     layout="topleft"
     left="40"
     control_name="ChatWindow"
     name="chat_window"
     top_pad="0"
     tool_tip="Show your Instant Messages in separate floaters, or in one floater with many tabs (Requires restart)"
     width="331">
     <radio_item
      height="16"
      label="Separate windows"
      layout="topleft"
      left="0"
      name="radio"
      value="0"
      top="0"
      width="150" />
     <radio_item
      height="16"
      label="Tabs"
      layout="topleft"
      left_delta="0"
      name="radio2"
      value="1"
      top_pad="5"
      width="150" />
    </radio_group>
</panel>