summaryrefslogtreecommitdiff
path: root/indra/newview/llinventorygallery.h
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-06-09 20:10:46 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-06-09 20:10:57 +0300
commitaede902040625b145d36812a3ef29e7677cb1154 (patch)
treedbc8135785a3db4d399d2fa02e222f82013b8b7b /indra/newview/llinventorygallery.h
parenteb95bf5da2996b54b65552bfa84f49bfc157520f (diff)
SL-19826 WIP Pasting folders in Single folder view does not give feedback of where the folder is pasted
Should resort freshly inserted or dropped folders, does not cover pasting yet
Diffstat (limited to 'indra/newview/llinventorygallery.h')
-rw-r--r--indra/newview/llinventorygallery.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llinventorygallery.h b/indra/newview/llinventorygallery.h
index 54588a3907..3797b9bc61 100644
--- a/indra/newview/llinventorygallery.h
+++ b/indra/newview/llinventorygallery.h
@@ -155,16 +155,21 @@ public:
void claimEditHandler();
static bool isItemCopyable(const LLUUID & item_id);
+ BOOL baseHandleDragAndDrop(LLUUID dest_id, BOOL drop, EDragAndDropType cargo_type,
+ void* cargo_data, EAcceptance* accept, std::string& tooltip_msg);
+
protected:
void showContextMenu(LLUICtrl* ctrl, S32 x, S32 y, const LLUUID& item_id);
void applyFilter(LLInventoryGalleryItem* item, const std::string& filter_substring);
bool checkAgainstFilters(LLInventoryGalleryItem* item, const std::string& filter_substring);
+ static void onIdle(void* userdata);
LLInventoryCategoriesObserver* mCategoriesObserver;
LLThumbnailsObserver* mThumbnailsObserver;
LLGalleryGestureObserver* mGestureObserver;
+ LLInventoryObserver* mInventoryObserver;
LLUUID mSelectedItemID;
LLUUID mItemToSelect;
bool mIsInitialized;
@@ -211,6 +216,7 @@ private:
int mRowCount;
int mItemsAddedCount;
bool mGalleryCreated;
+ bool mNeedsArrange;
/* Params */
int mRowPanelHeight;