<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<floater bottom="-380" can_close="true" can_drag_on_left="false" can_minimize="true"
     can_resize="true" height="350" left="400" min_height="200" min_width="340"
     mouse_opaque="true" name="avatarpicker" title="Choose Resident" width="375">
    <string
     name="not_found">
	&apos;[TEXT]&apos; not found
    </string>
    <string
     name="no_one_near">
	No one near
    </string>
    <string
     name="no_results">
	No results
    </string>
    <string
     name="searching">
	Searching...
    </string>
    <!-- For multiple person selection, use "Select" and "Close" 
      instead of "OK" and "Cancel" because "Cancel" still keeps the ones 
      you have already selected.  The code will show the appropriate
      set of buttons. -->
    <string name="Select">Select</string>
    <string name="Close">Close</string>

	<tab_container bottom="30" follows="left|right|top|bottom" height="300" left="4"
	     name="ResidentChooserTabs" tab_position="top" tab_width="65" width="365">
		<panel name="SearchPanel" label="Search"
			border="true" bottom="0" height="150" left="6" width="135"
			mouse_opaque="true">
			<text bg_visible="false" border_drop_shadow_visible="false" border_visible="false"
			     bottom="-24" drop_shadow_visible="true" follows="left|top"
			     font="SansSerifSmall" h_pad="0" halign="left" height="16" left="10"
			     mouse_opaque="true" name="InstructSearchResidentName" v_pad="0"
			     width="220">
				Type part of the resident&apos;s name:
			</text>
			<line_editor bevel_style="in" border_style="line"
			     border_thickness="1" bottom_delta="-20" enabled="true" follows="left|top|right"
			     font="SansSerifSmall" height="16" left="10" right="-120"
			     max_length="254" mouse_opaque="true" name="Edit"
			     width="132" />
			<button bottom_delta="-3" follows="top|right" font="SansSerif" halign="center"
			     height="20" label="Find" label_selected="Find" left_delta="20" right="-10"
			     mouse_opaque="true" name="Find" scale_image="TRUE" width="95" />
			<scroll_list background_visible="true" bottom_delta="-95" column_padding="5"
			     draw_border="true" draw_heading="false" draw_stripes="true"
			     follows="left|top|right|bottom" height="90" left="10" mouse_opaque="true"
			     multi_select="false" name="SearchResults" width="115" />
		</panel>

		<panel name="FriendsPanel" label="Friends"
			border="true" bottom="0" height="150" left="0" width="135" 
			mouse_opaque="true">
			<text bg_visible="false" border_drop_shadow_visible="false" border_visible="false"
			     bottom="-24" drop_shadow_visible="true" follows="left|top"
			     font="SansSerifSmall" h_pad="0" halign="left" height="16" left="10"
			     mouse_opaque="true" name="InstructSelectFriend" v_pad="0"
			     width="220">
				Select a person:
			</text>
			<button bottom_delta="-3" left_delta="25" width="90" height="20" follows="top|right" 
		           label="Refresh List" label_selected="Refresh List" halign="center"
		           font="SansSerif" mouse_opaque="true" name="RefreshFriends" scale_image="TRUE">
             <button.commit_callback
              function="Refresh.FriendList"/>
            </button>
			<scroll_list background_visible="true" bottom_delta="-115" column_padding="5"
			     draw_border="true" draw_heading="false" draw_stripes="true"
			     follows="left|top|right|bottom" height="110" left="10" mouse_opaque="true"
			     multi_select="false" name="Friends" width="115" />
		</panel>

    <panel name="NearMePanel" label="Near Me"
      border="true" bottom="0" height="240" left="6" width="135" mouse_opaque="true">
      <text bg_visible="false" border_drop_shadow_visible="false" border_visible="false"
           bottom="-24" drop_shadow_visible="true" follows="left|top"
           font="SansSerifSmall" h_pad="0" halign="left" height="16" left="10"
           mouse_opaque="true" name="InstructSelectResident" v_pad="0"
           width="220">
        Select nearby resident:
      </text>
      <button bottom_delta="-3" left_delta="25" width="90" height="20" follows="top|right" 
           label="Refresh List" label_selected="Refresh List" halign="center"
           font="SansSerif" mouse_opaque="true" name="Refresh" scale_image="TRUE" />
      <slider bottom_delta="-20" left="10" follows="left|top" width="175" height="15"
           name="near_me_range" label="Range" control_name="NearMeRange" 
           min_val="5" max_val="40" increment="1" initial_val="20" decimal_digits="0" />
      <text bg_visible="false" border_drop_shadow_visible="false" border_visible="false"
           bottom_delta="0" left="185" drop_shadow_visible="true" follows="left|top"
           font="SansSerifSmall" h_pad="0" halign="left" height="15"
           mouse_opaque="true" name="meters" v_pad="0"
           width="40">
        Meters
      </text>
      <scroll_list bottom_delta="-185" width="115" height="175" left="10" 
           follows="left|top|right|bottom" draw_border="true" draw_heading="false" 
           draw_stripes="true" column_padding="5" sort_column="0" mouse_opaque="true"
           background_visible="true" multi_select="false" name="NearMe"  />
    </panel>
    <panel name="KeyPanel" label="By UUID"
      border="true" bottom="0" height="240" left="6" width="135" mouse_opaque="true">
      <text bg_visible="false" border_drop_shadow_visible="false" border_visible="false"
           bottom="-24" drop_shadow_visible="true" follows="left|top"
           font="SansSerifSmall" h_pad="0" halign="left" height="16" left="10"
           mouse_opaque="true" name="InstructSelectResident" v_pad="0"
           width="220">
        Avatar or Group UUID:
      </text>
      <line_editor bevel_style="in" border_style="line"
			     border_thickness="1" bottom_delta="-20" enabled="true" follows="left|top"
			     font="SansSerifSmall" height="16" left="10"
			     max_length="36" mouse_opaque="true" name="EditUUID"
			     width="230" />
    </panel>
	</tab_container>

  	<button bottom="6" left="10" follows="left|bottom" font="SansSerif" halign="center"
	     width="95" height="20" label="OK" label_selected="OK" mouse_opaque="true"
	     name="ok_btn" scale_image="TRUE" />
	<button bottom_delta="0" right="240" follows="left|bottom" font="SansSerif" halign="center"
	     width="95" height="20" label="Cancel" label_selected="Cancel" mouse_opaque="true"
	     name="cancel_btn" scale_image="TRUE" />

</floater>
