#include <llfloaterpreference.h>
Inheritance diagram for LLFloaterPreference:
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) |
Protected Member Functions | |
void | draw () |
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 101 of file llfloaterpreference.h.
LLFloaterPreference::LLFloaterPreference | ( | ) |
Definition at line 325 of file llfloaterpreference.cpp.
References LLUICtrlFactory::buildFloater(), and gUICtrlFactory.
Referenced by show().
LLFloaterPreference::~LLFloaterPreference | ( | ) |
Definition at line 366 of file llfloaterpreference.cpp.
References mPreferenceCore, NULL, and sInstance.
void LLFloaterPreference::apply | ( | ) |
Definition at line 382 of file llfloaterpreference.cpp.
References LLPreferenceCore::apply(), and mPreferenceCore.
Referenced by onBtnApply(), and onBtnOK().
void LLFloaterPreference::cancel | ( | ) |
Definition at line 388 of file llfloaterpreference.cpp.
References LLPreferenceCore::cancel(), and mPreferenceCore.
Referenced by onBtnCancel().
void LLFloaterPreference::draw | ( | ) | [protected, virtual] |
Reimplemented from LLFloater.
Definition at line 373 of file llfloaterpreference.cpp.
References LLFloater::draw(), and LLView::getVisible().
Definition at line 458 of file llfloaterpreference.cpp.
References apply(), LLFocusMgr::getKeyboardFocus(), gFocusMgr, LLUICtrl::hasFocus(), and LLUICtrl::onCommit().
Referenced by postBuild().
Definition at line 474 of file llfloaterpreference.cpp.
References cancel(), LLFloater::close(), LLFocusMgr::getKeyboardFocus(), gFocusMgr, LLUICtrl::hasFocus(), and LLUICtrl::onCommit().
Referenced by postBuild().
Definition at line 425 of file llfloaterpreference.cpp.
References apply(), LLFloater::canClose(), LLFloater::close(), CRASH_SETTINGS_FILE, FALSE, gCrashSettings, gDirUtilp, LLDir::getExpandedFilename(), LLFocusMgr::getKeyboardFocus(), gFocusMgr, gSavedSettings, gSettingsFileName, LLUICtrl::hasFocus(), LL_PATH_USER_SETTINGS, llendl, llinfos, LLUICtrl::onCommit(), LLControlGroup::saveToFile(), and TRUE.
Referenced by postBuild().
Definition at line 418 of file llfloaterpreference.cpp.
References NULL, and LLFloaterAbout::show().
Referenced by postBuild().
BOOL LLFloaterPreference::postBuild | ( | ) | [virtual] |
Reimplemented from LLPanel.
Definition at line 330 of file llfloaterpreference.cpp.
References LLPanel::checkRequirements(), FALSE, LLUICtrlFactory::getButtonByName(), LLPanel::getChildByName(), LLUICtrlFactory::getTabContainerByName(), mAboutBtn, mApplyBtn, mCancelBtn, mOKBtn, mPreferenceCore, onBtnApply(), onBtnCancel(), onBtnOK(), onClickAbout(), LLPanel::requires(), LLButton::setClickedCallback(), sInstance, TRUE, WIDGET_TYPE_BUTTON, and WIDGET_TYPE_TAB_CONTAINER.
Definition at line 395 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(), and sInstance.
Referenced by LLShowFloater::handleEvent(), LLPanelLogin::handleKeyHere(), and LLPanelLogin::LLPanelLogin().
void LLFloaterPreference::updateUserInfo | ( | const char * | visibility, | |
BOOL | im_via_email, | |||
const char * | ||||
) | [static] |
Definition at line 491 of file llfloaterpreference.cpp.
References mPreferenceCore, LLPreferenceCore::setPersonalInfo(), and sInstance.
Referenced by process_user_info_reply().
LLButton* LLFloaterPreference::mAboutBtn [protected] |
LLButton* LLFloaterPreference::mApplyBtn [protected] |
LLButton* LLFloaterPreference::mCancelBtn [protected] |
LLButton* LLFloaterPreference::mOKBtn [protected] |
LLPreferenceCore* LLFloaterPreference::mPreferenceCore [protected] |
Definition at line 119 of file llfloaterpreference.h.
Referenced by apply(), cancel(), postBuild(), updateUserInfo(), and ~LLFloaterPreference().
LLFloaterPreference * LLFloaterPreference::sInstance = NULL [static, protected] |
Definition at line 133 of file llfloaterpreference.h.
Referenced by postBuild(), show(), updateUserInfo(), and ~LLFloaterPreference().