diff options
author | Andrey Lihatskiy <alihatskiy@productengine.com> | 2020-06-24 00:08:35 +0300 |
---|---|---|
committer | Andrey Lihatskiy <alihatskiy@productengine.com> | 2020-06-24 00:08:35 +0300 |
commit | b8127f80c7e305b0c5af7a824b45c81432a8e6b8 (patch) | |
tree | ed34b16459488ce3e6293f84447f04c31ce4887a /indra/llwindow/llmousehandler.h | |
parent | aabb0bbc49aa15b100dc8c2cbf286202cb084646 (diff) | |
parent | 05f3287512557cd4cb41de7a8fe3f5171a48481d (diff) |
Merge branch 'DRTVWR-501-maint' into DRTVWR-503-maint
# Conflicts:
# indra/llcommon/llkeybind.cpp
# indra/llcommon/llkeybind.h
Diffstat (limited to 'indra/llwindow/llmousehandler.h')
-rw-r--r-- | indra/llwindow/llmousehandler.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/indra/llwindow/llmousehandler.h b/indra/llwindow/llmousehandler.h index d221dd117c..1dcd0348d8 100644 --- a/indra/llwindow/llmousehandler.h +++ b/indra/llwindow/llmousehandler.h @@ -29,7 +29,6 @@ #include "linden_common.h" #include "llrect.h" -#include "indra_constants.h" // Mostly-abstract interface. // Intended for use via multiple inheritance. @@ -47,7 +46,16 @@ public: SHOW_ALWAYS, } EShowToolTip; - virtual BOOL handleAnyMouseClick(S32 x, S32 y, MASK mask, EMouseClickType clicktype, BOOL down); + typedef enum { + CLICK_LEFT, + CLICK_MIDDLE, + CLICK_RIGHT, + CLICK_BUTTON4, + CLICK_BUTTON5, + CLICK_DOUBLELEFT + } EClickType; + + virtual BOOL handleAnyMouseClick(S32 x, S32 y, MASK mask, EClickType clicktype, BOOL down); virtual BOOL handleMouseDown(S32 x, S32 y, MASK mask) = 0; virtual BOOL handleMouseUp(S32 x, S32 y, MASK mask) = 0; virtual BOOL handleMiddleMouseDown(S32 x, S32 y, MASK mask) = 0; |