#include <lltoolpie.h>
Inheritance diagram for LLToolPie:
Definition at line 41 of file lltoolpie.h.
LLToolPie::LLToolPie | ( | ) |
Definition at line 76 of file lltoolpie.cpp.
Reimplemented from LLTool.
Definition at line 635 of file lltoolpie.cpp.
References LLTool::getOverrideTool(), gToolGrab, MASK_CONTROL, and MASK_SHIFT.
void LLToolPie::handleDeselect | ( | ) | [virtual] |
Reimplemented from LLTool.
Definition at line 625 of file lltoolpie.cpp.
References FALSE, gSelectMgr, LLTool::hasMouseCapture(), LLTool::setMouseCapture(), and LLSelectMgr::validateSelection().
Reimplemented from LLTool.
Definition at line 571 of file lltoolpie.cpp.
References FALSE, gDebugClicks, LLControlGroup::getBOOL(), gLastHitLand, gLastHitObjectID, gLastHitObjectOffset, gLastHitPosGlobal, gSavedSettings, handle_go_to(), LLVector3d::isExactlyZero(), llendl, llinfos, LLUUID::notNull(), and TRUE.
Reimplemented from LLTool.
Definition at line 452 of file lltoolpie.cpp.
References LLViewerObject::allowOpen(), CLICK_ACTION_BUY, CLICK_ACTION_OPEN, CLICK_ACTION_PAY, CLICK_ACTION_SIT, FALSE, final_click_action(), LLViewerObject::flagHandleTouch(), LLViewerObject::flagTakesMoney(), LLHoverView::getLastHoverObject(), LLViewerObject::getRootEdit(), LLViewerWindow::getWindow(), gHoverView, gViewerWindow, LLPrimitive::isAvatar(), lldebugst, llendl, NULL, LLWindow::setCursor(), TRUE, UI_CURSOR_ARROW, UI_CURSOR_HAND, UI_CURSOR_TOOLBUY, UI_CURSOR_TOOLGRAB, UI_CURSOR_TOOLOPEN, UI_CURSOR_TOOLPAY, UI_CURSOR_TOOLSIT, useClickAction(), and LLViewerObject::usePhysics().
Reimplemented from LLTool.
Definition at line 86 of file lltoolpie.cpp.
References gViewerWindow, LLViewerWindow::hitObjectOrLandGlobalAsync(), leftMouseCallback(), mGrabMouseButtonDown, and TRUE.
Reimplemented from LLTool.
Definition at line 533 of file lltoolpie.cpp.
References LLToolMgr::clearTransientTool(), CLICK_ACTION_BUY, CLICK_ACTION_NONE, CLICK_ACTION_OPEN, CLICK_ACTION_PAY, FALSE, final_click_action(), gAgent, LLViewerWindow::getWindow(), gHoverView, gToolMgr, gViewerWindow, LLTool::handleMouseUp(), LLViewerWindow::lastObjectHit(), LOOKAT_TARGET_CONVERSATION, mGrabMouseButtonDown, LLHoverView::resetLastHoverObject(), LLWindow::setCursor(), LLAgent::setLookAt(), and UI_CURSOR_ARROW.
Reimplemented from LLTool.
Definition at line 101 of file lltoolpie.cpp.
References FALSE, gPickFaces, gViewerWindow, LLViewerWindow::hitObjectOrLandGlobalAsync(), mPieMouseButtonDown, rightMouseCallback(), and TRUE.
Referenced by LLViewerWindow::handleRightMouseDown().
Reimplemented from LLTool.
Definition at line 563 of file lltoolpie.cpp.
References LLToolMgr::clearTransientTool(), FALSE, gToolMgr, LLTool::handleRightMouseUp(), and mPieMouseButtonDown.
Definition at line 96 of file lltoolpie.cpp.
References FALSE, gToolPie, and pickAndShowMenu().
Referenced by handleMouseDown().
void LLToolPie::onMouseCaptureLost | ( | ) | [virtual] |
Reimplemented from LLTool.
Definition at line 657 of file lltoolpie.cpp.
References FALSE, and mMouseOutsideSlop.
Definition at line 120 of file lltoolpie.cpp.
References LLViewerObject::allowOpen(), LLPanel::childSetText(), CLICK_ACTION_BUY, CLICK_ACTION_OPEN, CLICK_ACTION_PAY, CLICK_ACTION_SIT, CLICK_ACTION_TOUCH, LLHUDManager::createViewerEffect(), LLViewerParcelMgr::deselectLand(), f, FALSE, LLViewerObject::flagHandleTouch(), LLViewerObject::flagTakesMoney(), gAgent, LLAgent::getAvatarObject(), LLControlGroup::getBOOL(), LLViewerObject::getClickAction(), LLViewerParcelMgr::getCollisionParcel(), LLViewerWindow::getCurrentMouseX(), LLViewerWindow::getCurrentMouseY(), LLToolMgr::getCurrentToolset(), LLAgent::getEffectColor(), LLVOAvatar::getFullname(), LLVOAvatar::getID(), LLAgent::getID(), LLViewerObject::getID(), LLParcel::getParcelFlag(), LLXform::getParent(), LLViewerObject::getRootEdit(), LLSelectMgr::getSelection(), LLHUDObject::getSourceObject(), gGrabTransientTool, gHUDManager, gLastHitHUDIcon, gLastHitParcelWall, gLastHitPosGlobal, gMenuHolder, gMuteListp, gParcelMgr, gPieAttachment, gPieAvatar, gPieLand, gPieObject, gPieSelf, gSavedSettings, gSelectMgr, gToolCamera, gToolGrab, gToolMgr, gViewerWindow, handle_sit_or_stand(), LLTool::handleMouseDown(), LLToolGrab::handleObjectHit(), LLToolSelect::handleObjectSelection(), LLTool::handleRightMouseDown(), LLViewerWindow::hideCursor(), LLViewerObject::isAttachment(), LLPrimitive::isAvatar(), LLViewerParcelMgr::isCollisionBanned(), LLVector3d::isExactlyZero(), LLViewerObject::isHUDAttachment(), LLMuteList::isMuted(), LLViewerWindow::lastObjectHit(), LLAgent::leftButtonGrabbed(), LLHUDObject::LL_HUD_EFFECT_SPHERE, MASK_NONE, mGrabMouseButtonDown, mHitLand, mHitObjectID, LLViewerObject::mID, LLSelectNode::mName, mPieMouseButtonDown, NULL, LLPanelLandGeneral::onClickBuyPass(), LLViewerObject::permYouOwner(), PF_USE_PASS_LIST, LLToolCamera::pickCallback(), sClickAction, sClickActionObject, LLViewerParcelMgr::selectCollisionParcel(), LLViewerParcelMgr::selectParcelAt(), LLToolset::selectTool(), LLHUDEffect::setColor(), LLHUDEffect::setDuration(), LLAgent::setFocusOnAvatar(), LLTool::setMouseCapture(), LLUUID::setNull(), LLViewerMenuHolderGL::setObjectSelection(), LLViewerMenuHolderGL::setParcelSelection(), LLHUDObject::setPositionGlobal(), LLToolMgr::setTransientTool(), LLPieMenu::show(), LLFloaterScriptDebug::show(), LLFloaterLand::show(), sLeftClickSelection, TRUE, useClickAction(), LLFirstUse::useLeftClickNoHit(), and LLViewerObject::usePhysics().
Referenced by leftMouseCallback(), and rightMouseCallback().
void LLToolPie::render | ( | ) | [virtual] |
Definition at line 114 of file lltoolpie.cpp.
References gToolPie, pickAndShowMenu(), and TRUE.
Referenced by handleRightMouseDown().
void LLToolPie::selectionPropertiesReceived | ( | ) | [static] |
Definition at line 415 of file lltoolpie.cpp.
References CLICK_ACTION_BUY, CLICK_ACTION_OPEN, CLICK_ACTION_PAY, gSelectMgr, handle_buy(), handle_give_money_dialog(), handle_object_open(), NULL, sClickAction, sClickActionObject, LLSelectMgr::selectGetAllValid(), and sLeftClickSelection.
Referenced by LLSelectMgr::processObjectProperties().
void LLToolPie::stopEditing | ( | ) | [virtual] |
Reimplemented from LLTool.
Definition at line 649 of file lltoolpie.cpp.
References FALSE, LLTool::hasMouseCapture(), and LLTool::setMouseCapture().
BOOL LLToolPie::useClickAction | ( | BOOL | always_show, | |
MASK | mask, | |||
LLViewerObject * | object, | |||
LLViewerObject * | parent | |||
) | [protected] |
Definition at line 375 of file lltoolpie.cpp.
References LLViewerObject::getClickAction(), LLPrimitive::getPCode(), LLViewerObject::isAttachment(), LLPrimitive::isPrimitive(), and MASK_NONE.
Referenced by handleHover(), and pickAndShowMenu().
BOOL LLToolPie::mGrabMouseButtonDown [protected] |
Definition at line 75 of file lltoolpie.h.
Referenced by handleMouseDown(), handleMouseUp(), and pickAndShowMenu().
BOOL LLToolPie::mHitLand [protected] |
LLUUID LLToolPie::mHitObjectID [protected] |
BOOL LLToolPie::mMouseOutsideSlop [protected] |
BOOL LLToolPie::mPieMouseButtonDown [protected] |
Definition at line 74 of file lltoolpie.h.
Referenced by handleRightMouseDown(), handleRightMouseUp(), and pickAndShowMenu().
U8 LLToolPie::sClickAction = 0 [static, protected] |
Definition at line 80 of file lltoolpie.h.
Referenced by pickAndShowMenu(), and selectionPropertiesReceived().
LLPointer< LLViewerObject > LLToolPie::sClickActionObject [static, protected] |
Definition at line 79 of file lltoolpie.h.
Referenced by pickAndShowMenu(), and selectionPropertiesReceived().
LLHandle< LLObjectSelection > LLToolPie::sLeftClickSelection = NULL [static, protected] |
Definition at line 81 of file lltoolpie.h.
Referenced by pickAndShowMenu(), and selectionPropertiesReceived().