#include <lltoolcomp.h>
Inheritance diagram for LLToolCompGun:


| Public Member Functions | |
| LLToolCompGun () | |
| virtual | ~LLToolCompGun () | 
| virtual BOOL | handleHover (S32 x, S32 y, MASK mask) | 
| virtual BOOL | handleMouseDown (S32 x, S32 y, MASK mask) | 
| virtual BOOL | handleDoubleClick (S32 x, S32 y, MASK mask) | 
| virtual BOOL | handleRightMouseDown (S32 x, S32 y, MASK mask) | 
| virtual BOOL | handleMouseUp (S32 x, S32 y, MASK mask) | 
| virtual BOOL | handleScrollWheel (S32 x, S32 y, S32 clicks) | 
| virtual void | onMouseCaptureLost () | 
| virtual void | handleSelect () | 
| virtual void | handleDeselect () | 
| Protected Attributes | |
| LLToolGun * | mGun | 
| LLToolGrab * | mGrab | 
| LLTool * | mNull | 
Definition at line 214 of file lltoolcomp.h.
| LLToolCompGun::LLToolCompGun | ( | ) | 
Definition at line 644 of file lltoolcomp.cpp.
References LLTool::LLTool(), LLToolComposite::mDefault, mGrab, mGun, mNull, and LLToolComposite::setCurrentTool().
| LLToolCompGun::~LLToolCompGun | ( | ) |  [virtual] | 
| void LLToolCompGun::handleDeselect | ( | ) |  [virtual] | 
Reimplemented from LLToolComposite.
Definition at line 783 of file lltoolcomp.cpp.
References FALSE, LLToolComposite::handleDeselect(), and LLTool::setMouseCapture().
Implements LLToolComposite.
Definition at line 721 of file lltoolcomp.cpp.
References AGENT_CONTROL_ML_LBUTTON_DOWN, FALSE, gAgent, LLToolMgr::getCurrentToolset(), gGrabTransientTool, gToolGrab, gToolMgr, LLToolGrab::handleDoubleClick(), LLAgent::leftButtonGrabbed(), mGrab, LLToolset::selectTool(), and LLAgent::setControlFlags().
Reimplemented from LLToolComposite.
Definition at line 668 of file lltoolcomp.cpp.
References LLSelectMgr::deselectAll(), LLViewerWindow::getLeftMouseDown(), LLView::getVisible(), gPopupMenuView, gSelectMgr, gViewerWindow, LLTool::handleHover(), MASK_ALT, LLToolComposite::mCur, mGrab, mGun, mNull, LLToolComposite::setCurrentTool(), LLTool::setMouseCapture(), and TRUE.
Implements LLToolComposite.
Definition at line 704 of file lltoolcomp.cpp.
References AGENT_CONTROL_ML_LBUTTON_DOWN, FALSE, gAgent, LLToolMgr::getCurrentToolset(), gGrabTransientTool, gToolGrab, gToolMgr, LLToolGrab::handleMouseDown(), LLAgent::leftButtonGrabbed(), mGrab, LLToolset::selectTool(), and LLAgent::setControlFlags().
Reimplemented from LLToolComposite.
Definition at line 756 of file lltoolcomp.cpp.
References AGENT_CONTROL_ML_LBUTTON_UP, gAgent, mGun, LLAgent::setControlFlags(), LLToolComposite::setCurrentTool(), and TRUE.
Reimplemented from LLToolComposite.
Definition at line 790 of file lltoolcomp.cpp.
References LLAgent::changeCameraToDefault(), gAgent, and TRUE.
| void LLToolCompGun::handleSelect | ( | ) |  [virtual] | 
Reimplemented from LLToolComposite.
Definition at line 777 of file lltoolcomp.cpp.
References LLToolComposite::handleSelect(), LLTool::setMouseCapture(), and TRUE.
| void LLToolCompGun::onMouseCaptureLost | ( | ) |  [virtual] | 
Reimplemented from LLToolComposite.
Definition at line 763 of file lltoolcomp.cpp.
References LLTool::mComposite, LLToolComposite::mCur, mGun, LLTool::onMouseCaptureLost(), LLToolComposite::onMouseCaptureLost(), and LLToolComposite::setCurrentTool().
| LLToolGrab* LLToolCompGun::mGrab  [protected] | 
Definition at line 233 of file lltoolcomp.h.
Referenced by handleDoubleClick(), handleHover(), handleMouseDown(), LLToolCompGun(), and ~LLToolCompGun().
| LLToolGun* LLToolCompGun::mGun  [protected] | 
Definition at line 232 of file lltoolcomp.h.
Referenced by handleHover(), handleMouseUp(), LLToolCompGun(), onMouseCaptureLost(), and ~LLToolCompGun().
| LLTool* LLToolCompGun::mNull  [protected] | 
Definition at line 234 of file lltoolcomp.h.
Referenced by handleHover(), LLToolCompGun(), and ~LLToolCompGun().
 1.4.7
 1.4.7