LLToolCompCreate Class Reference

#include <lltoolcomp.h>

Inheritance diagram for LLToolCompCreate:

Inheritance graph
[legend]
Collaboration diagram for LLToolCompCreate:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLToolCompCreate ()
virtual ~LLToolCompCreate ()
virtual BOOL handleMouseDown (S32 x, S32 y, MASK mask)
virtual BOOL handleDoubleClick (S32 x, S32 y, MASK mask)
virtual BOOL handleMouseUp (S32 x, S32 y, MASK mask)

Static Public Member Functions

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

Protected Attributes

LLToolPlacermPlacer
BOOL mObjectPlacedOnMouseDown

Detailed Description

Definition at line 189 of file lltoolcomp.h.


Constructor & Destructor Documentation

LLToolCompCreate::LLToolCompCreate (  ) 

Definition at line 445 of file lltoolcomp.cpp.

References FALSE, LLToolComposite::mCur, LLToolComposite::mDefault, mObjectPlacedOnMouseDown, mPlacer, and LLToolComposite::mSelectRect.

LLToolCompCreate::~LLToolCompCreate (  )  [virtual]

Definition at line 457 of file lltoolcomp.cpp.

References mPlacer, and LLToolComposite::mSelectRect.


Member Function Documentation

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

Implements LLToolComposite.

Definition at line 496 of file lltoolcomp.cpp.

References handleMouseDown().

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

Implements LLToolComposite.

Definition at line 464 of file lltoolcomp.cpp.

References FALSE, gViewerWindow, LLViewerWindow::hitObjectOrLandGlobalAsync(), MASK_CONTROL, MASK_SHIFT, LLToolComposite::mMouseDown, mObjectPlacedOnMouseDown, mPlacer, pickCallback(), LLToolComposite::setCurrentTool(), and TRUE.

Referenced by handleDoubleClick().

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

Reimplemented from LLToolComposite.

Definition at line 501 of file lltoolcomp.cpp.

References FALSE, LLToolComposite::handleMouseUp(), MASK_CONTROL, MASK_SHIFT, LLToolComposite::mMouseDown, mObjectPlacedOnMouseDown, mPlacer, and LLToolComposite::setCurrentTool().

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

Definition at line 485 of file lltoolcomp.cpp.

References gToolCreate, LLToolSelectRect::handleMouseDown(), MASK_CONTROL, MASK_SHIFT, LLToolComposite::mSelectRect, and LLToolComposite::setCurrentTool().

Referenced by handleMouseDown().


Member Data Documentation

BOOL LLToolCompCreate::mObjectPlacedOnMouseDown [protected]

Definition at line 203 of file lltoolcomp.h.

Referenced by handleMouseDown(), handleMouseUp(), and LLToolCompCreate().

LLToolPlacer* LLToolCompCreate::mPlacer [protected]

Definition at line 202 of file lltoolcomp.h.

Referenced by handleMouseDown(), handleMouseUp(), LLToolCompCreate(), and ~LLToolCompCreate().


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