summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelmaininventory.h
diff options
context:
space:
mode:
authorMaxim Nikolenko <maximnproductengine@lindenlab.com>2023-03-21 17:47:26 +0200
committerMaxim Nikolenko <maximnproductengine@lindenlab.com>2023-03-21 17:47:26 +0200
commit1eab3247111e66a3b81153173d1624a5c1c9fb72 (patch)
tree3d5cfd8a5ee3bca5194fad8a9f27d519884e844e /indra/newview/llpanelmaininventory.h
parentb68a67491026a055f0de9df349508b9e60a200ed (diff)
SL-19379 WIP Gallery view Inventory: first pass
Diffstat (limited to 'indra/newview/llpanelmaininventory.h')
-rw-r--r--indra/newview/llpanelmaininventory.h18
1 files changed, 17 insertions, 1 deletions
diff --git a/indra/newview/llpanelmaininventory.h b/indra/newview/llpanelmaininventory.h
index 5f488539dd..51c4ace874 100644
--- a/indra/newview/llpanelmaininventory.h
+++ b/indra/newview/llpanelmaininventory.h
@@ -38,6 +38,7 @@
class LLComboBox;
class LLFolderViewItem;
class LLInventoryPanel;
+class LLInventoryGallery;
class LLSaveFolderState;
class LLFilterEditor;
class LLTabContainer;
@@ -65,6 +66,13 @@ public:
BOOL postBuild();
+ enum EViewModeType
+ {
+ VIEW_LIST,
+ VIEW_GALLERY,
+ VIEW_COMBINATION
+ };
+
virtual BOOL handleKeyHere(KEY key, MASK mask);
// Inherited functionality
@@ -108,6 +116,11 @@ public:
LLUUID getSingleFolderViewRoot();
bool isSingleFolderMode() { return mSingleFolderMode; }
+ void setViewMode(EViewModeType mode);
+ bool isListViewMode() { return (mViewMode == VIEW_LIST); }
+ bool isGalleryViewMode() { return (mViewMode == VIEW_GALLERY); }
+ LLUUID getCurrentSFVRoot();
+
protected:
//
// Misc functions
@@ -163,9 +176,12 @@ private:
LLComboBox* mSearchTypeCombo;
bool mSingleFolderMode;
+ EViewModeType mViewMode;
LLInventorySingleFolderPanel* mSingleFolderPanelInventory;
+ LLInventoryGallery* mInventoryGalleryPanel;
- boost::signals2::connection mFolderRootChangedConnection;
+ boost::signals2::connection mListViewRootUpdatedConnection;
+ boost::signals2::connection mGalleryRootUpdatedConnection;
//////////////////////////////////////////////////////////////////////////////////
// List Commands //