LLToolCompGun Class Reference

#include <lltoolcomp.h>

Inheritance diagram for LLToolCompGun:

Inheritance graph
[legend]
Collaboration diagram for LLToolCompGun:

Collaboration graph
[legend]

List of all members.

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

LLToolGunmGun
LLToolGrabmGrab
LLToolmNull


Detailed Description

Definition at line 214 of file lltoolcomp.h.


Constructor & Destructor Documentation

LLToolCompGun::LLToolCompGun (  ) 

Definition at line 635 of file lltoolcomp.cpp.

References LLTool::LLTool(), LLToolComposite::mDefault, mGrab, mGun, mNull, and LLToolComposite::setCurrentTool().

Here is the call graph for this function:

LLToolCompGun::~LLToolCompGun (  )  [virtual]

Definition at line 647 of file lltoolcomp.cpp.

References mGrab, mGun, mNull, and NULL.


Member Function Documentation

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

BOOL LLToolCompGun::handleMouseDown ( S32  x,
S32  y,
MASK  mask 
) [virtual]

BOOL LLToolCompGun::handleDoubleClick ( S32  x,
S32  y,
MASK  mask 
) [virtual]

BOOL LLToolCompGun::handleRightMouseDown ( S32  x,
S32  y,
MASK  mask 
) [virtual]

Reimplemented from LLToolComposite.

Definition at line 729 of file lltoolcomp.cpp.

References TRUE.

BOOL LLToolCompGun::handleMouseUp ( S32  x,
S32  y,
MASK  mask 
) [virtual]

Reimplemented from LLToolComposite.

Definition at line 747 of file lltoolcomp.cpp.

References AGENT_CONTROL_ML_LBUTTON_UP, gAgent, mGun, LLAgent::setControlFlags(), LLToolComposite::setCurrentTool(), and TRUE.

Here is the call graph for this function:

BOOL LLToolCompGun::handleScrollWheel ( S32  x,
S32  y,
S32  clicks 
) [virtual]

Reimplemented from LLToolComposite.

Definition at line 781 of file lltoolcomp.cpp.

References LLAgent::changeCameraToDefault(), gAgent, and TRUE.

Here is the call graph for this function:

void LLToolCompGun::onMouseCaptureLost (  )  [virtual]

Reimplemented from LLToolComposite.

Definition at line 754 of file lltoolcomp.cpp.

References LLTool::mComposite, LLToolComposite::mCur, mGun, LLTool::onMouseCaptureLost(), LLToolComposite::onMouseCaptureLost(), and LLToolComposite::setCurrentTool().

Here is the call graph for this function:

void LLToolCompGun::handleSelect (  )  [virtual]

Reimplemented from LLToolComposite.

Definition at line 768 of file lltoolcomp.cpp.

References LLToolComposite::handleSelect(), LLTool::setMouseCapture(), and TRUE.

Here is the call graph for this function:

void LLToolCompGun::handleDeselect (  )  [virtual]

Reimplemented from LLToolComposite.

Definition at line 774 of file lltoolcomp.cpp.

References FALSE, LLToolComposite::handleDeselect(), and LLTool::setMouseCapture().

Here is the call graph for this function:


Member Data Documentation

Definition at line 234 of file lltoolcomp.h.

Referenced by handleHover(), LLToolCompGun(), and ~LLToolCompGun().


The documentation for this class was generated from the following files:

Generated on Fri May 16 09:16:37 2008 for SecondLife by  doxygen 1.5.5