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 (  ) 

LLToolCompTranslate::~LLToolCompTranslate (  )  [virtual]

Definition at line 199 of file lltoolcomp.cpp.

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


Member Function Documentation

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

Implements LLToolComposite.

Definition at line 218 of file lltoolcomp.cpp.

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

Here is the call graph for this function:

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

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

Reimplemented from LLToolComposite.

Definition at line 208 of file lltoolcomp.cpp.

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

Here is the call graph for this function:

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

Reimplemented from LLToolComposite.

Definition at line 267 of file lltoolcomp.cpp.

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

Here is the call graph for this function:

void LLToolCompTranslate::render (  )  [virtual]

Reimplemented from LLToolComposite.

Definition at line 301 of file lltoolcomp.cpp.

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

Here is the call graph for this function:

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

Reimplemented from LLTool.

Definition at line 273 of file lltoolcomp.cpp.

References LLSingleton< LLToolCompScale >::getInstance(), LLSingleton< LLToolCompRotate >::getInstance(), LLTool::getOverrideTool(), MASK_CONTROL, and MASK_SHIFT.

Here is the call graph for this function:

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


The documentation for this class was generated from the following files:

Generated on Fri May 16 09:16:48 2008 for SecondLife by  doxygen 1.5.5