diff options
author | Cho <cho@lindenlab.com> | 2013-03-14 01:28:40 +0100 |
---|---|---|
committer | Cho <cho@lindenlab.com> | 2013-03-14 01:28:40 +0100 |
commit | 8b388922434e431c49b9e7f2c9d1e8d90d15ed21 (patch) | |
tree | a8498490c757ea5760b1152fa667be9d9a4608c8 /indra/newview/llpanelpeoplemenus.h | |
parent | d81226f1707a93b6be52264fc00cae9c60057cc5 (diff) |
CHUI-700 FIX [CHUIBUG]"Zoom in" feature for avatars has disappeared
Added "Zoom In" context menu item to Nearby Chat list in People floater and Conversation floater
Diffstat (limited to 'indra/newview/llpanelpeoplemenus.h')
-rw-r--r-- | indra/newview/llpanelpeoplemenus.h | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/indra/newview/llpanelpeoplemenus.h b/indra/newview/llpanelpeoplemenus.h index d51eaec716..0a1dcef303 100644 --- a/indra/newview/llpanelpeoplemenus.h +++ b/indra/newview/llpanelpeoplemenus.h @@ -33,19 +33,33 @@ namespace LLPanelPeopleMenus { /** - * Menu used in the nearby people list. + * Menu used in the people lists. */ -class NearbyMenu : public LLListContextMenu +class PeopleContextMenu : public LLListContextMenu { public: /*virtual*/ LLContextMenu* createMenu(); + +protected: + virtual void buildContextMenu(class LLMenuGL& menu, U32 flags); + private: bool enableContextMenuItem(const LLSD& userdata); bool checkContextMenuItem(const LLSD& userdata); void offerTeleport(); }; -extern NearbyMenu gNearbyMenu; +/** + * Menu used in the nearby people list. + */ +class NearbyPeopleContextMenu : public PeopleContextMenu +{ +protected: + /*virtual*/ void buildContextMenu(class LLMenuGL& menu, U32 flags); +}; + +extern PeopleContextMenu gPeopleContextMenu; +extern NearbyPeopleContextMenu gNearbyPeopleContextMenu; } // namespace LLPanelPeopleMenus |