LLScrollingPanelParam Class Reference

Inheritance diagram for LLScrollingPanelParam:

Inheritance graph
[legend]
Collaboration diagram for LLScrollingPanelParam:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLScrollingPanelParam (const LLString &name, LLViewerJointMesh *mesh, LLViewerVisualParam *param, BOOL allow_modify)
virtual ~LLScrollingPanelParam ()
virtual void draw ()
virtual void setVisible (BOOL visible)
virtual void updatePanel (BOOL allow_modify)
void onHintMouseDown (LLVisualParamHint *hint)
void onHintHeldDown (LLVisualParamHint *hint)
F32 weightToPercent (F32 weight)
F32 percentToWeight (F32 percent)

Static Public Member Functions

static void onSliderMouseDown (LLUICtrl *ctrl, void *userdata)
static void onSliderMoved (LLUICtrl *ctrl, void *userdata)
static void onSliderMouseUp (LLUICtrl *ctrl, void *userdata)
static void onHintMinMouseDown (void *userdata)
static void onHintMinHeldDown (void *userdata)
static void onHintMaxMouseDown (void *userdata)
static void onHintMaxHeldDown (void *userdata)
static void onHintMinMouseUp (void *userdata)
static void onHintMaxMouseUp (void *userdata)

Public Attributes

LLViewerVisualParammParam
LLVisualParamHintmHintMin
LLVisualParamHintmHintMax

Static Public Attributes

static S32 sUpdateDelayFrames = 0

Protected Attributes

LLTimer mMouseDownTimer
F32 mLastHeldTime
BOOL mAllowModify


Detailed Description

Definition at line 1097 of file llfloatercustomize.cpp.


Constructor & Destructor Documentation

LLScrollingPanelParam::LLScrollingPanelParam ( const LLString name,
LLViewerJointMesh mesh,
LLViewerVisualParam param,
BOOL  allow_modify 
)

LLScrollingPanelParam::~LLScrollingPanelParam (  )  [virtual]

Definition at line 1199 of file llfloatercustomize.cpp.

References mHintMax, and mHintMin.


Member Function Documentation

void LLScrollingPanelParam::draw ( void   )  [virtual]

void LLScrollingPanelParam::setVisible ( BOOL  visible  )  [virtual]

Reimplemented from LLView.

Definition at line 1218 of file llfloatercustomize.cpp.

References LLView::getVisible(), mHintMax, mHintMin, LLVisualParamHint::setAllowsUpdates(), LLVisualParamHint::setUpdateDelayFrames(), LLView::setVisible(), and sUpdateDelayFrames.

Referenced by LLScrollingPanelParam().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLScrollingPanelParam::updatePanel ( BOOL  allow_modify  )  [virtual]

void LLScrollingPanelParam::onSliderMouseDown ( LLUICtrl ctrl,
void *  userdata 
) [static]

void LLScrollingPanelParam::onSliderMoved ( LLUICtrl ctrl,
void *  userdata 
) [static]

Definition at line 1280 of file llfloatercustomize.cpp.

References LLSD::asReal(), gAgent, LLAgent::getAvatarObject(), LLSliderCtrl::getValue(), LLCharacter::getVisualParamWeight(), LLCharacter::setVisualParamWeight(), TRUE, and LLVOAvatar::updateVisualParams().

Referenced by LLScrollingPanelParam().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLScrollingPanelParam::onSliderMouseUp ( LLUICtrl ctrl,
void *  userdata 
) [static]

Definition at line 1315 of file llfloatercustomize.cpp.

References gAgent, LLVisualParamHint::requestHintUpdates(), and LLAgent::sendAgentSetAppearance().

Here is the call graph for this function:

void LLScrollingPanelParam::onHintMinMouseDown ( void *  userdata  )  [static]

Definition at line 1326 of file llfloatercustomize.cpp.

Referenced by LLScrollingPanelParam().

Here is the caller graph for this function:

void LLScrollingPanelParam::onHintMinHeldDown ( void *  userdata  )  [static]

Definition at line 1364 of file llfloatercustomize.cpp.

Referenced by LLScrollingPanelParam().

Here is the caller graph for this function:

void LLScrollingPanelParam::onHintMaxMouseDown ( void *  userdata  )  [static]

Definition at line 1333 of file llfloatercustomize.cpp.

Referenced by LLScrollingPanelParam().

Here is the caller graph for this function:

void LLScrollingPanelParam::onHintMaxHeldDown ( void *  userdata  )  [static]

Definition at line 1371 of file llfloatercustomize.cpp.

Referenced by LLScrollingPanelParam().

Here is the caller graph for this function:

void LLScrollingPanelParam::onHintMinMouseUp ( void *  userdata  )  [static]

void LLScrollingPanelParam::onHintMaxMouseUp ( void *  userdata  )  [static]

void LLScrollingPanelParam::onHintMouseDown ( LLVisualParamHint hint  ) 

void LLScrollingPanelParam::onHintHeldDown ( LLVisualParamHint hint  ) 

F32 LLScrollingPanelParam::weightToPercent ( F32  weight  ) 

Definition at line 1493 of file llfloatercustomize.cpp.

References LLVisualParam::getMaxWeight(), LLVisualParam::getMinWeight(), and mParam.

Referenced by LLScrollingPanelParam(), onHintHeldDown(), and updatePanel().

Here is the call graph for this function:

Here is the caller graph for this function:

F32 LLScrollingPanelParam::percentToWeight ( F32  percent  ) 

Definition at line 1499 of file llfloatercustomize.cpp.

References LLVisualParam::getMaxWeight(), LLVisualParam::getMinWeight(), and mParam.

Here is the call graph for this function:


Member Data Documentation

Definition at line 1125 of file llfloatercustomize.cpp.

Referenced by percentToWeight(), and weightToPercent().

Definition at line 1128 of file llfloatercustomize.cpp.

Referenced by setVisible(), and updatePanel().

Definition at line 1131 of file llfloatercustomize.cpp.

Referenced by onHintHeldDown(), and onHintMouseDown().

Definition at line 1132 of file llfloatercustomize.cpp.

Referenced by onHintHeldDown(), and onHintMouseDown().

Definition at line 1134 of file llfloatercustomize.cpp.

Referenced by LLScrollingPanelParam(), and updatePanel().


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

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