diff options
author | Jacek Antonelli | 2008-09-06 18:24:57 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-09-06 18:25:07 -0500 |
commit | 798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch) | |
tree | 1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/llwindow/llmousehandler.h | |
parent | Second Life viewer sources 1.20.15 (diff) | |
download | meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.zip meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.gz meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.bz2 meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.xz |
Second Life viewer sources 1.21.0-RC
Diffstat (limited to 'linden/indra/llwindow/llmousehandler.h')
-rw-r--r-- | linden/indra/llwindow/llmousehandler.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/linden/indra/llwindow/llmousehandler.h b/linden/indra/llwindow/llmousehandler.h index b511dcd..119197f 100644 --- a/linden/indra/llwindow/llmousehandler.h +++ b/linden/indra/llwindow/llmousehandler.h | |||
@@ -43,7 +43,11 @@ class LLMouseHandler | |||
43 | public: | 43 | public: |
44 | LLMouseHandler() {} | 44 | LLMouseHandler() {} |
45 | virtual ~LLMouseHandler() {} | 45 | virtual ~LLMouseHandler() {} |
46 | 46 | typedef enum { | |
47 | SHOW_NEVER, | ||
48 | SHOW_IF_NOT_BLOCKED, | ||
49 | SHOW_ALWAYS, | ||
50 | } EShowToolTip; | ||
47 | virtual BOOL handleMouseDown(S32 x, S32 y, MASK mask) = 0; | 51 | virtual BOOL handleMouseDown(S32 x, S32 y, MASK mask) = 0; |
48 | virtual BOOL handleMouseUp(S32 x, S32 y, MASK mask) = 0; | 52 | virtual BOOL handleMouseUp(S32 x, S32 y, MASK mask) = 0; |
49 | virtual BOOL handleHover(S32 x, S32 y, MASK mask) = 0; | 53 | virtual BOOL handleHover(S32 x, S32 y, MASK mask) = 0; |
@@ -51,8 +55,9 @@ public: | |||
51 | virtual BOOL handleDoubleClick(S32 x, S32 y, MASK mask) = 0; | 55 | virtual BOOL handleDoubleClick(S32 x, S32 y, MASK mask) = 0; |
52 | virtual BOOL handleRightMouseDown(S32 x, S32 y, MASK mask) = 0; | 56 | virtual BOOL handleRightMouseDown(S32 x, S32 y, MASK mask) = 0; |
53 | virtual BOOL handleRightMouseUp(S32 x, S32 y, MASK mask) = 0; | 57 | virtual BOOL handleRightMouseUp(S32 x, S32 y, MASK mask) = 0; |
54 | virtual BOOL handleToolTip(S32 x, S32 y, LLString& msg, LLRect* sticky_rect_screen) = 0; | 58 | virtual BOOL handleToolTip(S32 x, S32 y, std::string& msg, LLRect* sticky_rect_screen) = 0; |
55 | virtual const LLString& getName() const = 0; | 59 | virtual EShowToolTip getShowToolTip() { return SHOW_IF_NOT_BLOCKED; }; |
60 | virtual const std::string& getName() const = 0; | ||
56 | 61 | ||
57 | virtual void onMouseCaptureLost() = 0; | 62 | virtual void onMouseCaptureLost() = 0; |
58 | 63 | ||