LLToolCompRotate Class Reference

#include <lltoolcomp.h>

Inheritance diagram for LLToolCompRotate:

Inheritance graph
[legend]
Collaboration diagram for LLToolCompRotate:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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


Constructor & Destructor Documentation

LLToolCompRotate::LLToolCompRotate (  ) 

Definition at line 525 of file lltoolcomp.cpp.

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

LLToolCompRotate::~LLToolCompRotate (  )  [virtual]

Definition at line 536 of file lltoolcomp.cpp.

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


Member Function Documentation

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

Reimplemented from LLTool.

Definition at line 601 of file lltoolcomp.cpp.

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

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

Implements LLToolComposite.

Definition at line 610 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 LLToolCompRotate::handleHover ( S32  x,
S32  y,
MASK  mask 
) [virtual]

Reimplemented from LLToolComposite.

Definition at line 542 of file lltoolcomp.cpp.

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

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

Implements LLToolComposite.

Definition at line 552 of file lltoolcomp.cpp.

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

Referenced by handleDoubleClick().

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

Reimplemented from LLToolComposite.

Definition at line 595 of file lltoolcomp.cpp.

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

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

Definition at line 559 of file lltoolcomp.cpp.

References FALSE, gEditMenuHandler, LLControlGroup::getBOOL(), LLManip::getHighlightedPart(), LLManip::getSelection(), gSavedSettings, gSelectMgr, gToolRotate, 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 LLToolCompRotate::render (  )  [virtual]

Reimplemented from LLToolComposite.

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