LLVisualParamHint Class Reference

#include <lltoolmorph.h>

Inheritance diagram for LLVisualParamHint:

Inheritance graph
[legend]
Collaboration diagram for LLVisualParamHint:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLVisualParamHint (S32 pos_x, S32 pos_y, S32 width, S32 height, LLViewerJointMesh *mesh, LLViewerVisualParam *param, F32 param_weight)
virtual ~LLVisualParamHint ()
BOOL needsRender ()
void preRender (BOOL clear_depth)
BOOL render ()
void requestUpdate (S32 delay_frames)
void setUpdateDelayFrames (S32 delay_frames)
void draw ()
LLViewerVisualParamgetVisualParam ()
F32 getVisualParamWeight ()
BOOL getVisible ()
void setAllowsUpdates (BOOL b)
const LLRectgetRect ()

Static Public Member Functions

static void requestHintUpdates (LLVisualParamHint *exception1=NULL, LLVisualParamHint *exception2=NULL)

Protected Types

typedef std::set
< LLVisualParamHint * > 
instance_list_t

Protected Attributes

BOOL mNeedsUpdate
BOOL mIsVisible
LLViewerJointMeshmJointMesh
LLViewerVisualParammVisualParam
F32 mVisualParamWeight
BOOL mAllowsUpdates
S32 mDelayFrames
LLRect mRect
F32 mLastParamWeight
LLUIImagePtr mBackgroundp

Static Protected Attributes

static instance_list_t sInstances


Detailed Description

Definition at line 53 of file lltoolmorph.h.


Member Typedef Documentation

typedef std::set<LLVisualParamHint*> LLVisualParamHint::instance_list_t [protected]

Reimplemented from LLDynamicTexture.

Definition at line 96 of file lltoolmorph.h.


Constructor & Destructor Documentation

LLVisualParamHint::LLVisualParamHint ( S32  pos_x,
S32  pos_y,
S32  width,
S32  height,
LLViewerJointMesh mesh,
LLViewerVisualParam param,
F32  param_weight 
)

Definition at line 77 of file lltoolmorph.cpp.

References LLUI::getUIImage(), llassert, mBackgroundp, and sInstances.

Here is the call graph for this function:

LLVisualParamHint::~LLVisualParamHint (  )  [virtual]

Definition at line 106 of file lltoolmorph.cpp.

References sInstances.


Member Function Documentation

BOOL LLVisualParamHint::needsRender (  )  [virtual]

Reimplemented from LLDynamicTexture.

Definition at line 140 of file lltoolmorph.cpp.

References gAgent, LLAgent::getAvatarObject(), mAllowsUpdates, LLVOAvatar::mAppearanceAnimating, mDelayFrames, and mNeedsUpdate.

Here is the call graph for this function:

void LLVisualParamHint::preRender ( BOOL  clear_depth  )  [virtual]

BOOL LLVisualParamHint::render (  )  [virtual]

void LLVisualParamHint::requestUpdate ( S32  delay_frames  )  [inline]

Definition at line 68 of file lltoolmorph.h.

References mDelayFrames, mNeedsUpdate, and TRUE.

Referenced by LLScrollingPanelParam::updatePanel().

Here is the caller graph for this function:

void LLVisualParamHint::setUpdateDelayFrames ( S32  delay_frames  )  [inline]

Definition at line 69 of file lltoolmorph.h.

References mDelayFrames.

Referenced by LLScrollingPanelParam::setVisible().

Here is the caller graph for this function:

void LLVisualParamHint::draw ( void   ) 

LLViewerVisualParam* LLVisualParamHint::getVisualParam (  )  [inline]

F32 LLVisualParamHint::getVisualParamWeight (  )  [inline]

Definition at line 73 of file lltoolmorph.h.

References mVisualParamWeight.

Referenced by LLScrollingPanelParam::onHintHeldDown(), and LLScrollingPanelParam::onHintMouseDown().

Here is the caller graph for this function:

BOOL LLVisualParamHint::getVisible (  )  [inline]

Definition at line 74 of file lltoolmorph.h.

References mIsVisible.

Referenced by LLScrollingPanelParam::draw().

Here is the caller graph for this function:

void LLVisualParamHint::setAllowsUpdates ( BOOL  b  )  [inline]

Definition at line 76 of file lltoolmorph.h.

References mAllowsUpdates.

Referenced by LLScrollingPanelParam::LLScrollingPanelParam(), and LLScrollingPanelParam::setVisible().

Here is the caller graph for this function:

const LLRect& LLVisualParamHint::getRect (  )  [inline]

Definition at line 78 of file lltoolmorph.h.

References mRect.

Referenced by LLScrollingPanelParam::draw().

Here is the caller graph for this function:

void LLVisualParamHint::requestHintUpdates ( LLVisualParamHint exception1 = NULL,
LLVisualParamHint exception2 = NULL 
) [static]


Member Data Documentation

Definition at line 84 of file lltoolmorph.h.

Referenced by needsRender(), render(), requestHintUpdates(), and requestUpdate().

Definition at line 85 of file lltoolmorph.h.

Referenced by draw(), getVisible(), and render().

Definition at line 86 of file lltoolmorph.h.

Definition at line 87 of file lltoolmorph.h.

Referenced by getVisualParam(), preRender(), and render().

Definition at line 88 of file lltoolmorph.h.

Referenced by getVisualParamWeight(), and preRender().

Definition at line 89 of file lltoolmorph.h.

Referenced by needsRender(), requestHintUpdates(), and setAllowsUpdates().

Definition at line 90 of file lltoolmorph.h.

Referenced by needsRender(), requestHintUpdates(), requestUpdate(), and setUpdateDelayFrames().

Definition at line 91 of file lltoolmorph.h.

Referenced by getRect().

Definition at line 92 of file lltoolmorph.h.

Referenced by preRender(), and render().

Definition at line 94 of file lltoolmorph.h.

Referenced by LLVisualParamHint(), and render().

Reimplemented from LLDynamicTexture.

Definition at line 97 of file lltoolmorph.h.

Referenced by LLVisualParamHint(), requestHintUpdates(), and ~LLVisualParamHint().


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

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