#include <lltoolpie.h>
Definition at line 41 of file lltoolpie.h.
LLToolPie::LLToolPie | ( | ) |
Definition at line 83 of file lltoolpie.cpp.
Reimplemented from LLTool.
Definition at line 93 of file lltoolpie.cpp.
References gPickFaces, gViewerWindow, LLViewerWindow::hitObjectOrLandGlobalAsync(), leftMouseCallback(), mGrabMouseButtonDown, and TRUE.
Reimplemented from LLTool.
Definition at line 109 of file lltoolpie.cpp.
References FALSE, gPickFaces, gViewerWindow, LLViewerWindow::hitObjectOrLandGlobalAsync(), mPieMouseButtonDown, rightMouseCallback(), and TRUE.
Referenced by LLViewerWindow::handleRightMouseDown().
Reimplemented from LLTool.
Definition at line 575 of file lltoolpie.cpp.
References LLToolMgr::clearTransientTool(), CLICK_ACTION_BUY, CLICK_ACTION_NONE, CLICK_ACTION_OPEN, CLICK_ACTION_PAY, FALSE, final_click_action(), gAgent, LLSingleton< LLToolMgr >::getInstance(), LLViewerWindow::getWindow(), gHoverView, 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 605 of file lltoolpie.cpp.
References LLToolMgr::clearTransientTool(), FALSE, LLSingleton< LLToolMgr >::getInstance(), LLTool::handleRightMouseUp(), and mPieMouseButtonDown.
Reimplemented from LLTool.
Definition at line 515 of file lltoolpie.cpp.
References cursor_from_object(), FALSE, LLViewerObject::flagHandleTouch(), LLHoverView::getLastHoverObject(), LLViewerObject::getRootEdit(), LLViewerWindow::getWindow(), gHoverView, gViewerWindow, LLPrimitive::isAvatar(), lldebugst, llendl, NULL, LLWindow::setCursor(), TRUE, UI_CURSOR_ARROW, UI_CURSOR_HAND, UI_CURSOR_TOOLGRAB, useClickAction(), and LLViewerObject::usePhysics().
Reimplemented from LLTool.
Definition at line 613 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.
void LLToolPie::render | ( | ) | [virtual] |
void LLToolPie::stopEditing | ( | ) | [virtual] |
Reimplemented from LLTool.
Definition at line 691 of file lltoolpie.cpp.
References FALSE, LLTool::hasMouseCapture(), and LLTool::setMouseCapture().
void LLToolPie::onMouseCaptureLost | ( | ) | [virtual] |
Reimplemented from LLTool.
Definition at line 699 of file lltoolpie.cpp.
References FALSE, and mMouseOutsideSlop.
void LLToolPie::handleDeselect | ( | ) | [virtual] |
Reimplemented from LLTool.
Definition at line 667 of file lltoolpie.cpp.
References FALSE, LLSingleton< LLSelectMgr >::getInstance(), LLTool::hasMouseCapture(), LLTool::setMouseCapture(), and LLSelectMgr::validateSelection().
Reimplemented from LLTool.
Definition at line 677 of file lltoolpie.cpp.
References LLSingleton< LLToolGrab >::getInstance(), LLTool::getOverrideTool(), MASK_CONTROL, and MASK_SHIFT.
Definition at line 104 of file lltoolpie.cpp.
References FALSE, LLSingleton< LLToolPie >::getInstance(), and pickAndShowMenu().
Referenced by handleMouseDown().
Definition at line 122 of file lltoolpie.cpp.
References LLSingleton< LLToolPie >::getInstance(), pickAndShowMenu(), and TRUE.
Referenced by handleRightMouseDown().
void LLToolPie::selectionPropertiesReceived | ( | ) | [static] |
Definition at line 478 of file lltoolpie.cpp.
References CLICK_ACTION_BUY, CLICK_ACTION_OPEN, CLICK_ACTION_PAY, LLSingleton< LLSelectMgr >::getInstance(), handle_buy(), handle_give_money_dialog(), handle_object_open(), NULL, sClickAction, sClickActionObject, and sLeftClickSelection.
Referenced by LLSelectMgr::processObjectProperties().
Definition at line 128 of file lltoolpie.cpp.
References LLViewerObject::allowOpen(), LLPanel::childSetText(), CLICK_ACTION_BUY, CLICK_ACTION_OPEN, CLICK_ACTION_OPEN_MEDIA, CLICK_ACTION_PAY, CLICK_ACTION_PLAY, CLICK_ACTION_SIT, CLICK_ACTION_TOUCH, LLHUDManager::createViewerEffect(), LLViewerParcelMgr::deselectLand(), 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(), LLMuteList::getInstance(), LLSingleton< LLSelectMgr >::getInstance(), LLSingleton< LLHUDManager >::getInstance(), LLSingleton< LLToolCamera >::getInstance(), LLSingleton< LLToolGrab >::getInstance(), LLSingleton< LLToolMgr >::getInstance(), LLSingleton< LLViewerParcelMgr >::getInstance(), LLParcel::getParcelFlag(), LLXform::getParent(), LLViewerObject::getRootEdit(), LLSelectMgr::getSelection(), LLHUDObject::getSourceObject(), gGrabTransientTool, gLastHitHUDIcon, gLastHitParcelWall, gLastHitPosGlobal, gMenuHolder, gPieAttachment, gPieAvatar, gPieLand, gPieObject, gPieSelf, gSavedSettings, gViewerWindow, handle_click_action_open_media(), handle_click_action_play(), handle_sit_or_stand(), LLTool::handleMouseDown(), LLToolGrab::handleObjectHit(), LLToolSelect::handleObjectSelection(), LLTool::handleRightMouseDown(), LLViewerWindow::hideCursor(), LLViewerObject::isAttachment(), LLPrimitive::isAvatar(), LLViewerParcelMgr::isCollisionBanned(), LLVector3d::isExactlyZero(), LLViewerObject::isHUDAttachment(), LLViewerWindow::lastObjectHit(), LLAgent::leftButtonGrabbed(), LLHUDObject::LL_HUD_EFFECT_SPHERE, MASK_NONE, mGrabMouseButtonDown, mHitLand, mHitObjectID, LLVOAvatar::mIsSitting, LLSelectNode::mName, mPieMouseButtonDown, NULL, LLPanelLandGeneral::onClickBuyPass(), 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(), LLUIFactory< T, LLUISingleton< T, VISIBILITY_POLICY >, VISIBILITY_POLICY >::showInstance(), sLeftClickSelection, TRUE, useClickAction(), LLFirstUse::useLeftClickNoHit(), and LLViewerObject::usePhysics().
Referenced by leftMouseCallback(), and rightMouseCallback().
BOOL LLToolPie::useClickAction | ( | BOOL | always_show, | |
MASK | mask, | |||
LLViewerObject * | object, | |||
LLViewerObject * | parent | |||
) | [protected] |
Definition at line 394 of file lltoolpie.cpp.
References LLViewerObject::getClickAction(), LLPrimitive::getPCode(), LLPrimitive::isPrimitive(), and MASK_NONE.
Referenced by handleHover(), and pickAndShowMenu().
BOOL LLToolPie::mPieMouseButtonDown [protected] |
Definition at line 73 of file lltoolpie.h.
Referenced by handleRightMouseDown(), handleRightMouseUp(), and pickAndShowMenu().
BOOL LLToolPie::mGrabMouseButtonDown [protected] |
Definition at line 74 of file lltoolpie.h.
Referenced by handleMouseDown(), handleMouseUp(), and pickAndShowMenu().
BOOL LLToolPie::mHitLand [protected] |
LLUUID LLToolPie::mHitObjectID [protected] |
BOOL LLToolPie::mMouseOutsideSlop [protected] |
LLPointer< LLViewerObject > LLToolPie::sClickActionObject [static, protected] |
Definition at line 78 of file lltoolpie.h.
Referenced by pickAndShowMenu(), and selectionPropertiesReceived().
U8 LLToolPie::sClickAction = 0 [static, protected] |
Definition at line 79 of file lltoolpie.h.
Referenced by pickAndShowMenu(), and selectionPropertiesReceived().
LLSafeHandle< LLObjectSelection > LLToolPie::sLeftClickSelection = NULL [static, protected] |
Definition at line 80 of file lltoolpie.h.
Referenced by pickAndShowMenu(), and selectionPropertiesReceived().