LLFloaterSettingsDebug Class Reference

#include <llviewercontrol.h>

Inheritance diagram for LLFloaterSettingsDebug:

Inheritance graph
[legend]
Collaboration diagram for LLFloaterSettingsDebug:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLFloaterSettingsDebug ()
virtual ~LLFloaterSettingsDebug ()
virtual BOOL postBuild ()
virtual void draw ()
void updateControl (LLControlBase *control)

Static Public Member Functions

static void show (void *)
static void onSettingSelect (LLUICtrl *ctrl, void *user_data)
static void onCommitSettings (LLUICtrl *ctrl, void *user_data)
static void onClickDefault (void *user_data)

Protected Attributes

LLTextEditormComment

Static Protected Attributes

static LLFloaterSettingsDebugsInstance = NULL

Detailed Description

Definition at line 39 of file llviewercontrol.h.


Constructor & Destructor Documentation

LLFloaterSettingsDebug::LLFloaterSettingsDebug (  ) 

Definition at line 67 of file llviewercontrol.cpp.

Referenced by show().

LLFloaterSettingsDebug::~LLFloaterSettingsDebug (  )  [virtual]

Definition at line 71 of file llviewercontrol.cpp.

References NULL, and sInstance.


Member Function Documentation

void LLFloaterSettingsDebug::draw (  )  [virtual]

Reimplemented from LLFloater.

Definition at line 117 of file llviewercontrol.cpp.

References LLFloater::draw(), LLPanel::getChildByName(), LLComboBox::getCurrentUserdata(), and updateControl().

void LLFloaterSettingsDebug::onClickDefault ( void user_data  )  [static]

Definition at line 225 of file llviewercontrol.cpp.

References LLPanel::getChildByName(), LLComboBox::getCurrentUserdata(), LLControlBase::resetToDefault(), and updateControl().

Referenced by postBuild().

void LLFloaterSettingsDebug::onCommitSettings ( LLUICtrl ctrl,
void user_data 
) [static]

Definition at line 150 of file llviewercontrol.cpp.

References LLSD::asInteger(), LLSD::asReal(), LLSD::asString(), LLPanel::childGetValue(), LLPanel::getChildByName(), LLComboBox::getCurrentUserdata(), LLColor4U::getValue(), LLColor4::getValue(), LLRectBase< Type >::getValue(), LLVector3d::getValue(), LLVector3::getValue(), LLRectBase< Type >::mBottom, LLVector3d::mdV, LLRectBase< Type >::mLeft, LLRectBase< Type >::mRight, LLRectBase< Type >::mTop, LLColor4U::mV, LLVector3::mV, LLControlBase::set(), LLColor3::setValue(), LLColor4U::setVecScaleClamp(), LLControlBase::type(), TYPE_BOOLEAN, TYPE_COL3, TYPE_COL4, TYPE_COL4U, TYPE_F32, TYPE_RECT, TYPE_S32, TYPE_STRING, TYPE_U32, TYPE_VEC3, TYPE_VEC3D, VALPHA, VX, VY, and VZ.

Referenced by postBuild().

void LLFloaterSettingsDebug::onSettingSelect ( LLUICtrl ctrl,
void user_data 
) [static]

Definition at line 140 of file llviewercontrol.cpp.

References LLComboBox::getCurrentUserdata(), and updateControl().

Referenced by postBuild().

BOOL LLFloaterSettingsDebug::postBuild (  )  [virtual]

Reimplemented from LLPanel.

Definition at line 76 of file llviewercontrol.cpp.

References LLComboBox::add(), LLPanel::childSetAction(), LLPanel::childSetCommitCallback(), LLPanel::childSetUserData(), gColors, LLPanel::getChildByName(), LLUICtrlFactory::getComboBoxByName(), gSavedPerAccountSettings, gSavedSettings, mComment, LLControlGroup::mNameTable, onClickDefault(), onCommitSettings(), onSettingSelect(), LLUICtrl::setCallbackUserData(), LLUICtrl::setCommitCallback(), LLComboBox::sortByName(), TRUE, and LLComboBox::updateSelection().

void LLFloaterSettingsDebug::show ( void  )  [static]

Definition at line 127 of file llviewercontrol.cpp.

References LLUICtrlFactory::buildFloater(), gUICtrlFactory, LLFloaterSettingsDebug(), NULL, LLFloater::open(), and sInstance.

Referenced by init_client_menu().

void LLFloaterSettingsDebug::updateControl ( LLControlBase control  ) 

Definition at line 239 of file llviewercontrol.cpp.

References LLPanel::childHasFocus(), LLPanel::childSetValue(), LLPanel::childSetVisible(), f, F32_MAX, FALSE, LLControlBase::get(), LLUICtrlFactory::getColorSwatchByName(), LLControlBase::getComment(), LLUICtrlFactory::getSpinnerByName(), LLColorSwatchCtrl::getValue(), LLUICtrl::hasFocus(), llendl, llwarns, mComment, LLColor4U::mV, LLColor4::mV, LLStringBase< char >::null, r, S32_MAX, S32_MIN, tut::sd(), LLColorSwatchCtrl::set(), LLSpinCtrl::setIncrement(), LLSpinCtrl::setLabel(), LLSpinCtrl::setMaxValue(), LLSpinCtrl::setMinValue(), LLSpinCtrl::setPrecision(), LLTextEditor::setText(), LLColor4U::setValue(), LLColorSwatchCtrl::setValue(), LLColor3::setValue(), LLColor4::setValue(), LLSpinCtrl::setValue(), LLView::setVisible(), TRUE, LLControlBase::type(), type, TYPE_BOOLEAN, TYPE_COL3, TYPE_COL4, TYPE_COL4U, TYPE_F32, TYPE_RECT, TYPE_S32, TYPE_STRING, TYPE_U32, TYPE_VEC3, TYPE_VEC3D, U32_MAX, U32_MIN, v, VALPHA, VX, VY, and VZ.

Referenced by draw(), onClickDefault(), and onSettingSelect().


Member Data Documentation

LLTextEditor* LLFloaterSettingsDebug::mComment [protected]

Definition at line 57 of file llviewercontrol.h.

Referenced by postBuild(), and updateControl().

LLFloaterSettingsDebug * LLFloaterSettingsDebug::sInstance = NULL [static, protected]

Definition at line 56 of file llviewercontrol.h.

Referenced by show(), and ~LLFloaterSettingsDebug().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:21 2010 for Second Life Viewer by  doxygen 1.4.7