diff options
author | Mike Antipov <mantipov@productengine.com> | 2010-01-05 17:36:54 +0200 |
---|---|---|
committer | Mike Antipov <mantipov@productengine.com> | 2010-01-05 17:36:54 +0200 |
commit | 2fc719a29a4f613c75c23adf498f2942c2c5775e (patch) | |
tree | 938a68c13bbe41351b9eed5675f43d5ff3ea1bc0 /indra/newview/llsyswellwindow.h | |
parent | c804211cef6873d13e605c503aa094a2f9aa3e73 (diff) |
Fixed low bug EXT-3895 (Context menu for avatar appears only if right-mouse click was performed over avatar's image but not over avatar's name)
- redirected processing of right mouse down event to an appropriate chiclet.
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/llsyswellwindow.h')
-rw-r--r-- | indra/newview/llsyswellwindow.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llsyswellwindow.h b/indra/newview/llsyswellwindow.h index 833e4dd504..ded3abcbf4 100644 --- a/indra/newview/llsyswellwindow.h +++ b/indra/newview/llsyswellwindow.h @@ -217,6 +217,8 @@ private: void onMouseEnter(S32 x, S32 y, MASK mask); void onMouseLeave(S32 x, S32 y, MASK mask); BOOL handleMouseDown(S32 x, S32 y, MASK mask); + BOOL handleRightMouseDown(S32 x, S32 y, MASK mask); + private: static const S32 CHICLET_HPAD = 10; void onChicletSizeChanged(LLChiclet* ctrl, const LLSD& param); @@ -245,6 +247,8 @@ private: /*virtual*/ void onMouseEnter(S32 x, S32 y, MASK mask); /*virtual*/ void onMouseLeave(S32 x, S32 y, MASK mask); /*virtual*/ BOOL handleMouseDown(S32 x, S32 y, MASK mask); + /*virtual*/ BOOL handleRightMouseDown(S32 x, S32 y, MASK mask); + private: void onClosePanel(); static EObjectType getObjectType(const LLNotificationPtr& notification); |