#include <lltoolcomp.h>
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 | |
LLToolPlacer * | mPlacer |
BOOL | mObjectPlacedOnMouseDown |
Definition at line 189 of file lltoolcomp.h.
LLToolCompCreate::LLToolCompCreate | ( | ) |
Definition at line 436 of file lltoolcomp.cpp.
References FALSE, LLToolComposite::mCur, LLToolComposite::mDefault, mObjectPlacedOnMouseDown, mPlacer, and LLToolComposite::mSelectRect.
LLToolCompCreate::~LLToolCompCreate | ( | ) | [virtual] |
Definition at line 448 of file lltoolcomp.cpp.
References mPlacer, and LLToolComposite::mSelectRect.
Implements LLToolComposite.
Definition at line 455 of file lltoolcomp.cpp.
References FALSE, gViewerWindow, LLViewerWindow::hitObjectOrLandGlobalAsync(), MASK_CONTROL, MASK_SHIFT, LLToolComposite::mMouseDown, mObjectPlacedOnMouseDown, mPlacer, pickCallback(), LLToolPlacer::placeObject(), LLToolComposite::setCurrentTool(), and TRUE.
Referenced by handleDoubleClick().
Implements LLToolComposite.
Definition at line 487 of file lltoolcomp.cpp.
References handleMouseDown().
Reimplemented from LLToolComposite.
Definition at line 492 of file lltoolcomp.cpp.
References FALSE, LLToolComposite::handleMouseUp(), MASK_CONTROL, MASK_SHIFT, LLToolComposite::mMouseDown, mObjectPlacedOnMouseDown, mPlacer, LLToolPlacer::placeObject(), and LLToolComposite::setCurrentTool().
Definition at line 476 of file lltoolcomp.cpp.
References LLSingleton< LLToolCompCreate >::getInstance(), LLToolSelectRect::handleMouseDown(), MASK_CONTROL, MASK_SHIFT, LLToolComposite::mSelectRect, and LLToolComposite::setCurrentTool().
Referenced by handleMouseDown().
LLToolPlacer* LLToolCompCreate::mPlacer [protected] |
Definition at line 202 of file lltoolcomp.h.
Referenced by handleMouseDown(), handleMouseUp(), LLToolCompCreate(), and ~LLToolCompCreate().
BOOL LLToolCompCreate::mObjectPlacedOnMouseDown [protected] |
Definition at line 203 of file lltoolcomp.h.
Referenced by handleMouseDown(), handleMouseUp(), and LLToolCompCreate().