aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llviewerwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llviewerwindow.h')
-rw-r--r--linden/indra/newview/llviewerwindow.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/linden/indra/newview/llviewerwindow.h b/linden/indra/newview/llviewerwindow.h
index 79828f1..74edd2e 100644
--- a/linden/indra/newview/llviewerwindow.h
+++ b/linden/indra/newview/llviewerwindow.h
@@ -49,6 +49,7 @@
49#include "llstat.h" 49#include "llstat.h"
50#include "llalertdialog.h" 50#include "llalertdialog.h"
51#include "llnotifications.h" 51#include "llnotifications.h"
52#include "llmousehandler.h"
52 53
53class LLView; 54class LLView;
54class LLViewerObject; 55class LLViewerObject;
@@ -59,7 +60,6 @@ class LLVelocityBar;
59class LLTextBox; 60class LLTextBox;
60class LLImageRaw; 61class LLImageRaw;
61class LLHUDIcon; 62class LLHUDIcon;
62class LLMouseHandler;
63 63
64#define PICK_HALF_WIDTH 5 64#define PICK_HALF_WIDTH 5
65#define PICK_DIAMETER (2 * PICK_HALF_WIDTH + 1) 65#define PICK_DIAMETER (2 * PICK_HALF_WIDTH + 1)
@@ -83,7 +83,7 @@ public:
83 83
84 static bool isFlora(LLViewerObject* object); 84 static bool isFlora(LLViewerObject* object);
85 85
86 typedef enum e_pick_type 86 typedef enum
87 { 87 {
88 PICK_OBJECT, 88 PICK_OBJECT,
89 PICK_FLORA, 89 PICK_FLORA,
@@ -152,6 +152,7 @@ public:
152 /*virtual*/ BOOL handleTranslatedKeyUp(KEY key, MASK mask); 152 /*virtual*/ BOOL handleTranslatedKeyUp(KEY key, MASK mask);
153 /*virtual*/ void handleScanKey(KEY key, BOOL key_down, BOOL key_up, BOOL key_level); 153 /*virtual*/ void handleScanKey(KEY key, BOOL key_down, BOOL key_up, BOOL key_level);
154 /*virtual*/ BOOL handleUnicodeChar(llwchar uni_char, MASK mask); // NOT going to handle extended 154 /*virtual*/ BOOL handleUnicodeChar(llwchar uni_char, MASK mask); // NOT going to handle extended
155 /*virtual*/ BOOL handleAnyMouseClick(LLWindow *window, LLCoordGL pos, MASK mask, LLMouseHandler::EClickType clicktype, BOOL down);
155 /*virtual*/ BOOL handleMouseDown(LLWindow *window, LLCoordGL pos, MASK mask); 156 /*virtual*/ BOOL handleMouseDown(LLWindow *window, LLCoordGL pos, MASK mask);
156 /*virtual*/ BOOL handleMouseUp(LLWindow *window, LLCoordGL pos, MASK mask); 157 /*virtual*/ BOOL handleMouseUp(LLWindow *window, LLCoordGL pos, MASK mask);
157 /*virtual*/ BOOL handleCloseRequest(LLWindow *window); 158 /*virtual*/ BOOL handleCloseRequest(LLWindow *window);
@@ -214,6 +215,7 @@ public:
214 LLCoordGL getCurrentMouseDelta() const { return mCurrentMouseDelta; } 215 LLCoordGL getCurrentMouseDelta() const { return mCurrentMouseDelta; }
215 LLStat * getMouseVelocityStat() { return &mMouseVelocityStat; } 216 LLStat * getMouseVelocityStat() { return &mMouseVelocityStat; }
216 BOOL getLeftMouseDown() const { return mLeftMouseDown; } 217 BOOL getLeftMouseDown() const { return mLeftMouseDown; }
218 BOOL getMiddleMouseDown() const { return mMiddleMouseDown; }
217 BOOL getRightMouseDown() const { return mRightMouseDown; } 219 BOOL getRightMouseDown() const { return mRightMouseDown; }
218 220
219 const LLPickInfo& getLastPick() const { return mLastPick; } 221 const LLPickInfo& getLastPick() const { return mLastPick; }
@@ -281,7 +283,7 @@ public:
281 283
282 // snapshot functionality. 284 // snapshot functionality.
283 // perhaps some of this should move to llfloatershapshot? -MG 285 // perhaps some of this should move to llfloatershapshot? -MG
284 typedef enum e_snapshot_type 286 typedef enum
285 { 287 {
286 SNAPSHOT_TYPE_COLOR, 288 SNAPSHOT_TYPE_COLOR,
287 SNAPSHOT_TYPE_DEPTH, 289 SNAPSHOT_TYPE_DEPTH,
@@ -390,6 +392,7 @@ protected:
390 LLCoordGL mCurrentMouseDelta; //amount mouse moved this frame 392 LLCoordGL mCurrentMouseDelta; //amount mouse moved this frame
391 LLStat mMouseVelocityStat; 393 LLStat mMouseVelocityStat;
392 BOOL mLeftMouseDown; 394 BOOL mLeftMouseDown;
395 BOOL mMiddleMouseDown;
393 BOOL mRightMouseDown; 396 BOOL mRightMouseDown;
394 397
395 LLProgressView *mProgressView; 398 LLProgressView *mProgressView;