From fb96262c47d9eb022f9291637c6a9ebaec833dca Mon Sep 17 00:00:00 2001 From: Todd Stinson Date: Wed, 15 Feb 2012 11:51:49 -0800 Subject: PATH-284: Stubbing functionality for the walkability heatmap drop-down. --- indra/newview/llfloaterpathfindingconsole.h | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) (limited to 'indra/newview/llfloaterpathfindingconsole.h') diff --git a/indra/newview/llfloaterpathfindingconsole.h b/indra/newview/llfloaterpathfindingconsole.h index 8f4b7d625e..726bf36636 100644 --- a/indra/newview/llfloaterpathfindingconsole.h +++ b/indra/newview/llfloaterpathfindingconsole.h @@ -40,6 +40,7 @@ class LLLineEditor; class LLTextBase; class LLCheckBoxCtrl; class LLTabContainer; +class LLComboBox; class LLFloaterPathfindingConsole : public LLFloater @@ -47,6 +48,15 @@ class LLFloaterPathfindingConsole friend class LLFloaterReg; public: + typedef enum + { + kRenderHeatmapNone, + kRenderHeatmapA, + kRenderHeatmapB, + kRenderHeatmapC, + kRenderHeatmapD + } ERenderHeatmapType; + typedef enum { kCharacterTypeA = 0, @@ -82,11 +92,14 @@ public: BOOL isRenderWorld() const; void setRenderWorld(BOOL pIsRenderWorld); - F32 getCharacterWidth() const; - void setCharacterWidth(F32 pCharacterWidth); + ERenderHeatmapType getRenderHeatmapType() const; + void setRenderHeatmapType(ERenderHeatmapType pRenderHeatmapType); + + F32 getCharacterWidth() const; + void setCharacterWidth(F32 pCharacterWidth); - ECharacterType getCharacterType() const; - void setCharacterType(ECharacterType pCharacterType); + ECharacterType getCharacterType() const; + void setCharacterType(ECharacterType pCharacterType); void setHasNavMeshReceived(); void setHasNoNavMesh(); @@ -101,6 +114,7 @@ private: virtual void onOpen(const LLSD& pKey); + void onShowWalkabilitySet(); void onShowWorldToggle(); void onCharacterWidthSet(); void onCharacterTypeSwitch(); @@ -113,6 +127,7 @@ private: LLRootHandle mSelfHandle; LLCheckBoxCtrl *mShowNavMeshCheckBox; + LLComboBox *mShowNavMeshWalkabilityComboBox; LLCheckBoxCtrl *mShowWalkablesCheckBox; LLCheckBoxCtrl *mShowStaticObstaclesCheckBox; LLCheckBoxCtrl *mShowMaterialVolumesCheckBox; -- cgit v1.2.3