diff options
author | Seth ProductEngine <slitovchuk@productengine.com> | 2012-05-24 19:20:37 +0300 |
---|---|---|
committer | Seth ProductEngine <slitovchuk@productengine.com> | 2012-05-24 19:20:37 +0300 |
commit | 61d550ee85b371add15d174b4f6fbd93624c3490 (patch) | |
tree | 3abfa9b07b93f77fbb38f36b727af9f08e92f56e /indra/newview/llgrouplist.h | |
parent | 4dffa3351401bd8ba8326958b38a3d500805b5d1 (diff) |
CHUI-78 FIXED group actions gear menu in People->Groups.
Used the same menu for groups list context menu and gear menu in People->Groups.
Changed the type of groups list context menu to toggleable.
Diffstat (limited to 'indra/newview/llgrouplist.h')
-rw-r--r-- | indra/newview/llgrouplist.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/indra/newview/llgrouplist.h b/indra/newview/llgrouplist.h index 8abf14b3d0..6c8f4406ab 100644 --- a/indra/newview/llgrouplist.h +++ b/indra/newview/llgrouplist.h @@ -28,10 +28,13 @@ #define LL_LLGROUPLIST_H #include "llevent.h" +#include "llpointer.h" + #include "llflatlistview.h" #include "llpanel.h" -#include "llpointer.h" #include "llstyle.h" +#include "lltoggleablemenu.h" + #include "llgroupmgr.h" /** @@ -57,6 +60,8 @@ public: void toggleIcons(); bool getIconsVisible() const { return mShowIcons; } + LLToggleableMenu* getContextMenu() const { return mContextMenuHandle.get(); } + private: void setDirty(bool val = true) { mDirty = val; } void refresh(); @@ -66,7 +71,7 @@ private: bool onContextMenuItemClick(const LLSD& userdata); bool onContextMenuItemEnable(const LLSD& userdata); - LLHandle<LLView> mContextMenuHandle; + LLHandle<LLToggleableMenu> mContextMenuHandle; bool mShowIcons; bool mDirty; |