From 8cd7bb47c2d9c833129b76cdc09d69aa35654fa5 Mon Sep 17 00:00:00 2001 From: Todd Stinson Date: Tue, 14 Feb 2012 19:33:33 -0800 Subject: PATH-297: Initial layout and basic implementation for the pathfinding basic floater. --- indra/newview/CMakeLists.txt | 2 + indra/newview/app_settings/commands.xml | 10 ++++ indra/newview/llfloaterpathfindingbasic.cpp | 64 ++++++++++++++++++++++ indra/newview/llfloaterpathfindingbasic.h | 57 +++++++++++++++++++ indra/newview/llviewerfloaterreg.cpp | 2 + indra/newview/skins/default/textures/textures.xml | 1 + .../default/xui/en/floater_pathfinding_basic.xml | 58 ++++++++++++++++++++ .../default/xui/en/floater_pathfinding_console.xml | 2 +- indra/newview/skins/default/xui/en/menu_viewer.xml | 14 ++--- indra/newview/skins/default/xui/en/strings.xml | 2 + 10 files changed, 204 insertions(+), 8 deletions(-) create mode 100644 indra/newview/llfloaterpathfindingbasic.cpp create mode 100644 indra/newview/llfloaterpathfindingbasic.h create mode 100644 indra/newview/skins/default/xui/en/floater_pathfinding_basic.xml (limited to 'indra/newview') diff --git a/indra/newview/CMakeLists.txt b/indra/newview/CMakeLists.txt index 45688a1724..9772832474 100644 --- a/indra/newview/CMakeLists.txt +++ b/indra/newview/CMakeLists.txt @@ -218,6 +218,7 @@ set(viewer_SOURCE_FILES llfloaterobjectweights.cpp llfloateropenobject.cpp llfloateroutbox.cpp + llfloaterpathfindingbasic.cpp llfloaterpathfindingcharacters.cpp llfloaterpathfindingconsole.cpp llfloaterpathfindinglinksets.cpp @@ -781,6 +782,7 @@ set(viewer_HEADER_FILES llfloaterobjectweights.h llfloateropenobject.h llfloateroutbox.h + llfloaterpathfindingbasic.h llfloaterpathfindingcharacters.h llfloaterpathfindingconsole.h llfloaterpathfindinglinksets.h diff --git a/indra/newview/app_settings/commands.xml b/indra/newview/app_settings/commands.xml index e8454f6dad..d3253bc381 100644 --- a/indra/newview/app_settings/commands.xml +++ b/indra/newview/app_settings/commands.xml @@ -155,6 +155,16 @@ is_running_function="Floater.IsOpen" is_running_parameters="people" /> + ); LLFloaterPayUtil::registerFloater(); + LLFloaterReg::add("pathfinding_basic", "floater_pathfinding_basic.xml", (LLFloaterBuildFunc)&LLFloaterReg::build); LLFloaterReg::add("pathfinding_characters", "floater_pathfinding_characters.xml", (LLFloaterBuildFunc)&LLFloaterReg::build); LLFloaterReg::add("pathfinding_linksets", "floater_pathfinding_linksets.xml", (LLFloaterBuildFunc)&LLFloaterReg::build); LLFloaterReg::add("pathfinding_console", "floater_pathfinding_console.xml", (LLFloaterBuildFunc)&LLFloaterReg::build); diff --git a/indra/newview/skins/default/textures/textures.xml b/indra/newview/skins/default/textures/textures.xml index 5eea581987..ee8b7ba082 100644 --- a/indra/newview/skins/default/textures/textures.xml +++ b/indra/newview/skins/default/textures/textures.xml @@ -140,6 +140,7 @@ with the same filename but different name + diff --git a/indra/newview/skins/default/xui/en/floater_pathfinding_basic.xml b/indra/newview/skins/default/xui/en/floater_pathfinding_basic.xml new file mode 100644 index 0000000000..e21b6c842f --- /dev/null +++ b/indra/newview/skins/default/xui/en/floater_pathfinding_basic.xml @@ -0,0 +1,58 @@ + + + + Permit object / terrain changes: + +