diff options
author | Loren Shih <seraph@lindenlab.com> | 2009-11-23 15:25:31 -0500 |
---|---|---|
committer | Loren Shih <seraph@lindenlab.com> | 2009-11-23 15:25:31 -0500 |
commit | fc1860bcc6bab4b538692662db2da4be1def5af4 (patch) | |
tree | 2452ea008050749c15be1dcd2b7f392ef499e796 /indra/newview/llinventorypanel.h | |
parent | 0c3bd94da9ba2244613b6c1f1f0e4ce9723c46d3 (diff) |
EXT-2705 : Create accordion panel to show COF contents
Also made several infrastructure improvements that help inventory panels defer generating their folders/views until after inventory has been loaded up. This was pretty haphazard before.
--HG--
branch : avatar-pipeline
Diffstat (limited to 'indra/newview/llinventorypanel.h')
-rw-r--r-- | indra/newview/llinventorypanel.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/newview/llinventorypanel.h b/indra/newview/llinventorypanel.h index 0ccee337c9..41f393c660 100644 --- a/indra/newview/llinventorypanel.h +++ b/indra/newview/llinventorypanel.h @@ -122,7 +122,6 @@ public: // Call this method to set the selection. void openAllFolders(); - void openDefaultFolderForType(LLFolderType::EType); void setSelection(const LLUUID& obj_id, BOOL take_keyboard_focus); void setSelectCallback(const LLFolderView::signal_t::slot_type& cb) { if (mFolders) mFolders->setSelectCallback(cb); } void clearSelection(); @@ -161,16 +160,17 @@ public: void openSelected(); void unSelectAll() { mFolders->setSelection(NULL, FALSE, FALSE); } -protected: +private: // Destroys the old views, and regenerates them based on the // start folder ID. - void rebuildViews(); + void generateViews(); // Given the id and the parent, build all of the folder views. void rebuildViewsFor(const LLUUID& id); virtual void buildNewViews(const LLUUID& id); // made virtual to support derived classes. EXT-719 - void defaultOpenInventory(); // open the first level of inventory protected: + void defaultOpenInventory(); // open the first level of inventory + LLInventoryModel* mInventory; LLInventoryObserver* mInventoryObserver; BOOL mAllowMultiSelect; |