diff options
author | Vadim Savchuk <vsavchuk@productengine.com> | 2009-12-21 20:56:38 +0200 |
---|---|---|
committer | Vadim Savchuk <vsavchuk@productengine.com> | 2009-12-21 20:56:38 +0200 |
commit | c72de2edf0a2f7590fd43d86c59e83afcf7e8bcf (patch) | |
tree | 4bd0fad8df54709d2f953714b1947fe7e74adc60 /indra/newview/llgrouplist.h | |
parent | 7d308294e93c7d2a0ffb3f1b88386b96fcb7b42d (diff) |
Added context menu to the group list (task EXT-3595).
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/llgrouplist.h')
-rw-r--r-- | indra/newview/llgrouplist.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llgrouplist.h b/indra/newview/llgrouplist.h index 33cfe005b9..f7afe0c0b2 100644 --- a/indra/newview/llgrouplist.h +++ b/indra/newview/llgrouplist.h @@ -60,6 +60,7 @@ public: virtual ~LLGroupList(); virtual void draw(); // from LLView + /*virtual*/ BOOL handleRightMouseDown(S32 x, S32 y, MASK mask); // from LLView void setNameFilter(const std::string& filter); void toggleIcons(); @@ -71,6 +72,11 @@ private: void addNewItem(const LLUUID& id, const std::string& name, const LLUUID& icon_id, EAddPosition pos = ADD_BOTTOM); bool handleEvent(LLPointer<LLOldEvents::LLEvent> event, const LLSD& userdata); // called on agent group list changes + bool onContextMenuItemClick(const LLSD& userdata); + bool onContextMenuItemEnable(const LLSD& userdata); + + LLHandle<LLView> mContextMenuHandle; + bool mShowIcons; bool mDirty; std::string mNameFilter; |