diff options
Diffstat (limited to 'linden/indra/newview/llmanip.h')
-rw-r--r-- | linden/indra/newview/llmanip.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/linden/indra/newview/llmanip.h b/linden/indra/newview/llmanip.h index 34847e7..24cd35a 100644 --- a/linden/indra/newview/llmanip.h +++ b/linden/indra/newview/llmanip.h | |||
@@ -120,7 +120,7 @@ public: | |||
120 | public: | 120 | public: |
121 | static void rebuild(LLViewerObject* vobj); | 121 | static void rebuild(LLViewerObject* vobj); |
122 | 122 | ||
123 | LLManip( const LLString& name, LLToolComposite* composite ); | 123 | LLManip( const std::string& name, LLToolComposite* composite ); |
124 | 124 | ||
125 | virtual BOOL handleMouseDownOnPart(S32 x, S32 y, MASK mask) = 0; | 125 | virtual BOOL handleMouseDownOnPart(S32 x, S32 y, MASK mask) = 0; |
126 | void renderGuidelines(BOOL draw_x = TRUE, BOOL draw_y = TRUE, BOOL draw_z = TRUE); | 126 | void renderGuidelines(BOOL draw_x = TRUE, BOOL draw_y = TRUE, BOOL draw_z = TRUE); |
@@ -143,8 +143,8 @@ protected: | |||
143 | void getManipNormal(LLViewerObject* object, EManipPart manip, LLVector3 &normal); | 143 | void getManipNormal(LLViewerObject* object, EManipPart manip, LLVector3 &normal); |
144 | BOOL getManipAxis(LLViewerObject* object, EManipPart manip, LLVector3 &axis); | 144 | BOOL getManipAxis(LLViewerObject* object, EManipPart manip, LLVector3 &axis); |
145 | F32 getSubdivisionLevel(const LLVector3 &reference_point, const LLVector3 &translate_axis, F32 grid_scale, S32 min_pixel_spacing = MIN_DIVISION_PIXEL_WIDTH); | 145 | F32 getSubdivisionLevel(const LLVector3 &reference_point, const LLVector3 &translate_axis, F32 grid_scale, S32 min_pixel_spacing = MIN_DIVISION_PIXEL_WIDTH); |
146 | void renderTickValue(const LLVector3& pos, F32 value, const char* suffix, const LLColor4 &color); | 146 | void renderTickValue(const LLVector3& pos, F32 value, const std::string& suffix, const LLColor4 &color); |
147 | void renderTickText(const LLVector3& pos, const char* suffix, const LLColor4 &color); | 147 | void renderTickText(const LLVector3& pos, const std::string& suffix, const LLColor4 &color); |
148 | void updateGridSettings(); | 148 | void updateGridSettings(); |
149 | BOOL getMousePointOnPlaneGlobal(LLVector3d& point, S32 x, S32 y, LLVector3d origin, LLVector3 normal) const; | 149 | BOOL getMousePointOnPlaneGlobal(LLVector3d& point, S32 x, S32 y, LLVector3d origin, LLVector3 normal) const; |
150 | BOOL getMousePointOnPlaneAgent(LLVector3& point, S32 x, S32 y, LLVector3 origin, LLVector3 normal); | 150 | BOOL getMousePointOnPlaneAgent(LLVector3& point, S32 x, S32 y, LLVector3 origin, LLVector3 normal); |
@@ -155,6 +155,7 @@ protected: | |||
155 | BOOL mInSnapRegime; | 155 | BOOL mInSnapRegime; |
156 | LLSafeHandle<LLObjectSelection> mObjectSelection; | 156 | LLSafeHandle<LLObjectSelection> mObjectSelection; |
157 | EManipPart mHighlightedPart; | 157 | EManipPart mHighlightedPart; |
158 | EManipPart mManipPart; | ||
158 | 159 | ||
159 | static F32 sHelpTextVisibleTime; | 160 | static F32 sHelpTextVisibleTime; |
160 | static F32 sHelpTextFadeTime; | 161 | static F32 sHelpTextFadeTime; |