LLToolCompTranslate Class Reference

#include <lltoolcomp.h>

Inheritance diagram for LLToolCompTranslate:

Inheritance graph
[legend]
Collaboration diagram for LLToolCompTranslate:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLToolCompTranslate ()
virtual ~LLToolCompTranslate ()
virtual BOOL handleMouseDown (S32 x, S32 y, MASK mask)
virtual BOOL handleDoubleClick (S32 x, S32 y, MASK mask)
virtual BOOL handleHover (S32 x, S32 y, MASK mask)
virtual BOOL handleMouseUp (S32 x, S32 y, MASK mask)
virtual void render ()
virtual LLToolgetOverrideTool (MASK mask)

Static Public Member Functions

static void pickCallback (S32 x, S32 y, MASK mask)

Detailed Description

Definition at line 123 of file lltoolcomp.h.


Constructor & Destructor Documentation

LLToolCompTranslate::LLToolCompTranslate (  ) 

Definition at line 198 of file lltoolcomp.cpp.

References LLToolComposite::mCur, LLToolComposite::mDefault, LLToolComposite::mManip, and LLToolComposite::mSelectRect.

LLToolCompTranslate::~LLToolCompTranslate (  )  [virtual]

Definition at line 208 of file lltoolcomp.cpp.

References LLToolComposite::mManip, LLToolComposite::mSelectRect, and NULL.


Member Function Documentation

LLTool * LLToolCompTranslate::getOverrideTool ( MASK  mask  )  [virtual]

Reimplemented from LLTool.

Definition at line 282 of file lltoolcomp.cpp.

References LLTool::getOverrideTool(), gToolRotate, gToolStretch, MASK_CONTROL, and MASK_SHIFT.

BOOL LLToolCompTranslate::handleDoubleClick ( S32  x,
S32  y,
MASK  mask 
) [virtual]

Implements LLToolComposite.

Definition at line 295 of file lltoolcomp.cpp.

References FALSE, LLManip::getHighlightedPart(), LLManip::getSelection(), gFloaterTools, LLManip::LL_NO_PART, LLToolComposite::mManip, LLFloaterTools::PANEL_CONTENTS, LLFloaterTools::showPanel(), and TRUE.

BOOL LLToolCompTranslate::handleHover ( S32  x,
S32  y,
MASK  mask 
) [virtual]

Reimplemented from LLToolComposite.

Definition at line 217 of file lltoolcomp.cpp.

References LLTool::handleHover(), LLTool::hasMouseCapture(), LLToolComposite::mCur, LLToolComposite::mManip, and LLToolComposite::setCurrentTool().

BOOL LLToolCompTranslate::handleMouseDown ( S32  x,
S32  y,
MASK  mask 
) [virtual]

Implements LLToolComposite.

Definition at line 227 of file lltoolcomp.cpp.

References gViewerWindow, LLViewerWindow::hitObjectOrLandGlobalAsync(), LLToolComposite::mMouseDown, pickCallback(), and TRUE.

BOOL LLToolCompTranslate::handleMouseUp ( S32  x,
S32  y,
MASK  mask 
) [virtual]

Reimplemented from LLToolComposite.

Definition at line 276 of file lltoolcomp.cpp.

References FALSE, LLToolComposite::handleMouseUp(), and LLToolComposite::mMouseDown.

void LLToolCompTranslate::pickCallback ( S32  x,
S32  y,
MASK  mask 
) [static]

Definition at line 234 of file lltoolcomp.cpp.

References LLManip::canAffectSelection(), FALSE, gEditMenuHandler, LLControlGroup::getBOOL(), LLManip::getHighlightedPart(), LLManip::getSelection(), gSavedSettings, gSelectMgr, gToolTranslate, gViewerWindow, LLToolSelectRect::handleMouseDown(), LLManip::handleMouseDownOnPart(), LLToolSelect::handleObjectSelection(), LLManip::highlightManipulators(), LLViewerWindow::lastObjectHit(), LLManip::LL_NO_PART, LLToolComposite::mManip, LLToolComposite::mMouseDown, LLToolComposite::mSelectRect, and LLToolComposite::setCurrentTool().

Referenced by handleMouseDown().

void LLToolCompTranslate::render (  )  [virtual]

Reimplemented from LLToolComposite.

Definition at line 310 of file lltoolcomp.cpp.

References LLToolComposite::mCur, LLToolComposite::mManip, LLTool::render(), and LLManip::renderGuidelines().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:52 2010 for Second Life Viewer by  doxygen 1.4.7