diff options
author | Tofu Linden <tofu.linden@lindenlab.com> | 2010-04-22 11:01:47 +0100 |
---|---|---|
committer | Tofu Linden <tofu.linden@lindenlab.com> | 2010-04-22 11:01:47 +0100 |
commit | 7bb4436b488f70d842cd1382d8089ecae29234c0 (patch) | |
tree | 6f0d100152f45ca313286595e139891d1e4a16b6 /indra/newview/llpaneloutfitsinventory.h | |
parent | 144b8349b3f0773ac575e178a0e3109d963be9a8 (diff) | |
parent | edd0e47d5cb3eb173da4d6710ce6a83f771a0246 (diff) |
merge from PE's viewer-trunk
Diffstat (limited to 'indra/newview/llpaneloutfitsinventory.h')
-rw-r--r-- | indra/newview/llpaneloutfitsinventory.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/indra/newview/llpaneloutfitsinventory.h b/indra/newview/llpaneloutfitsinventory.h index 5d0d27ee4f..4234cc45c5 100644 --- a/indra/newview/llpaneloutfitsinventory.h +++ b/indra/newview/llpaneloutfitsinventory.h @@ -40,6 +40,7 @@ class LLFolderView; class LLFolderViewItem; class LLFolderViewEventListener; class LLInventoryPanel; +class LLOutfitsList; class LLSaveFolderState; class LLButton; class LLMenuGL; @@ -88,20 +89,21 @@ private: public: ////////////////////////////////////////////////////////////////////////////////// // tab panels - LLInventoryPanel* getActivePanel() { return mActivePanel; } - const LLInventoryPanel* getActivePanel() const { return mActivePanel; } + // TODO: change getActivePanel() to return the active tab instead of returning + // a pointer to "Wearing" inventory panel. + LLInventoryPanel* getActivePanel() { return mCurrentOutfitPanel; } + BOOL isTabPanel(LLInventoryPanel *panel) const; - + BOOL isCOFPanelActive() const; + protected: void initTabPanels(); void onTabSelectionChange(LLInventoryPanel* tab_panel, const std::deque<LLFolderViewItem*> &items, BOOL user_action); void onTabChange(); - BOOL isCOFPanelActive() const; private: - LLInventoryPanel* mActivePanel; - typedef std::vector<LLInventoryPanel *> tabpanels_vec_t; - tabpanels_vec_t mTabPanels; + LLOutfitsList* mMyOutfitsPanel; + LLInventoryPanel* mCurrentOutfitPanel; // tab panels // //////////////////////////////////////////////////////////////////////////////// |