#include <llfloatersettingsdebug.h>
Public Member Functions | |
LLFloaterSettingsDebug () | |
virtual | ~LLFloaterSettingsDebug () |
virtual BOOL | postBuild () |
virtual void | draw () |
void | updateControl (LLControlVariable *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 llfloatersettingsdebug.h.
LLFloaterSettingsDebug::LLFloaterSettingsDebug | ( | ) |
Definition at line 44 of file llfloatersettingsdebug.cpp.
Referenced by show().
LLFloaterSettingsDebug::~LLFloaterSettingsDebug | ( | ) | [virtual] |
BOOL LLFloaterSettingsDebug::postBuild | ( | void | ) | [virtual] |
Reimplemented from LLPanel.
Definition at line 53 of file llfloatersettingsdebug.cpp.
References LLControlGroup::applyToAll(), LLPanel::childSetAction(), LLPanel::childSetCommitCallback(), LLPanel::childSetUserData(), gColors, gSavedPerAccountSettings, gSavedSettings, mComment, onClickDefault(), onCommitSettings(), onSettingSelect(), LLUICtrl::setCallbackUserData(), LLUICtrl::setCommitCallback(), LLComboBox::sortByName(), TRUE, and LLComboBox::updateSelection().
void LLFloaterSettingsDebug::draw | ( | void | ) | [virtual] |
Reimplemented from LLFloater.
Definition at line 95 of file llfloatersettingsdebug.cpp.
References LLFloater::draw(), LLComboBox::getCurrentUserdata(), and updateControl().
void LLFloaterSettingsDebug::updateControl | ( | LLControlVariable * | control | ) |
Definition at line 217 of file llfloatersettingsdebug.cpp.
References LLSD::asBoolean(), LLPanel::childHasFocus(), LLPanel::childSetValue(), LLPanel::childSetVisible(), F32_MAX, FALSE, LLControlVariable::get(), LLControlVariable::getComment(), LLUICtrl::hasFocus(), llendl, llwarns, LLRectBase< Type >::mBottom, mComment, LLRectBase< Type >::mLeft, LLRectBase< Type >::mRight, LLRectBase< Type >::mTop, LLColor4U::mV, LLColor4::mV, LLStringBase< char >::null, r, S32_MAX, S32_MIN, tut::sd(), LLSpinCtrl::setIncrement(), LLSpinCtrl::setLabel(), LLSpinCtrl::setMaxValue(), LLSpinCtrl::setMinValue(), LLSpinCtrl::setPrecision(), LLTextEditor::setText(), LLColor4U::setValue(), LLColor3::setValue(), LLColor4::setValue(), LLRectBase< Type >::setValue(), LLVector3d::setValue(), LLVector3::setValue(), LLSpinCtrl::setValue(), LLView::setVisible(), TRUE, LLControlVariable::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, VALPHA, VX, VY, and VZ.
Referenced by draw(), onClickDefault(), and onSettingSelect().
void LLFloaterSettingsDebug::show | ( | void * | ) | [static] |
Definition at line 105 of file llfloatersettingsdebug.cpp.
References LLUICtrlFactory::buildFloater(), LLSingleton< LLUICtrlFactory >::getInstance(), LLFloaterSettingsDebug(), NULL, LLFloater::open(), and sInstance.
Referenced by init_client_menu().
void LLFloaterSettingsDebug::onSettingSelect | ( | LLUICtrl * | ctrl, | |
void * | user_data | |||
) | [static] |
Definition at line 118 of file llfloatersettingsdebug.cpp.
References LLComboBox::getCurrentUserdata(), and updateControl().
Referenced by postBuild().
void LLFloaterSettingsDebug::onCommitSettings | ( | LLUICtrl * | ctrl, | |
void * | user_data | |||
) | [static] |
Definition at line 128 of file llfloatersettingsdebug.cpp.
References LLSD::asInteger(), LLSD::asReal(), LLSD::asString(), LLPanel::childGetValue(), LLView::getChild(), 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, LLColor3::setValue(), LLColor4U::setVecScaleClamp(), 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::onClickDefault | ( | void * | user_data | ) | [static] |
Definition at line 203 of file llfloatersettingsdebug.cpp.
References LLView::getChild(), LLComboBox::getCurrentUserdata(), and updateControl().
Referenced by postBuild().
LLFloaterSettingsDebug * LLFloaterSettingsDebug::sInstance = NULL [static, protected] |
Definition at line 56 of file llfloatersettingsdebug.h.
Referenced by show(), and ~LLFloaterSettingsDebug().
LLTextEditor* LLFloaterSettingsDebug::mComment [protected] |
Definition at line 57 of file llfloatersettingsdebug.h.
Referenced by postBuild(), and updateControl().