diff options
author | Todd Stinson <stinson@lindenlab.com> | 2012-06-20 19:46:28 -0700 |
---|---|---|
committer | Todd Stinson <stinson@lindenlab.com> | 2012-06-20 19:46:28 -0700 |
commit | fb1fa8434a1a84105f67e72fdf72d300be2951bb (patch) | |
tree | 301e33ccc0d1f7e285e15f511711ad0fdaac591b /indra/newview/skins/default | |
parent | f87034c3c2b9e11dee678dc3ff3458d2485c1710 (diff) |
PATH-761: Implementing the new design for the pathfinding view floater.
Diffstat (limited to 'indra/newview/skins/default')
-rw-r--r-- | indra/newview/skins/default/xui/en/floater_pathfinding_console.xml | 390 | ||||
-rw-r--r-- | indra/newview/skins/default/xui/en/menu_viewer.xml | 4 |
2 files changed, 173 insertions, 221 deletions
diff --git a/indra/newview/skins/default/xui/en/floater_pathfinding_console.xml b/indra/newview/skins/default/xui/en/floater_pathfinding_console.xml index 59b816b0e1..3bcbbf342c 100644 --- a/indra/newview/skins/default/xui/en/floater_pathfinding_console.xml +++ b/indra/newview/skins/default/xui/en/floater_pathfinding_console.xml @@ -2,15 +2,15 @@ <floater open_positioning="cascading" can_tear_off="false" - height="446" + height="498" layout="topleft" name="floater_pathfinding_console" help_topic="floater_pathfinding_console" reuse_instance="true" save_rect="true" single_instance="true" - title="Pathfinding debug" - width="456"> + title="Pathfinding view" + width="240"> <floater.string name="navmesh_viewer_status_unknown"></floater.string> <floater.string name="navmesh_viewer_status_library_not_implemented">Cannot find pathing library implementation.</floater.string> <floater.string name="navmesh_viewer_status_region_not_enabled">This region is not enabled for pathfinding.</floater.string> @@ -41,10 +41,10 @@ bevel_style="none" follows="left|top" layout="topleft" - left="14" - top_pad="15" - height="68" - width="200"> + left="12" + top_pad="10" + height="61" + width="214"> <text height="13" word_wrap="true" @@ -55,7 +55,7 @@ layout="topleft" left="0" top_pad="0" - width="200"> + width="214"> Viewer status </text> <text @@ -70,174 +70,201 @@ left="0" name="pathfinding_viewer_status" top_pad="8" - width="200"> + width="214"> </text> </panel> - <view_border - bevel_style="none" - follows="top|left" - layout="topleft" - left="14" - height="0" - width="200" - top_pad="0" - visible="true" /> <panel border="false" bevel_style="none" follows="left|top" layout="topleft" - height="297" - width="200"> + left="12" + height="66" + width="214"> <text height="13" word_wrap="true" use_ellipses="false" type="string" text_color="LabelTextColor" - text_readonly_color="LabelDisabledColor" - name="show_label" length="1" - follows="left|top" - layout="topleft" - top_pad="9" - width="200"> - Show: - </text> - <check_box - height="19" - label="World" - layout="topleft" - name="show_world" - top_pad="4" - width="90" /> - <check_box - height="19" - label="Movables only" layout="topleft" - left="20" - name="show_world_movables_only" - top_pad="4" - width="90" /> - <check_box - height="19" - label="Navmesh" left="0" - layout="topleft" - name="show_navmesh" - top_pad="7" - width="90" /> + top_pad="5" + width="214"> + Simulator status + </text> <text - height="13" + height="40" word_wrap="true" use_ellipses="false" type="string" - text_color="LabelTextColor" - text_readonly_color="LabelDisabledColor" - name="show_walkability_label" + text_color="PathfindingGoodColor" length="1" follows="left|top" layout="topleft" - left="20" - width="180"> - Show walkability map: - </text> - <combo_box - height="19" - layout="topleft" - left="20" - name="show_heatmap_mode" - top_pad="8" - width="156"> - <combo_box.item - label="Do not show" - name="show_heatmap_mode_none" - value="0" /> - <combo_box.item - label="Character type A" - name="show_heatmap_mode_a" - value="1" /> - <combo_box.item - label="Character type B" - name="show_heatmap_mode_b" - value="2" /> - <combo_box.item - label="Character type C" - name="show_heatmap_mode_c" - value="3" /> - <combo_box.item - label="Character type D" - name="show_heatmap_mode_d" - value="4" /> - </combo_box> - <check_box - height="19" - label="Walkables" - layout="topleft" left="0" - name="show_walkables" - top_pad="10" - width="90" /> - <check_box - height="19" - label="Material volumes" - layout="topleft" - name="show_material_volumes" - top_pad="4" - width="90" /> - <check_box - height="19" - label="Static obstacles" - layout="topleft" - name="show_static_obstacles" - top_pad="4" - width="90" /> - <check_box - height="19" - label="Exclusion volumes" - layout="topleft" - name="show_exclusion_volumes" - top_pad="4" - width="90" /> - <check_box - height="19" - label="Water plane" - layout="topleft" - name="show_water_plane" - top_pad="4" - width="90" /> - <check_box - height="19" - label="With X-ray vision" - layout="topleft" - name="show_xray" - top_pad="4" - width="90" /> + name="pathfinding_simulator_status" + top_pad="8" + width="214"> + </text> </panel> <view_border bevel_style="none" follows="top|left" layout="topleft" - left="230" - top="35" - height="247" - width="214" + left="12" + top="179" + height="305" + width="213" visible="true" /> <tab_container follows="left|top" layout="topleft" tab_position="top" - name="edit_test_tab_container" - left="227" - top="14" - height="268" - width="218"> + name="view_test_tab_container" + left="12" + top="157" + height="328" + width="214"> + <panel + border="false" + bevel_style="none" + follows="left|top" + layout="topleft" + name="view_panel" + label="View"> + <text + height="13" + word_wrap="true" + use_ellipses="false" + type="string" + text_color="LabelTextColor" + text_readonly_color="LabelDisabledColor" + name="show_label" + length="1" + follows="left|top" + layout="topleft" + top_pad="20" + left="12" + width="200"> + Show: + </text> + <check_box + height="19" + label="World" + layout="topleft" + name="show_world" + top_pad="4" + width="90" /> + <check_box + height="19" + label="Movables only" + layout="topleft" + left="32" + name="show_world_movables_only" + top_pad="4" + width="90" /> + <check_box + height="19" + label="Navmesh" + left="12" + layout="topleft" + name="show_navmesh" + top_pad="7" + width="90" /> + <text + height="13" + word_wrap="true" + use_ellipses="false" + type="string" + text_color="LabelTextColor" + text_readonly_color="LabelDisabledColor" + name="show_walkability_label" + length="1" + follows="left|top" + layout="topleft" + left="32" + width="180"> + Show walkability map: + </text> + <combo_box + height="19" + layout="topleft" + left="32" + name="show_heatmap_mode" + top_pad="8" + width="156"> + <combo_box.item + label="Do not show" + name="show_heatmap_mode_none" + value="0" /> + <combo_box.item + label="Character type A" + name="show_heatmap_mode_a" + value="1" /> + <combo_box.item + label="Character type B" + name="show_heatmap_mode_b" + value="2" /> + <combo_box.item + label="Character type C" + name="show_heatmap_mode_c" + value="3" /> + <combo_box.item + label="Character type D" + name="show_heatmap_mode_d" + value="4" /> + </combo_box> + <check_box + height="19" + label="Walkables" + layout="topleft" + left="12" + name="show_walkables" + top_pad="10" + width="90" /> + <check_box + height="19" + label="Material volumes" + layout="topleft" + name="show_material_volumes" + top_pad="4" + width="90" /> + <check_box + height="19" + label="Static obstacles" + layout="topleft" + name="show_static_obstacles" + top_pad="4" + width="90" /> + <check_box + height="19" + label="Exclusion volumes" + layout="topleft" + name="show_exclusion_volumes" + top_pad="4" + width="90" /> + <check_box + height="19" + label="Water plane" + layout="topleft" + name="show_water_plane" + top_pad="4" + width="90" /> + <check_box + height="19" + label="With X-ray vision" + layout="topleft" + name="show_xray" + top_pad="4" + width="90" /> + </panel> <panel border="false" bevel_style="none" follows="left|top" layout="topleft" - left="1" name="test_panel" label="Test path"> <text @@ -249,11 +276,11 @@ text_readonly_color="LabelDisabledColor" name="ctrl_click_label" length="1" - left="16" + left="12" follows="left|top" layout="topleft" - top_pad="12" - width="190"> + top_pad="20" + width="202"> Ctrl-click to select start point. </text> <text @@ -268,7 +295,7 @@ follows="left|top" layout="topleft" top_pad="5" - width="190"> + width="202"> Shift-click to select end point. </text> <view_border @@ -291,7 +318,7 @@ follows="left|top" layout="topleft" top_pad="14" - width="190"> + width="202"> Character width </text> <slider @@ -335,7 +362,7 @@ layout="topleft" left_pad="-165" top_pad="13" - width="190"> + width="202"> Character type </text> <combo_box @@ -377,7 +404,7 @@ layout="topleft" name="path_test_status" top_pad="11" - width="190"> + width="202"> </text> <button follows="left|top" @@ -389,79 +416,4 @@ width="96"/> </panel> </tab_container> - <panel - border="false" - bevel_style="none" - follows="left|top" - layout="topleft" - left="246" - height="73" - width="200"> - <text - height="13" - word_wrap="true" - use_ellipses="false" - type="string" - text_color="LabelTextColor" - length="1" - layout="topleft" - left="0" - top_pad="5" - width="200"> - Simulator status - </text> - <text - height="40" - word_wrap="true" - use_ellipses="false" - type="string" - text_color="LabelTextColor" - length="1" - follows="left|top" - layout="topleft" - left="0" - name="pathfinding_simulator_status" - top_pad="8" - width="200"> - </text> - </panel> - <view_border - bevel_style="none" - follows="top|left" - layout="topleft" - height="0" - left="14" - width="430" - top_pad="25" - visible="true" /> - <panel - border="false" - bevel_style="none" - follows="left|top" - layout="topleft" - height="40" - top_pad="0" - width="400"> - <text - height="13" - word_wrap="true" - use_ellipses="false" - type="string" - text_color="LabelTextColor" - length="1" - layout="topleft" - top_pad="18" - width="250"> - Lost characters? Bad performance? - </text> - <button - follows="left|top" - height="21" - label="Characters..." - layout="topleft" - name="view_characters_floater" - left_pad="0" - top_pad="-17" - width="96"/> - </panel> </floater> diff --git a/indra/newview/skins/default/xui/en/menu_viewer.xml b/indra/newview/skins/default/xui/en/menu_viewer.xml index ecc96ab402..32ba7a5342 100644 --- a/indra/newview/skins/default/xui/en/menu_viewer.xml +++ b/indra/newview/skins/default/xui/en/menu_viewer.xml @@ -961,13 +961,13 @@ function="Tools.EnablePathfinding" /> </menu_item_call> <menu_item_call - label="Pathfinding debug..." + label="View..." name="pathfinding_console_menu_item"> <menu_item_call.on_click function="Floater.ToggleOrBringToFront" parameter="pathfinding_console" /> <menu_item_call.on_enable - function="Tools.EnablePathfindingDebug" /> + function="Tools.EnablePathfinding" /> </menu_item_call> </menu> |