LLPanelVolume Class Reference

#include <llpanelvolume.h>

Inheritance diagram for LLPanelVolume:

Inheritance graph
[legend]
Collaboration diagram for LLPanelVolume:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLPanelVolume (const std::string &name)
virtual ~LLPanelVolume ()
virtual void draw ()
virtual void clearCtrls ()
virtual BOOL postBuild ()
void refresh ()
void sendIsLight ()
void sendIsFlexible ()

Static Public Member Functions

static BOOL precommitValidate (LLUICtrl *ctrl, void *userdata)
static void onCommitIsLight (LLUICtrl *ctrl, void *userdata)
static void onCommitLight (LLUICtrl *ctrl, void *userdata)
static void onCommitIsFlexible (LLUICtrl *ctrl, void *userdata)
static void onCommitFlexible (LLUICtrl *ctrl, void *userdata)
static void onLightCancelColor (LLUICtrl *ctrl, void *userdata)
static void onLightSelectColor (LLUICtrl *ctrl, void *userdata)

Protected Member Functions

void getState ()

Protected Attributes

LLColor4 mLightSavedColor
LLPointer< LLViewerObjectmObject
LLPointer< LLViewerObjectmRootObject


Detailed Description

Definition at line 50 of file llpanelvolume.h.


Constructor & Destructor Documentation

LLPanelVolume::LLPanelVolume ( const std::string &  name  ) 

Definition at line 127 of file llpanelvolume.cpp.

References FALSE, and LLView::setMouseOpaque().

Here is the call graph for this function:

LLPanelVolume::~LLPanelVolume (  )  [virtual]

Definition at line 135 of file llpanelvolume.cpp.


Member Function Documentation

void LLPanelVolume::draw ( void   )  [virtual]

Reimplemented from LLPanel.

Definition at line 341 of file llpanelvolume.cpp.

References LLPanel::draw().

Here is the call graph for this function:

void LLPanelVolume::clearCtrls (  )  [virtual]

Reimplemented from LLPanel.

Definition at line 347 of file llpanelvolume.cpp.

References LLPanel::childSetEnabled(), LLPanel::childSetVisible(), LLPanel::clearCtrls(), FALSE, LLColorSwatchCtrl::setEnabled(), and LLColorSwatchCtrl::setValid().

Referenced by getState(), and postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLPanelVolume::postBuild ( void   )  [virtual]

void LLPanelVolume::refresh (  )  [virtual]

Reimplemented from LLPanel.

Definition at line 326 of file llpanelvolume.cpp.

References getState(), mObject, mRootObject, LLPointer< Type >::notNull(), and NULL.

Referenced by LLFloaterTools::refresh().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelVolume::sendIsLight (  ) 

Definition at line 383 of file llpanelvolume.cpp.

References LLPanel::childGetValue(), LLPrimitive::getPCode(), LL_PCODE_VOLUME, llendl, llinfos, mObject, and LLVOVolume::setIsLight().

Here is the call graph for this function:

void LLPanelVolume::sendIsFlexible (  ) 

BOOL LLPanelVolume::precommitValidate ( LLUICtrl ctrl,
void *  userdata 
) [static]

Definition at line 319 of file llpanelvolume.cpp.

References TRUE.

Referenced by postBuild().

Here is the caller graph for this function:

void LLPanelVolume::onCommitIsLight ( LLUICtrl ctrl,
void *  userdata 
) [static]

Definition at line 485 of file llpanelvolume.cpp.

Referenced by postBuild().

Here is the caller graph for this function:

void LLPanelVolume::onCommitLight ( LLUICtrl ctrl,
void *  userdata 
) [static]

Definition at line 462 of file llpanelvolume.cpp.

References LLColorSwatchCtrl::get(), LLPrimitive::getPCode(), LL_PCODE_VOLUME, LLVOVolume::setLightColor(), LLVOVolume::setLightFalloff(), LLVOVolume::setLightIntensity(), and LLVOVolume::setLightRadius().

Referenced by postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelVolume::onCommitIsFlexible ( LLUICtrl ctrl,
void *  userdata 
) [static]

Definition at line 529 of file llpanelvolume.cpp.

Referenced by postBuild().

Here is the caller graph for this function:

void LLPanelVolume::onCommitFlexible ( LLUICtrl ctrl,
void *  userdata 
) [static]

void LLPanelVolume::onLightCancelColor ( LLUICtrl ctrl,
void *  userdata 
) [static]

Definition at line 429 of file llpanelvolume.cpp.

References NULL, onLightSelectColor(), and LLUICtrl::setColor().

Referenced by postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelVolume::onLightSelectColor ( LLUICtrl ctrl,
void *  userdata 
) [static]

Definition at line 440 of file llpanelvolume.cpp.

References LLColorSwatchCtrl::get(), LLPrimitive::getPCode(), LL_PCODE_VOLUME, and LLVOVolume::setLightColor().

Referenced by onLightCancelColor(), and postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelVolume::getState (  )  [protected]


Member Data Documentation

Definition at line 100 of file llpanelvolume.h.

Referenced by getState().

Definition at line 101 of file llpanelvolume.h.

Referenced by getState(), refresh(), sendIsFlexible(), and sendIsLight().

Definition at line 102 of file llpanelvolume.h.

Referenced by getState(), and refresh().


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

Generated on Fri May 16 08:58:30 2008 for SecondLife by  doxygen 1.5.5