#include <llfloaterpreference.h>
Public Member Functions | |
LLFloaterPreference () | |
~LLFloaterPreference () | |
void | apply () |
void | cancel () |
virtual BOOL | postBuild () |
Static Public Member Functions | |
static void | show (void *) |
static void | updateUserInfo (const char *visibility, BOOL im_via_email, const char *email) |
static void | refreshEnabledGraphics () |
Protected Member Functions | |
void | onClose (bool app_quitting) |
Static Protected Member Functions | |
static void | onClickAbout (void *) |
static void | onBtnOK (void *) |
static void | onBtnCancel (void *) |
static void | onBtnApply (void *) |
Protected Attributes | |
LLPreferenceCore * | mPreferenceCore |
LLButton * | mAboutBtn |
LLButton * | mOKBtn |
LLButton * | mCancelBtn |
LLButton * | mApplyBtn |
Static Protected Attributes | |
static LLFloaterPreference * | sInstance = NULL |
Definition at line 98 of file llfloaterpreference.h.
LLFloaterPreference::LLFloaterPreference | ( | ) |
Definition at line 330 of file llfloaterpreference.cpp.
References LLUICtrlFactory::buildFloater(), and LLSingleton< LLUICtrlFactory >::getInstance().
Referenced by show().
LLFloaterPreference::~LLFloaterPreference | ( | ) |
Definition at line 371 of file llfloaterpreference.cpp.
References mPreferenceCore, NULL, and sInstance.
void LLFloaterPreference::apply | ( | ) |
Definition at line 377 of file llfloaterpreference.cpp.
References LLPreferenceCore::apply(), and mPreferenceCore.
Referenced by onBtnApply(), and onBtnOK().
void LLFloaterPreference::cancel | ( | ) |
Definition at line 383 of file llfloaterpreference.cpp.
References LLPreferenceCore::cancel(), and mPreferenceCore.
Referenced by onBtnCancel().
BOOL LLFloaterPreference::postBuild | ( | void | ) | [virtual] |
Reimplemented from LLPanel.
Definition at line 335 of file llfloaterpreference.cpp.
References LLPanel::checkRequirements(), FALSE, mAboutBtn, mApplyBtn, mCancelBtn, mOKBtn, mPreferenceCore, onBtnApply(), onBtnCancel(), onBtnOK(), onClickAbout(), LLButton::setClickedCallback(), sInstance, and TRUE.
void LLFloaterPreference::show | ( | void * | ) | [static] |
Definition at line 390 of file llfloaterpreference.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_SessionID, _PREHASH_UserInfoRequest, LLMessageSystem::addUUIDFast(), LLFloater::center(), gAgent, LLAgent::getID(), LLAgent::getSessionID(), gMessageSystem, LLUUID::isNull(), LLFloaterPreference(), LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), LLFloater::open(), LLAgent::sendReliableMessage(), LLPanelLogin::setAlwaysRefresh(), and sInstance.
Referenced by LLPreferencesHandler::handle(), LLShowFloater::handleEvent(), and LLPanelLogin::handleKeyHere().
void LLFloaterPreference::updateUserInfo | ( | const char * | visibility, | |
BOOL | im_via_email, | |||
const char * | ||||
) | [static] |
Definition at line 499 of file llfloaterpreference.cpp.
References mPreferenceCore, LLPreferenceCore::setPersonalInfo(), and sInstance.
Referenced by process_user_info_reply().
void LLFloaterPreference::refreshEnabledGraphics | ( | ) | [static] |
Definition at line 511 of file llfloaterpreference.cpp.
References mPreferenceCore, LLPreferenceCore::refreshEnabledGraphics(), and sInstance.
Referenced by LLPanelDisplay::onChangeCustom(), LLPanelDisplay::onChangeQuality(), LLPanelDisplay::onVertexShaderEnable(), and LLPanelDisplay::setHardwareDefaults().
void LLFloaterPreference::onClose | ( | bool | app_quitting | ) | [protected, virtual] |
Reimplemented from LLFloater.
Definition at line 474 of file llfloaterpreference.cpp.
References LLFloater::onClose(), and LLPanelLogin::setAlwaysRefresh().
void LLFloaterPreference::onClickAbout | ( | void * | ) | [static, protected] |
Definition at line 415 of file llfloaterpreference.cpp.
References NULL, and LLFloaterAbout::show().
Referenced by postBuild().
void LLFloaterPreference::onBtnOK | ( | void * | userdata | ) | [static, protected] |
Definition at line 422 of file llfloaterpreference.cpp.
References LLUICtrl::acceptsTextInput(), apply(), LLFloater::canClose(), LLFloater::close(), CRASH_SETTINGS_FILE, FALSE, gCrashSettings, gDirUtilp, LLDir::getExpandedFilename(), LLFocusMgr::getKeyboardFocus(), LLControlGroup::getString(), gFocusMgr, gSavedSettings, LLUICtrl::hasFocus(), LL_PATH_USER_SETTINGS, llendl, llinfos, LLUICtrl::onCommit(), LLPanelLogin::refreshLocation(), LLControlGroup::saveToFile(), and TRUE.
Referenced by postBuild().
void LLFloaterPreference::onBtnCancel | ( | void * | userdata | ) | [static, protected] |
Definition at line 482 of file llfloaterpreference.cpp.
References LLUICtrl::acceptsTextInput(), cancel(), LLFloater::close(), LLFocusMgr::getKeyboardFocus(), gFocusMgr, LLUICtrl::hasFocus(), and LLUICtrl::onCommit().
Referenced by postBuild().
void LLFloaterPreference::onBtnApply | ( | void * | userdata | ) | [static, protected] |
Definition at line 457 of file llfloaterpreference.cpp.
References LLUICtrl::acceptsTextInput(), apply(), LLFocusMgr::getKeyboardFocus(), gFocusMgr, LLUICtrl::hasFocus(), LLUICtrl::onCommit(), and LLPanelLogin::refreshLocation().
Referenced by postBuild().
LLPreferenceCore* LLFloaterPreference::mPreferenceCore [protected] |
Definition at line 119 of file llfloaterpreference.h.
Referenced by apply(), cancel(), postBuild(), refreshEnabledGraphics(), updateUserInfo(), and ~LLFloaterPreference().
LLButton* LLFloaterPreference::mAboutBtn [protected] |
LLButton* LLFloaterPreference::mOKBtn [protected] |
LLButton* LLFloaterPreference::mCancelBtn [protected] |
LLButton* LLFloaterPreference::mApplyBtn [protected] |
LLFloaterPreference * LLFloaterPreference::sInstance = NULL [static, protected] |
Definition at line 133 of file llfloaterpreference.h.
Referenced by postBuild(), refreshEnabledGraphics(), show(), updateUserInfo(), and ~LLFloaterPreference().