diff options
author | Jacek Antonelli | 2008-08-15 23:45:11 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:11 -0500 |
commit | 215f423cbe18fe9ca14a26caef918d303bad28ff (patch) | |
tree | 0743442b286216cc8e19aa487c26f4e9345ffd64 /linden/indra/newview/llmanip.h | |
parent | Second Life viewer sources 1.18.3.5-RC (diff) | |
download | meta-impy-215f423cbe18fe9ca14a26caef918d303bad28ff.zip meta-impy-215f423cbe18fe9ca14a26caef918d303bad28ff.tar.gz meta-impy-215f423cbe18fe9ca14a26caef918d303bad28ff.tar.bz2 meta-impy-215f423cbe18fe9ca14a26caef918d303bad28ff.tar.xz |
Second Life viewer sources 1.18.4.0-RC
Diffstat (limited to 'linden/indra/newview/llmanip.h')
-rw-r--r-- | linden/indra/newview/llmanip.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/linden/indra/newview/llmanip.h b/linden/indra/newview/llmanip.h index 2b1e836..8c51746 100644 --- a/linden/indra/newview/llmanip.h +++ b/linden/indra/newview/llmanip.h | |||
@@ -2,6 +2,8 @@ | |||
2 | * @file llmanip.h | 2 | * @file llmanip.h |
3 | * @brief LLManip class definition | 3 | * @brief LLManip class definition |
4 | * | 4 | * |
5 | * $LicenseInfo:firstyear=2001&license=viewergpl$ | ||
6 | * | ||
5 | * Copyright (c) 2001-2007, Linden Research, Inc. | 7 | * Copyright (c) 2001-2007, Linden Research, Inc. |
6 | * | 8 | * |
7 | * Second Life Viewer Source Code | 9 | * Second Life Viewer Source Code |
@@ -24,6 +26,7 @@ | |||
24 | * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO | 26 | * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO |
25 | * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, | 27 | * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, |
26 | * COMPLETENESS OR PERFORMANCE. | 28 | * COMPLETENESS OR PERFORMANCE. |
29 | * $/LicenseInfo$ | ||
27 | */ | 30 | */ |
28 | 31 | ||
29 | #ifndef LL_MANIP_H | 32 | #ifndef LL_MANIP_H |
@@ -125,11 +128,13 @@ public: | |||
125 | 128 | ||
126 | /*virtual*/ BOOL handleMouseUp(S32 x, S32 y, MASK mask); | 129 | /*virtual*/ BOOL handleMouseUp(S32 x, S32 y, MASK mask); |
127 | /*virtual*/ BOOL handleHover(S32 x, S32 y, MASK mask); | 130 | /*virtual*/ BOOL handleHover(S32 x, S32 y, MASK mask); |
128 | virtual EManipPart getHighlightedPart() { return LL_NO_PART; } | 131 | virtual void highlightManipulators(S32 x, S32 y) = 0; |
129 | virtual void highlightManipulators(S32 x, S32 y) {}; | ||
130 | virtual void handleSelect(); | 132 | virtual void handleSelect(); |
131 | virtual void handleDeselect(); | 133 | virtual void handleDeselect(); |
134 | virtual BOOL canAffectSelection() = 0; | ||
132 | 135 | ||
136 | EManipPart getHighlightedPart() { return mHighlightedPart; } | ||
137 | |||
133 | LLHandle<LLObjectSelection> getSelection(); | 138 | LLHandle<LLObjectSelection> getSelection(); |
134 | 139 | ||
135 | protected: | 140 | protected: |
@@ -149,6 +154,7 @@ protected: | |||
149 | LLFrameTimer mHelpTextTimer; | 154 | LLFrameTimer mHelpTextTimer; |
150 | BOOL mInSnapRegime; | 155 | BOOL mInSnapRegime; |
151 | LLHandle<LLObjectSelection> mObjectSelection; | 156 | LLHandle<LLObjectSelection> mObjectSelection; |
157 | EManipPart mHighlightedPart; | ||
152 | 158 | ||
153 | static F32 sHelpTextVisibleTime; | 159 | static F32 sHelpTextVisibleTime; |
154 | static F32 sHelpTextFadeTime; | 160 | static F32 sHelpTextFadeTime; |