LLHoverView Class Reference

#include <llhoverview.h>

Inheritance diagram for LLHoverView:

Inheritance graph
[legend]
Collaboration diagram for LLHoverView:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLHoverView (const std::string &name, const LLRect &rect)
 ~LLHoverView ()
void draw ()
void updateHover (LLTool *current_tool)
void cancelHover ()
void resetLastHoverObject ()
void setHoverActive (const BOOL active)
void setTyping (BOOL b)
BOOL isHovering () const
BOOL isHoveringObject () const
BOOL isHoveringLand () const
LLViewerObjectgetLastHoverObject () const

Static Public Member Functions

static void pickCallback (S32 x, S32 y, MASK mask)

Static Public Attributes

static BOOL sShowHoverTips = TRUE

Protected Types

typedef std::list< std::string > text_list_t

Protected Member Functions

void updateText ()

Protected Attributes

LLFrameTimer mStartHoverTimer
BOOL mStartHoverPickTimer
BOOL mDoneHoverPick
BOOL mHoverActive
LLCoordGL mHoverPos
LLFrameTimer mHoverTimer
text_list_t mText
BOOL mUseHover
LLPointer< LLViewerObjectmLastHoverObject
LLVector3d mHoverLandGlobal
LLVector3d mHoverOffset
BOOL mTyping


Detailed Description

Definition at line 52 of file llhoverview.h.


Member Typedef Documentation

typedef std::list<std::string> LLHoverView::text_list_t [protected]

Definition at line 97 of file llhoverview.h.


Constructor & Destructor Documentation

LLHoverView::LLHoverView ( const std::string &  name,
const LLRect rect 
)

Definition at line 95 of file llhoverview.cpp.

References LLVector3d::clearVec(), FALSE, mDoneHoverPick, mHoverActive, mHoverOffset, mStartHoverPickTimer, mTyping, mUseHover, and TRUE.

Here is the call graph for this function:

LLHoverView::~LLHoverView (  ) 

Definition at line 106 of file llhoverview.cpp.


Member Function Documentation

void LLHoverView::draw ( void   )  [virtual]

void LLHoverView::updateHover ( LLTool current_tool  ) 

void LLHoverView::cancelHover (  ) 

void LLHoverView::resetLastHoverObject (  ) 

Definition at line 202 of file llhoverview.cpp.

References mLastHoverObject, and NULL.

Referenced by LLToolPie::handleMouseUp().

Here is the caller graph for this function:

void LLHoverView::setHoverActive ( const BOOL  active  ) 

Definition at line 725 of file llhoverview.cpp.

References LLViewerWindow::getCurrentMouse(), gViewerWindow, mHoverActive, mHoverPos, mHoverTimer, and LLFrameTimer::reset().

Referenced by cancelHover(), and pickCallback().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLHoverView::setTyping ( BOOL  b  ) 

Definition at line 182 of file llhoverview.cpp.

References mTyping.

Referenced by LLViewerWindow::handleKey(), and LLViewerWindow::handleMouseMove().

Here is the caller graph for this function:

BOOL LLHoverView::isHovering (  )  const [inline]

Definition at line 73 of file llhoverview.h.

References isHoveringLand(), and isHoveringObject().

Referenced by draw().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLHoverView::isHoveringObject (  )  const

Definition at line 747 of file llhoverview.cpp.

References LLPointer< Type >::isNull(), and mLastHoverObject.

Referenced by draw(), and isHovering().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLHoverView::isHoveringLand (  )  const

Definition at line 741 of file llhoverview.cpp.

References LLVector3d::isExactlyZero(), and mHoverLandGlobal.

Referenced by isHovering().

Here is the call graph for this function:

Here is the caller graph for this function:

LLViewerObject * LLHoverView::getLastHoverObject (  )  const

Definition at line 753 of file llhoverview.cpp.

References LLPointer< Type >::isNull(), mLastHoverObject, and NULL.

