diff options
author | Todd Stinson <stinson@lindenlab.com> | 2012-02-15 15:26:32 -0800 |
---|---|---|
committer | Todd Stinson <stinson@lindenlab.com> | 2012-02-15 15:26:32 -0800 |
commit | a17dee79f04e21f414d59ed1d5566160dda8fa08 (patch) | |
tree | a1a199ffd3f746e265cf3b04c5e6e72ae7d0666c /indra/newview/llfloaterpathfindingbasic.h | |
parent | fb96262c47d9eb022f9291637c6a9ebaec833dca (diff) |
PATH-297: Basic freeze/unfreeze button switching for UI buttons. Also, adding ability to detect whether region is enabled for pathfinding.
Diffstat (limited to 'indra/newview/llfloaterpathfindingbasic.h')
-rw-r--r-- | indra/newview/llfloaterpathfindingbasic.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/indra/newview/llfloaterpathfindingbasic.h b/indra/newview/llfloaterpathfindingbasic.h index 888d06c521..cd51964339 100644 --- a/indra/newview/llfloaterpathfindingbasic.h +++ b/indra/newview/llfloaterpathfindingbasic.h @@ -32,6 +32,8 @@ #include "llhandle.h" class LLSD; +class LLTextBase; +class LLButton; class LLFloaterPathfindingBasic : public LLFloater @@ -39,8 +41,8 @@ class LLFloaterPathfindingBasic friend class LLFloaterReg; public: - virtual BOOL postBuild(); + virtual void onOpen(const LLSD& key); protected: @@ -52,6 +54,17 @@ private: void onUnfreezeClicked(); void onFreezeClicked(); + + std::string getCapabilityURL() const; + + void updateOnFrozenState(); + + LLTextBase *mRegionNotEnabledText; + LLTextBase *mUnfreezeLabel; + LLButton *mUnfreezeButton; + LLTextBase *mFreezeLabel; + LLButton *mFreezeButton; + bool mIsRegionFrozenXXX; // XXX stinson : Feb 15, 2012 : I think this will be unneeded with the service }; #endif // LL_LLFLOATERPATHFINDINGBASIC_H |