summaryrefslogtreecommitdiff
path: root/indra/newview/llsidetray.h
diff options
context:
space:
mode:
authorSamuel Kolb <skolb@lindenlab.com>2009-12-11 10:08:37 -0800
committerSamuel Kolb <skolb@lindenlab.com>2009-12-11 10:08:37 -0800
commit941497dd30c409a2f352b0bfc1c48bfaca5ea76e (patch)
treeed7bdc596ee0a856f9739864239f75c64db85f50 /indra/newview/llsidetray.h
parent4b710367a1ac986e8be731bc391c0b375424148f (diff)
parent0a8d9fa5b5d044bed7d4c38ec51d87bc90f3b3a6 (diff)
merge
Diffstat (limited to 'indra/newview/llsidetray.h')
-rw-r--r--indra/newview/llsidetray.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llsidetray.h b/indra/newview/llsidetray.h
index 7321574681..de2cfe9711 100644
--- a/indra/newview/llsidetray.h
+++ b/indra/newview/llsidetray.h
@@ -100,6 +100,12 @@ public:
* get the panel (don't show it or do anything else with it)
*/
LLPanel* getPanel (const std::string& panel_name);
+ LLPanel* getActivePanel ();
+ bool isPanelActive (const std::string& panel_name);
+ /*
+ * get currently active tab
+ */
+ const LLSideTrayTab* getActiveTab() const { return mActiveTab; }
/*
* collapse SideBar, hiding visible tab and moving tab buttons