Referenced by LLTextureView::draw(), draw(), LLToolPie::handleHover(), LLViewerObjectList::updateApparentAngles(), and updateText().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLHoverView::pickCallback ( S32  x,
S32  y,
MASK  mask 
) [static]

void LLHoverView::updateText (  )  [protected]

Definition at line 207 of file llhoverview.cpp.

References DEFAULT_DESC, FALSE, LLViewerObject::flagAllowInventoryAdd(), LLViewerObject::flagHandleTouch(), LLViewerObject::flagPhantom(), LLViewerObject::flagScripted(), LLViewerObject::flagTakesMoney(), LLViewerObject::flagTemporary(), LLSaleInfo::FS_COPY, gAgent, gCacheName, LLParcel::getAllowDamage(), LLParcel::getAllowFly(), LLParcel::getAllowGroupModify(), LLParcel::getAllowGroupScripts(), LLParcel::getAllowModify(), LLParcel::getAllowOtherScripts(), LLParcel::getAllowTerraform(), LLControlGroup::getBOOL(), LLCacheName::getFullName(), LLPermissions::getGroup(), LLCacheName::getGroupName(), LLSelectMgr::getHoverNode(), LLViewerParcelMgr::getHoverParcel(), LLAgent::getID(), LLSingleton< LLViewerParcelMgr >::getInstance(), LLSingleton< LLSelectMgr >::getInstance(), LLParcel::getIsGroupOwned(), getLastHoverObject(), LLPermissions::getMaskEveryone(), LLPermissions::getMaskOwner(), LLParcel::getName(), LLViewerObject::getNVPair(), LLPermissions::getOwner(), LLParcel::getOwnerID(), LLParcel::getParcelFlag(), LLXform::getParent(), LLViewerObject::getRootEdit(), LLParcel::getSalePrice(), LLSaleInfo::getSalePrice(), LLSaleInfo::getSaleType(), LLTrans::getString(), LLNameValue::getString(), gSavedSettings, LLViewerObject::isAttachment(), LLPrimitive::isAvatar(), LLSaleInfo::isForSale(), LLPermissions::isGroupOwned(), LLViewerObject::isHUDAttachment(), LLSelectNode::mDescription, mHoverLandGlobal, LLSelectNode::mName, LLSelectNode::mPermissions, LLSelectNode::mSaleInfo, mText, LLSelectNode::mValid, LLUUID::null, PERM_COPY, PERM_TRANSFER, PF_FOR_SALE, S32, LLViewerObject::usePhysics(), and LLVector3d::zero.

Referenced by updateHover().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 87 of file llhoverview.h.

Referenced by cancelHover(), and updateHover().

Definition at line 88 of file llhoverview.h.

Referenced by cancelHover(), LLHoverView(), and updateHover().

Definition at line 89 of file llhoverview.h.

Referenced by cancelHover(), LLHoverView(), pickCallback(), and updateHover().

Definition at line 91 of file llhoverview.h.

Referenced by draw(), LLHoverView(), and setHoverActive().

Definition at line 92 of file llhoverview.h.

Referenced by draw(), and setHoverActive().

Definition at line 95 of file llhoverview.h.

Referenced by draw(), and setHoverActive().

Definition at line 98 of file llhoverview.h.

Referenced by draw(), updateHover(), and updateText().

Definition at line 100 of file llhoverview.h.

Referenced by LLHoverView(), and updateHover().

Definition at line 106 of file llhoverview.h.

Referenced by isHoveringLand(), pickCallback(), and updateText().

Definition at line 107 of file llhoverview.h.

Referenced by draw(), LLHoverView(), and pickCallback().

Definition at line 109 of file llhoverview.h.

Referenced by LLHoverView(), setTyping(), and updateHover().


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

Generated on Fri May 16 08:48:55 2008 for SecondLife by  doxygen 1.5.5