diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2023-06-09 20:10:46 +0300 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2023-06-09 20:10:57 +0300 |
commit | aede902040625b145d36812a3ef29e7677cb1154 (patch) | |
tree | dbc8135785a3db4d399d2fa02e222f82013b8b7b /indra/newview/llinventorygallery.h | |
parent | eb95bf5da2996b54b65552bfa84f49bfc157520f (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.h | 6 |
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; |