LLToolSelectLand Class Reference

#include <lltoolselectland.h>

Inheritance diagram for LLToolSelectLand:

Inheritance graph
[legend]
Collaboration diagram for LLToolSelectLand:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLToolSelectLand ()
virtual ~LLToolSelectLand ()
BOOL handleMouseDown (S32 x, S32 y, MASK mask)
BOOL handleDoubleClick (S32 x, S32 y, MASK mask)
BOOL handleMouseUp (S32 x, S32 y, MASK mask)
BOOL handleHover (S32 x, S32 y, MASK mask)
void render ()
BOOL isAlwaysRendered ()
void handleSelect ()
void handleDeselect ()

Protected Member Functions

BOOL outsideSlop (S32 x, S32 y, S32 start_x, S32 start_y)
void roundXY (LLVector3d &vec)

Protected Attributes

LLVector3d mDragStartGlobal
LLVector3d mDragEndGlobal
BOOL mDragEndValid
S32 mDragStartX
S32 mDragStartY
S32 mDragEndX
S32 mDragEndY
BOOL mMouseOutsideSlop
LLVector3d mWestSouthBottom
LLVector3d mEastNorthTop
BOOL mLastShowParcelOwners
LLSafeHandle< LLParcelSelectionmSelection


Detailed Description

Definition at line 40 of file lltoolselectland.h.


Constructor & Destructor Documentation

LLToolSelectLand::LLToolSelectLand (  ) 

Definition at line 53 of file lltoolselectland.cpp.

LLToolSelectLand::~LLToolSelectLand (  )  [virtual]

Definition at line 68 of file lltoolselectland.cpp.


Member Function Documentation

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

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

Reimplemented from LLTool.

Definition at line 105 of file lltoolselectland.cpp.

References FALSE, LLSingleton< LLViewerParcelMgr >::getInstance(), gViewerWindow, LLViewerWindow::mousePointOnLandGlobal(), LLViewerParcelMgr::selectParcelAt(), and TRUE.

Here is the call graph for this function:

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

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

void LLToolSelectLand::render (  )  [virtual]

Reimplemented from LLTool.

Definition at line 208 of file lltoolselectland.cpp.

References LLSingleton< LLViewerParcelMgr >::getInstance(), LLTool::hasMouseCapture(), mDragEndValid, mEastNorthTop, mWestSouthBottom, and LLViewerParcelMgr::renderRect().

Here is the call graph for this function:

BOOL LLToolSelectLand::isAlwaysRendered (  )  [inline, virtual]

Reimplemented from LLTool.

Definition at line 52 of file lltoolselectland.h.

References TRUE.

void LLToolSelectLand::handleSelect (  )  [virtual]

Reimplemented from LLTool.

Definition at line 216 of file lltoolselectland.cpp.

References LLControlGroup::getBOOL(), gFloaterTools, gSavedSettings, mLastShowParcelOwners, LLControlGroup::setBOOL(), and LLFloaterTools::setStatusText().

Here is the call graph for this function:

void LLToolSelectLand::handleDeselect (  )  [virtual]

Reimplemented from LLTool.

Definition at line 224 of file lltoolselectland.cpp.

References LLControlGroup::getBOOL(), gSavedSettings, mLastShowParcelOwners, mSelection, NULL, and LLControlGroup::setBOOL().

Here is the call graph for this function:

BOOL LLToolSelectLand::outsideSlop ( S32  x,
S32  y,
S32  start_x,
S32  start_y 
) [protected]

Definition at line 241 of file lltoolselectland.cpp.

References S32.

Referenced by handleHover().

Here is the caller graph for this function:

void LLToolSelectLand::roundXY ( LLVector3d vec  )  [protected]

Definition at line 233 of file lltoolselectland.cpp.

References llround(), LLVector3d::mdV, PARCEL_GRID_STEP_METERS, VX, and VY.

Referenced by handleHover(), handleMouseDown(), and handleMouseUp().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 62 of file lltoolselectland.h.

Referenced by handleHover(), handleMouseDown(), and handleMouseUp().

Definition at line 63 of file lltoolselectland.h.

Referenced by handleHover(), handleMouseDown(), and handleMouseUp().

Definition at line 64 of file lltoolselectland.h.

Referenced by handleHover(), handleMouseDown(), handleMouseUp(), and render().

Definition at line 66 of file lltoolselectland.h.

Referenced by handleHover(), and handleMouseDown().

Definition at line 67 of file lltoolselectland.h.

Referenced by handleHover(), and handleMouseDown().

Definition at line 69 of file lltoolselectland.h.

Referenced by handleHover(), and handleMouseDown().

Definition at line 70 of file lltoolselectland.h.

Referenced by handleHover(), and handleMouseDown().

Definition at line 72 of file lltoolselectland.h.

Referenced by handleHover(), handleMouseDown(), and handleMouseUp().

Definition at line 74 of file lltoolselectland.h.

Referenced by handleHover(), handleMouseDown(), handleMouseUp(), and render().

Definition at line 75 of file lltoolselectland.h.

Referenced by handleHover(), handleMouseDown(), handleMouseUp(), and render().

Definition at line 77 of file lltoolselectland.h.

Referenced by handleDeselect(), and handleSelect().

Definition at line 78 of file lltoolselectland.h.

Referenced by handleDeselect(), and handleMouseUp().


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

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