#include <lltoolplacer.h>
Inheritance diagram for LLToolPlacer:
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 |
Definition at line 44 of file lltoolplacer.h.
LLToolPlacer::LLToolPlacer | ( | ) |
Definition at line 59 of file lltoolplacer.cpp.
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 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().
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.
Definition at line 55 of file lltoolplacer.h.
References sObjectType.
Referenced by LLToolPlacerPanel::setObjectType(), and LLFloaterTools::setObjectType().
LLPCode LLToolPlacer::sObjectType = LL_PCODE_CUBE [static, protected] |
Definition at line 59 of file lltoolplacer.h.
Referenced by getObjectType(), placeObject(), and setObjectType().