#include <llviewercontrol.h>
Inheritance diagram for LLFloaterSettingsDebug:
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 | |
LLTextEditor * | mComment |
Static Protected Attributes | |
static LLFloaterSettingsDebug * | sInstance = NULL |
Definition at line 39 of file llviewercontrol.h.
LLFloaterSettingsDebug::LLFloaterSettingsDebug | ( | ) |
LLFloaterSettingsDebug::~LLFloaterSettingsDebug | ( | ) | [virtual] |
void LLFloaterSettingsDebug::draw | ( | ) | [virtual] |
Reimplemented from LLFloater.
Definition at line 117 of file llviewercontrol.cpp.
References LLFloater::draw(), LLPanel::getChildByName(), LLComboBox::getCurrentUserdata(), and updateControl().
Definition at line 225 of file llviewercontrol.cpp.
References LLPanel::getChildByName(), LLComboBox::getCurrentUserdata(), LLControlBase::resetToDefault(), and updateControl().
Referenced by postBuild().
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().
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().
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().
LLTextEditor* LLFloaterSettingsDebug::mComment [protected] |
LLFloaterSettingsDebug * LLFloaterSettingsDebug::sInstance = NULL [static, protected] |
Definition at line 56 of file llviewercontrol.h.
Referenced by show(), and ~LLFloaterSettingsDebug().