summaryrefslogtreecommitdiff
path: root/indra/newview/skins/default/xui
diff options
context:
space:
mode:
authorTodd Stinson <stinson@lindenlab.com>2012-02-02 18:30:35 -0800
committerTodd Stinson <stinson@lindenlab.com>2012-02-02 18:30:35 -0800
commit525343b9e5f39dafafe2a16e8173ad7f69acb0d6 (patch)
tree3d19fb2fcdb6763d558f72a75c4daed69f584193 /indra/newview/skins/default/xui
parent9c8d5a14bd5e45a6b2c1ecbdc1e44e6c2705babb (diff)
PATH-245: First pass at laying out the characters floater. Functionality is mostly stubbed in. The data is currently tied to the same cap service as the linkset data, so that will need to change as soon as the new service is available.
Diffstat (limited to 'indra/newview/skins/default/xui')
-rw-r--r--indra/newview/skins/default/xui/en/floater_pathfinding_characters.xml173
-rw-r--r--indra/newview/skins/default/xui/en/menu_viewer.xml3
-rw-r--r--indra/newview/skins/default/xui/en/strings.xml2
3 files changed, 176 insertions, 2 deletions
diff --git a/indra/newview/skins/default/xui/en/floater_pathfinding_characters.xml b/indra/newview/skins/default/xui/en/floater_pathfinding_characters.xml
new file mode 100644
index 0000000000..9ae28d6a15
--- /dev/null
+++ b/indra/newview/skins/default/xui/en/floater_pathfinding_characters.xml
@@ -0,0 +1,173 @@
+<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
+<floater
+ open_positioning="cascading"
+ can_tear_off="false"
+ height="273"
+ layout="topleft"
+ name="floater_pathfinding_characters"
+ help_topic="floater_pathfinding_characters"
+ reuse_instance="true"
+ save_rect="true"
+ single_instance="true"
+ title="Pathfinding characters"
+ width="635">
+ <floater.string name="characters_messaging_initial"></floater.string>
+ <floater.string name="characters_messaging_fetch_starting">Building query for pathfinding characters ...</floater.string>
+ <floater.string name="characters_messaging_fetch_inprogress">Querying for pathfinding characters ...</floater.string>
+ <floater.string name="characters_messaging_fetch_inprogress_multi_request">Querying for pathfinding characters (already in progress) ...</floater.string>
+ <floater.string name="characters_messaging_fetch_received">Loading pathfinding characters data from response ...</floater.string>
+ <floater.string name="characters_messaging_fetch_error">Error detected while querying for pathfinding characters</floater.string>
+ <floater.string name="characters_messaging_complete_none_found">No pathfinding characters</floater.string>
+ <floater.string name="characters_messaging_complete_available">[NUM_SELECTED] characters selected out of [NUM_TOTAL]</floater.string>
+ <scroll_list
+ column_padding="0"
+ draw_heading="true"
+ follows="all"
+ height="135"
+ layout="topleft"
+ left="18"
+ top="10"
+ multi_select="true"
+ name="pathfinding_characters"
+ width="600">
+ <scroll_list.columns
+ label="Name"
+ name="name"
+ width="137" />
+ <scroll_list.columns
+ label="Description"
+ name="description"
+ width="172" />
+ <scroll_list.columns
+ label="Owner"
+ name="owner"
+ width="141" />
+ <scroll_list.columns
+ label="CPU"
+ name="cpu_time"
+ width="60" />
+ <scroll_list.columns
+ label="Altitude"
+ name="altitude"
+ width="64" />
+ </scroll_list>
+ <text
+ height="13"
+ word_wrap="false"
+ use_ellipses="false"
+ type="string"
+ text_color="LabelTextColor"
+ length="1"
+ follows="left|top"
+ layout="topleft"
+ name="characters_status"
+ top="161"
+ width="500">
+ Characters:
+ </text>
+ <button
+ follows="right|top"
+ height="21"
+ label="Refresh list"
+ layout="topleft"
+ name="refresh_characters_list"
+ top="161"
+ left="257"
+ width="115"/>
+ <button
+ follows="right|top"
+ height="21"
+ label="Select all"
+ layout="topleft"
+ name="select_all_characters"
+ top="161"
+ left="378"
+ width="115"/>
+ <button
+ follows="right|top"
+ height="21"
+ label="Select none"
+ layout="topleft"
+ name="select_none_characters"
+ top="161"
+ left="502"
+ width="115"/>
+ <view_border
+ bevel_style="none"
+ follows="top|left"
+ height="0"
+ layout="topleft"
+ name="horiz_separator"
+ top="196"
+ left="20"
+ width="600"/>
+ <text
+ height="13"
+ word_wrap="false"
+ use_ellipses="false"
+ type="string"
+ text_color="LabelTextColor"
+ text_readonly_color="LabelDisabledColor"
+ length="1"
+ follows="left|top"
+ layout="topleft"
+ name="actions_label"
+ top_pad="12"
+ width="910">
+ Actions on selected characters:
+ </text>
+ <check_box
+ height="19"
+ label="Show beacon"
+ layout="topleft"
+ name="show_beacon"
+ top="208"
+ left="259"
+ width="90" />
+ <button
+ follows="right|top"
+ height="22"
+ label="Take"
+ layout="topleft"
+ name="take_characters"
+ top="232"
+ left="17"
+ width="94"/>
+ <button
+ follows="right|top"
+ height="22"
+ label="Take copy"
+ layout="topleft"
+ name="take_copy_characters"
+ top="232"
+ left="119"
+ width="94"/>
+ <button
+ follows="right|top"
+ height="22"
+ label="Return"
+ layout="topleft"
+ name="return_characters"
+ top="233"
+ left="220"
+ width="94"/>
+ <button
+ follows="right|top"
+ height="22"
+ label="Delete"
+ layout="topleft"
+ name="delete_characters"
+ top="233"
+ left="322"
+ width="94"/>
+ <button
+ follows="right|top"
+ height="22"
+ label="Teleport me to it"
+ layout="topleft"
+ name="teleport_to_character"
+ tool_tip="Enabled only when one character is selected."
+ top="233"
+ left="420"
+ width="159"/>
+</floater>
diff --git a/indra/newview/skins/default/xui/en/menu_viewer.xml b/indra/newview/skins/default/xui/en/menu_viewer.xml
index f952fc3266..33a756fdd5 100644
--- a/indra/newview/skins/default/xui/en/menu_viewer.xml
+++ b/indra/newview/skins/default/xui/en/menu_viewer.xml
@@ -959,11 +959,10 @@
</menu_item_call>
<menu_item_call
label="Characters..."
- enabled="false"
name="pathfinding_characters_menu_item">
<menu_item_call.on_click
function="Floater.ToggleOrBringToFront"
- parameter="pathfinding_linksets" />
+ parameter="pathfinding_characters" />
</menu_item_call>
</menu>
diff --git a/indra/newview/skins/default/xui/en/strings.xml b/indra/newview/skins/default/xui/en/strings.xml
index d2ccf7a396..793893f540 100644
--- a/indra/newview/skins/default/xui/en/strings.xml
+++ b/indra/newview/skins/default/xui/en/strings.xml
@@ -3696,6 +3696,7 @@ Try enclosing path to the editor with double quotes.
<string name="Command_Outbox_Label">Merchant outbox</string>
<string name="Command_Pathfinding_Label">Pathfinding</string>
<string name="Command_People_Label">People</string>
+ <string name="Command_PF_Characters_Label">Pathfinding Characters</string>
<string name="Command_PF_Linksets_Label">Pathfinding Linksets</string>
<string name="Command_Picks_Label">Picks</string>
<string name="Command_Places_Label">Places</string>
@@ -3724,6 +3725,7 @@ Try enclosing path to the editor with double quotes.
<string name="Command_Outbox_Tooltip">Transfer items to your marketplace for sale</string>
<string name="Command_Pathfinding_Tooltip">Information about pathfinding</string>
<string name="Command_People_Tooltip">Friends, groups, and nearby people</string>
+ <string name="Command_PF_Characters_Tooltip">Manipulation of pathfinding characters</string>
<string name="Command_PF_Linksets_Tooltip">Manipulation of pathfinding linksets</string>
<string name="Command_Picks_Tooltip">Places to show as favorites in your profile</string>
<string name="Command_Places_Tooltip">Places you've saved</string>