diff options
author | Maxim Nikolenko <maximnproductengine@lindenlab.com> | 2023-03-29 13:51:40 +0300 |
---|---|---|
committer | Maxim Nikolenko <maximnproductengine@lindenlab.com> | 2023-03-29 13:51:40 +0300 |
commit | e5b8b799cc75f3b9cd259403c323cd47b59453d8 (patch) | |
tree | efd077f3b8677f806a7c9a715b2a4cb6d4c3f8b3 /indra/newview/llinventorygallery.h | |
parent | 11b2f138cecc123c3e6876b56ea63c5fbd734d56 (diff) |
SL-19379 WIP add basic context menu
Diffstat (limited to 'indra/newview/llinventorygallery.h')
-rw-r--r-- | indra/newview/llinventorygallery.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llinventorygallery.h b/indra/newview/llinventorygallery.h index 1c45a8345f..5c529e7589 100644 --- a/indra/newview/llinventorygallery.h +++ b/indra/newview/llinventorygallery.h @@ -27,6 +27,7 @@ #ifndef LL_LLINVENTORYGALLERY_H #define LL_LLINVENTORYGALLERY_H +#include "lllistcontextmenu.h" #include "llpanel.h" #include "llinventorymodel.h" @@ -35,6 +36,8 @@ class LLInventoryGalleryItem; class LLScrollContainer; class LLTextBox; +class LLInventoryGalleryContextMenu; + class LLInventoryGallery : public LLPanel { public: @@ -108,6 +111,7 @@ public: protected: void onChangeItemSelection(const LLUUID& category_id); + void showContextMenu(LLUICtrl* ctrl, S32 x, S32 y, const LLUUID& item_id); void applyFilter(LLInventoryGalleryItem* item, const std::string& filter_substring); @@ -171,6 +175,7 @@ private: int mRowPanWidthFactor; int mGalleryWidthFactor; + LLInventoryGalleryContextMenu* mInventoryGalleryMenu; std::string mFilterSubString; typedef std::map<LLUUID, LLInventoryGalleryItem*> gallery_item_map_t; |