LLToolPlacer Class Reference

#include <lltoolplacer.h>

Inheritance diagram for LLToolPlacer:

Inheritance graph
[legend]
Collaboration diagram for LLToolPlacer:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLToolPlacer ()
virtual BOOL placeObject (S32 x, S32 y, MASK mask)
virtual BOOL handleHover (S32 x, S32 y, MASK mask)
virtual void handleSelect ()
virtual void handleDeselect ()

Static Public Member Functions

static void setObjectType (LLPCode type)
static LLPCode getObjectType ()

Static Protected Attributes

static LLPCode sObjectType = LL_PCODE_CUBE

Detailed Description

Definition at line 44 of file lltoolplacer.h.


Constructor & Destructor Documentation

LLToolPlacer::LLToolPlacer (  ) 

Definition at line 59 of file lltoolplacer.cpp.


Member Function Documentation

static LLPCode LLToolPlacer::getObjectType (  )  [inline, static]

Definition at line 56 of file lltoolplacer.h.

References sObjectType.

Referenced by LLFloaterTools::updatePopup().

void LLToolPlacer::handleDeselect (  )  [virtual]

Reimplemented from LLTool.

Definition at line 154 of file lltoolplacer.cpp.

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

Reimplemented from LLTool.

Definition at line 142 of file lltoolplacer.cpp.

References LLViewerWindow::getWindow(), gViewerWindow, lldebugst, llendl, LLWindow::setCursor(), TRUE, and UI_CURSOR_TOOLCREATE.

void LLToolPlacer::handleSelect (  )  [virtual]

Reimplemented from LLTool.

Definition at line 149 of file lltoolplacer.cpp.

References gFloaterTools, and LLFloaterTools::setStatusText().

BOOL LLToolPlacer::placeObject ( S32  x,
S32  y,
MASK  mask 
) [virtual]

Definition at line 120 of file lltoolplacer.cpp.

References add_duplicate(), add_object(), LLControlGroup::getBOOL(), LLToolMgr::getCurrentToolset(), gSavedSettings, gToolMgr, gToolTranslate, NO_PHYSICS, LLToolset::selectTool(), sObjectType, and TRUE.

static void LLToolPlacer::setObjectType ( LLPCode  type  )  [inline, static]

Definition at line 55 of file lltoolplacer.h.

References sObjectType.

Referenced by LLToolPlacerPanel::setObjectType(), and LLFloaterTools::setObjectType().


Member Data Documentation

LLPCode LLToolPlacer::sObjectType = LL_PCODE_CUBE [static, protected]

Definition at line 59 of file lltoolplacer.h.

Referenced by getObjectType(), placeObject(), and setObjectType().


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