<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<floater name="radar" title="Radar" control_name="ShowRadar"
	can_resize="true" can_minimize="true" can_close="true" can_drag_on_left="false"
	rect_control="FloaterRadarRect" min_width="300"	min_height="300">
	<string name="Title">Radar</string>
	<string name="TitleOneAvatar">Radar (1 Avatar)</string>
	<string name="TitleWithCount">Radar ([COUNT] Avatars)</string>

	<scroll_list name="avatar_list" menu_file="menu_radar.xml"
		    left="10" right="-10" top="-20" bottom="140" can_resize="true"
		    column_padding="0" follows="left|top|bottom|right"
		    draw_heading="true" multi_select="true" search_column="1"
		    tool_tip="Hold shift or control while clicking to select multiple avatars">
		<column name="marked" label="Mark" width="12" tool_tip="Marked avatars"/>
		<column name="avatar_name" label="Name" width="150" tool_tip="Hold shift or control while clicking to select multiple avatars"/>
		<column name="distance" label="Dist." width="48" tool_tip="Distance from your avatar (red=within chat range, yellow=within shout range, green=within draw distance)"/>
		<column name="position" label="Pos." width="60" tool_tip="Position (X, Y) within this sim, or general direction (cardinal point) for outside sims"/>
		<column name="altitude" label="Alt." width="48" tool_tip="Altitude"/>
    <column name="activity" label="Act." width="24" tool_tip="Activity"/>
    <column name="voice" image_overlay="inv_item_sound.tga" width="24" tool_tip="Voice Status"/>
    <column name="notes" image_overlay="inv_item_notecard.tga" width="24" tool_tip="Whether or not you've added notes to this avatar's profile"/>
		<column name="age" label="Age" width="45" tool_tip="Age"/>
		<column name="time" label="Time" width="52" tool_tip="Time since arrival in the sim."/>
    <column name="client" label="Client" width="80" dynamicwidth="true" tool_tip="Client the avatar is possibly using"/>
	</scroll_list>

	<tab_container border="false" bottom_delta="-130" height="120" left="6" mouse_opaque="false"
		       name="actions_tab_container" tab_position="top" tab_min_width="0" follows="left|right|bottom">
		<panel border="true" bottom_delta="-130" follows="left|top|right|bottom" height="255"
		       label="Avatar" left="1" mouse_opaque="true"
		     name="actions_tab" width="398">
			<!-- upper row -->
			<button
			       name="profile_btn"
			       label="Profile"
			       tool_tip="Show picture, groups, and other information"
			       left="10"
			       bottom_delta="-180"
			       width="80"
			       height="20"
			       font="SansSerifSmall"
			       follows="bottom|left"
			       />
			<button
			       name="track_btn"
			       label="(Un)Track"
			       tool_tip="Toggle tracking of this avatar's position"
			       left_delta="90"
			       bottom_delta="0"
			       width="80"
			       height="20"
			       font="SansSerifSmall"
			       follows="bottom|left"
			       />
			<button
			       name="get_key_btn"
			       label="Get Key"
			       tool_tip="Copies avatar's key to the clipboard"
			       left_delta="90"
			       bottom_delta="0"
			       width="80"
			       height="20"
			       font="SansSerifSmall"
			       follows="bottom|left"
			       />
			<!-- upper middle row -->
			<button
			       name="im_btn"
			       label="IM"
			       tool_tip="Open Instant Message session (Shift-Enter)"
			       left="10"
			       bottom_delta="-22"
			       width="80"
			       height="20"
			       font="SansSerifSmall"
			       follows="bottom|left"
			       />
			<button
			       name="offer_btn"
			       label="Offer TP"
			       tool_tip="Offer Teleport"
			       left_delta="90"
			       bottom_delta="0"
			       width="80"
			       height="20"
			       font="SansSerifSmall"
			       follows="bottom|left"
			       />
			<button
			       name="teleport_btn"
			       label="TP to"
			       tool_tip="Teleport to avatar's position (Ctrl-Enter)"
			       left_delta="90"
			       bottom_delta="0"
			       width="80"
			       height="20"
			       font="SansSerifSmall"
			       follows="bottom|left"
			       />			
			<!-- lower middle row-->
			<button
			       name="mark_btn"
			       label="(Un)Mark"
			       tool_tip="(Un)Mark this avatar in the list"
			       left="10"
			       bottom_delta="-22"
			       width="80"
			       height="20"
			       font="SansSerifSmall"
			       follows="bottom|left"
			       />
			<button
			       name="prev_marked_btn"
			       label="Prev Marked"
			       tool_tip="Focus camera on previous marked avatar"
			       left_delta="90"
			       bottom_delta="0"
			       width="80"
			       height="20"
			       font="SansSerifSmall"
			       follows="bottom|left"
			       />
			<button
			       name="next_marked_btn"
			       label="Next Marked"
			       tool_tip="Focus camera on next marked avatar"
			       left_delta="90"
			       bottom_delta="0"
			       width="80"
			       height="20"
			       font="SansSerifSmall"
			       follows="bottom|left"
			       />
			<!-- lower row-->
			<button
			       name="focus_btn"
			       label="Focus"
			       tool_tip="Focus camera on this avatar in the list (Enter)"
			       left="10"
			       bottom_delta="-22"
			       width="80"
			       height="20"
			       font="SansSerifSmall"
			       follows="bottom|left"
			       />
			<button
			       name="prev_in_list_btn"
			       label="Previous"
			       tool_tip="Focus camera on previous avatar in list"
			       left_delta="90"
			       bottom_delta="0"
			       width="80"
			       height="20"
			       font="SansSerifSmall"
			       follows="bottom|left"
			       />
			<button
			       name="next_in_list_btn"
			       label="Next"
			       tool_tip="Focus camera on next avatar in list"
			       left_delta="90"
			       bottom_delta="0"
			       width="80"
			       height="20"
			       font="SansSerifSmall"
			       follows="bottom|left"
			       />

		</panel>

		<panel border="true" bottom_delta="-150" follows="left|top|right|bottom" height="255"
		       label="Alerts" left="1" mouse_opaque="true"
		       name="alerts_tab" width="398">
			<check_box height="16" label="Display alerts in chat"
				   left="10" bottom_delta="-176" name="radar_alerts" 
				   width="200" follows="bottom|left"
				   hidden="false" mouse_opaque="true" font="SansSerifSmall"
				   initial_value="true" enabled="true" radio_style="false" 
				   control_name="RadarChatAlerts"
				   tool_tip="Announce alerts about incoming and outgoing avatars in chat" />

			<check_box height="16" label="Avatars entering/exiting the sim"
				   left="20" bottom_delta="-18" name="alerts_sim"
				   width="200" follows="bottom|left"
				   hidden="false" mouse_opaque="true" font="SansSerifSmall"
				   initial_value="true" enabled="true" radio_style="false"
				   control_name="RadarAlertSim"
				   tool_tip="Report avatars entering or exiting the sim" />

			<check_box height="16" label="Avatars within/beyond the draw distance"
				   left="20" bottom_delta="-18" name="alerts_draw"
				   width="200" follows="bottom|left"
				   hidden="false" mouse_opaque="true" font="SansSerifSmall"
				   initial_value="true" enabled="true" radio_style="false"
				   control_name="RadarAlertDraw"
				   tool_tip="Report avatars getting within or beyond the draw distance" />

			<check_box height="16" label="Avatars within/beyond the shout range"
				   left="20" bottom_delta="-18" name="alerts_chat"
				   width="200" follows="bottom|left"
				   hidden="false" mouse_opaque="true" font="SansSerifSmall"
				   initial_value="true" enabled="true" radio_style="false"
				   control_name="RadarAlertShoutRange"
				   tool_tip="Report avatars getting within or beyond the shout range" />

			<check_box height="16" label="Avatars within/beyond the chat range"
				   left="20" bottom_delta="-18" name="alerts_chat"
				   width="200" follows="bottom|left"
				   hidden="false" mouse_opaque="true" font="SansSerifSmall"
				   initial_value="true" enabled="true" radio_style="false"
				   control_name="RadarAlertChatRange"
				   tool_tip="Report avatars getting within or beyond the chat range" />
		</panel>

		<panel border="true" bottom_delta="-130" follows="left|top|right|bottom" height="255"
		       label="Moderation" left="1" mouse_opaque="true"
		       name="land_tab" width="398">
			
			<!-- Upper row -->
			<button
			       name="mute_btn"
			       label="(Un)Mute"
			       tool_tip="Mute or unmute this avatar (muted avatars' names are highlighted in red in the list)."
			       left="10"
			       bottom_delta="-200"
			       width="80"
			       height="20"
			       font="SansSerifSmall"
			       follows="bottom|left"
			       />
			<button
			       name="freeze_btn"
			       label="Freeze"
			       tool_tip="Freeze the avatar, preventing it from moving"
			       left_delta="90"
			       bottom_delta="0"
			       width="80"
			       height="20"
			       font="SansSerifSmall"
			       follows="bottom|left"
			       />
			<button
			       name="ar_btn"
			       label="AR"
			       tool_tip="Report abuse on this avatar"
			       left_delta="90"
			       bottom_delta="0"
			       width="80"
			       height="20"
			       font="SansSerifSmall"
			       follows="bottom|left"
			       />
			<!-- Lower row -->
			<button
			       name="eject_btn"
			       label="Eject"
			       tool_tip="Eject the avatar from the parcel"
			       left="10"
			       bottom_delta="-24"
			       width="80"
			       height="20"
			       font="SansSerifSmall"
			       follows="bottom|left"
			       />
			
			<button
			       name="estate_eject_btn"
			       label="Eject from estate"
			       tool_tip="Eject this avatar from the estate"
			       left_delta="90"
			       bottom_delta="0"
			       width="170"
			       height="20"
			       font="SansSerifSmall"
			       follows="bottom|left"
			       />
			<!-- Lowest row -->
			<button
			       name="estate_ban_btn"
			       label="Eject And Ban From Estate"
			       tool_tip="Eject and Ban this avatar from the estate"
			       left="10"
			       bottom_delta="-24"
			       width="260"
			       height="20"
			       font="SansSerifSmall"
			       follows="bottom|left"
			       />
		</panel>

		<panel border="true" bottom_delta="-150" follows="left|top|right|bottom" height="255"
		       label="Options" left="1" mouse_opaque="true"
		       name="options_tab" width="398">
			<check_box height="16" label="Update" control_name="RadarUpdateEnabled"
				   left="10" bottom_delta="-180" name="update_enabled_cb" 
				   width="200" follows="bottom|left"
				   hidden="false" mouse_opaque="true" font="SansSerifSmall"
				   initial_value="true" enabled="true" radio_style="false" 
				   tool_tip="Set whether the avatar list should update" />
			<check_box height="16" label="Announce even when closed"
				   left="10" bottom_delta="-20" name="keep_open"
				   width="200" follows="bottom|left"
				   hidden="false" mouse_opaque="true" font="SansSerifSmall"
				   initial_value="true" enabled="true" radio_style="false"
				   control_name="RadarKeepOpen"
				   tool_tip="Hides floater instead of closing to still announce in chat" />
			<check_box height="16" label="Announce keys to HUD"
				   left="10" bottom_delta="-20" name="radar_chat_keys" 
				   width="200" follows="bottom|left"
				   hidden="false" mouse_opaque="true" font="SansSerifSmall"
				   initial_value="true" enabled="true" radio_style="false" 
				   control_name="RadarChatKeys"
				   tool_tip="Set whether to send keys of avatars to LSL scripts" />
			<button
			       name="send_keys_btn"
			       label="Announce now"
			       tool_tip="Send all keys to HUD now"
			       left_delta="150"
			       bottom_delta="-2"
			       width="100"
			       height="20"
			       font="SansSerifSmall"
			       follows="bottom|left"
			       />
		</panel>

		<panel border="true" bottom_delta="-150" follows="left|top|right|bottom" height="255"
		       label="Extras" left="1" mouse_opaque="true" name="extras_tab" width="398">
			<check_box label="Avatar Age Alert" left_delta="5" bottom="80" name="agealert"
				width="200" follows="bottom|left" control_name="RadarAlertAge" tool_tip="Enable Avatar Age Alert" />
			<spinner bottom_delta="-1" decimal_digits="0" follows="bottom|left" height="16"
				left_delta="120" increment="1" initial_val="3" min_val="0" max_val="9999"
				name="AgeAlertDays" label="Age Threshold" label_width="80"
				tool_tip="The minimum amount of days an avatar can have spent on the grid without triggering an alert" width="130" control_name="AvatarAgeAlertDays" />
			<text follows="bottom|left" left="2" name="hide_columns">Hide columns:</text>
				<check_box follows="bottom|left" bottom_delta="-25" left="5" control_name="RadarColumnMarkHidden" name="hide_mark" label="Mark"/>
				<check_box follows="bottom|left" bottom_delta="0" left_delta="70" control_name="RadarColumnPositionHidden" name="hide_pos" label="Pos." tool_tip="Position"/>
				<check_box follows="bottom|left" bottom_delta="0" left_delta="70" control_name="RadarColumnAltitudeHidden" name="hide_alt" label="Alt." tool_tip="Altitude"/>
				<check_box follows="bottom|left" bottom_delta="0" left_delta="70" control_name="RadarColumnActivityHidden" name="hide_act" label="Act." tool_tip="Activity"/>
				<check_box follows="bottom|left" bottom_delta="-20" left="5" control_name="RadarColumnVoiceHidden" name="hide_voice" label="Voice" tool_tip="Voice Status"/>
				<check_box follows="bottom|left" bottom_delta="0" left_delta="70" control_name="RadarColumnNotesHidden" name="hide_notes" label="Notes" tool_tip="Notes Checkbox"/>
				<check_box follows="bottom|left" bottom_delta="0" left_delta="70" control_name="RadarColumnAgeHidden" name="hide_age" label="Age"/>
				<check_box follows="bottom|left" bottom_delta="0" left_delta="70" control_name="RadarColumnTimeHidden" name="hide_time" label="Time"/>
				<check_box follows="bottom|left" bottom_delta="-20" left="5" control_name="RadarColumnClientHidden" name="hide_client" label="Client"/>
		</panel>
	</tab_container>
	<string name="Out Of Range">Out Of Range</string>
	<string name="Moving">Moving</string>
	<string name="Playing a gesture">Playing a gesture</string>
	<string name="Playing a sound">Playing a sound</string>
	<string name="Rezzing objects">Rezzing objects</string>
	<string name="Creating particles">Creating particles</string>
	<string name="Just arrived">Just arrived</string>
	<string name="Typing">Typing</string>
</floater>
