LLToolCompScale Class Reference

#include <lltoolcomp.h>

Inheritance diagram for LLToolCompScale:

Inheritance graph
[legend]
Collaboration diagram for LLToolCompScale:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLToolCompScale ()
virtual ~LLToolCompScale ()
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 144 of file lltoolcomp.h.


Constructor & Destructor Documentation

LLToolCompScale::LLToolCompScale (  ) 

Definition at line 325 of file lltoolcomp.cpp.

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

LLToolCompScale::~LLToolCompScale (  )  [virtual]

Definition at line 335 of file lltoolcomp.cpp.

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


Member Function Documentation

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

Reimplemented from LLTool.

Definition at line 401 of file lltoolcomp.cpp.

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

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

Implements LLToolComposite.

Definition at line 412 of file lltoolcomp.cpp.

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

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

Reimplemented from LLToolComposite.

Definition at line 341 of file lltoolcomp.cpp.

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

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

Implements LLToolComposite.

Definition at line 351 of file lltoolcomp.cpp.

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

Referenced by handleDoubleClick().

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

Reimplemented from LLToolComposite.

Definition at line 395 of file lltoolcomp.cpp.

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

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

Definition at line 358 of file lltoolcomp.cpp.

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

Referenced by handleMouseDown().

void LLToolCompScale::render (  )  [virtual]

Reimplemented from LLToolComposite.

Definition at line 431 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