#include <llfloaterpreference.h>
Public Member Functions | |
LLPreferenceCore (LLTabContainer *tab_container, LLButton *default_btn) | |
~LLPreferenceCore () | |
void | apply () |
void | cancel () |
LLTabContainer * | getTabContainer () |
void | setPersonalInfo (const char *visibility, BOOL im_via_email, const char *email) |
void | refreshEnabledGraphics () |
Static Public Member Functions | |
static void | onTabChanged (void *user_data, bool from_click) |
Private Attributes | |
LLTabContainer * | mTabContainer |
LLPanelGeneral * | mGeneralPanel |
LLPanelInput * | mInputPanel |
LLPanelNetwork * | mNetworkPanel |
LLPanelDisplay * | mDisplayPanel |
LLPanelAudioPrefs * | mAudioPanel |
LLPrefsChat * | mPrefsChat |
LLPrefsVoice * | mPrefsVoice |
LLPrefsIM * | mPrefsIM |
LLPanelWeb * | mWebPanel |
LLPanelMsgs * | mMsgPanel |
LLPanelLCD * | mLCDPanel |
Definition at line 59 of file llfloaterpreference.h.
LLPreferenceCore::LLPreferenceCore | ( | LLTabContainer * | tab_container, | |
LLButton * | default_btn | |||
) |
Definition at line 131 of file llfloaterpreference.cpp.
References LLTabContainer::addTabPanel(), LLLCD::Enabled(), FALSE, LLPanel::getLabel(), LLPrefsIM::getPanel(), LLPrefsChat::getPanel(), LLControlGroup::getS32(), gSavedSettings, mAudioPanel, mDisplayPanel, mGeneralPanel, mInputPanel, mLCDPanel, mMsgPanel, mNetworkPanel, mPrefsChat, mPrefsIM, mPrefsVoice, mTabContainer, mWebPanel, NULL, onTabChanged(), LLTabContainer::selectFirstTab(), LLTabContainer::selectTab(), and LLPanel::setDefaultBtn().
LLPreferenceCore::~LLPreferenceCore | ( | ) |
Definition at line 201 of file llfloaterpreference.cpp.
References mAudioPanel, mDisplayPanel, mGeneralPanel, mInputPanel, mMsgPanel, mNetworkPanel, mPrefsChat, mPrefsIM, mWebPanel, and NULL.
void LLPreferenceCore::apply | ( | ) |
Definition at line 252 of file llfloaterpreference.cpp.
References LLPanelLCD::apply(), LLPanelWeb::apply(), LLFloaterHardwareSettings::apply(), LLPanelMsgs::apply(), LLPrefsIM::apply(), LLPrefsVoice::apply(), LLPrefsChat::apply(), LLPanelDisplay::apply(), LLPanelNetwork::apply(), LLPanelInput::apply(), LLPanelGeneral::apply(), LLLCD::Enabled(), LLFloaterHardwareSettings::instance(), mDisplayPanel, mGeneralPanel, mInputPanel, mLCDPanel, mMsgPanel, mNetworkPanel, mPrefsChat, mPrefsIM, mPrefsVoice, and mWebPanel.
Referenced by LLFloaterPreference::apply().
void LLPreferenceCore::cancel | ( | ) |
Definition at line 278 of file llfloaterpreference.cpp.
References LLPanelLCD::cancel(), LLPanelWeb::cancel(), LLFloaterHardwareSettings::cancel(), LLPanelMsgs::cancel(), LLPrefsIM::cancel(), LLPrefsVoice::cancel(), LLPrefsChat::cancel(), LLPanelAudioPrefs::cancel(), LLPanelDisplay::cancel(), LLPanelNetwork::cancel(), LLPanelInput::cancel(), LLPanelGeneral::cancel(), LLLCD::Enabled(), LLFloaterHardwareSettings::instance(), mAudioPanel, mDisplayPanel, mGeneralPanel, mInputPanel, mLCDPanel, mMsgPanel, mNetworkPanel, mPrefsChat, mPrefsIM, mPrefsVoice, and mWebPanel.
Referenced by LLFloaterPreference::cancel().
LLTabContainer* LLPreferenceCore::getTabContainer | ( | ) | [inline] |
void LLPreferenceCore::setPersonalInfo | ( | const char * | visibility, | |
BOOL | im_via_email, | |||
const char * | ||||
) |
Definition at line 313 of file llfloaterpreference.cpp.
References mPrefsIM, and LLPrefsIM::setPersonalInfo().
Referenced by LLFloaterPreference::updateUserInfo().
void LLPreferenceCore::onTabChanged | ( | void * | user_data, | |
bool | from_click | |||
) | [static] |
Definition at line 305 of file llfloaterpreference.cpp.
References gSavedSettings, and LLControlGroup::setS32().
Referenced by LLPreferenceCore().
void LLPreferenceCore::refreshEnabledGraphics | ( | ) |
Definition at line 321 of file llfloaterpreference.cpp.
References LLFloaterHardwareSettings::instance(), mDisplayPanel, LLPanelDisplay::refreshEnabledState(), and LLFloaterHardwareSettings::refreshEnabledState().
Referenced by LLFloaterPreference::refreshEnabledGraphics().
LLTabContainer* LLPreferenceCore::mTabContainer [private] |
Definition at line 82 of file llfloaterpreference.h.
Referenced by getTabContainer(), and LLPreferenceCore().
LLPanelGeneral* LLPreferenceCore::mGeneralPanel [private] |
Definition at line 83 of file llfloaterpreference.h.
Referenced by apply(), cancel(), LLPreferenceCore(), and ~LLPreferenceCore().
LLPanelInput* LLPreferenceCore::mInputPanel [private] |
Definition at line 84 of file llfloaterpreference.h.
Referenced by apply(), cancel(), LLPreferenceCore(), and ~LLPreferenceCore().
LLPanelNetwork* LLPreferenceCore::mNetworkPanel [private] |
Definition at line 85 of file llfloaterpreference.h.
Referenced by apply(), cancel(), LLPreferenceCore(), and ~LLPreferenceCore().
LLPanelDisplay* LLPreferenceCore::mDisplayPanel [private] |
Definition at line 86 of file llfloaterpreference.h.
Referenced by apply(), cancel(), LLPreferenceCore(), refreshEnabledGraphics(), and ~LLPreferenceCore().
LLPanelAudioPrefs* LLPreferenceCore::mAudioPanel [private] |
Definition at line 87 of file llfloaterpreference.h.
Referenced by cancel(), LLPreferenceCore(), and ~LLPreferenceCore().
LLPrefsChat* LLPreferenceCore::mPrefsChat [private] |
Definition at line 89 of file llfloaterpreference.h.
Referenced by apply(), cancel(), LLPreferenceCore(), and ~LLPreferenceCore().
LLPrefsVoice* LLPreferenceCore::mPrefsVoice [private] |
Definition at line 90 of file llfloaterpreference.h.
Referenced by apply(), cancel(), and LLPreferenceCore().
LLPrefsIM* LLPreferenceCore::mPrefsIM [private] |
Definition at line 91 of file llfloaterpreference.h.
Referenced by apply(), cancel(), LLPreferenceCore(), setPersonalInfo(), and ~LLPreferenceCore().
LLPanelWeb* LLPreferenceCore::mWebPanel [private] |
Definition at line 92 of file llfloaterpreference.h.
Referenced by apply(), cancel(), LLPreferenceCore(), and ~LLPreferenceCore().
LLPanelMsgs* LLPreferenceCore::mMsgPanel [private] |
Definition at line 93 of file llfloaterpreference.h.
Referenced by apply(), cancel(), LLPreferenceCore(), and ~LLPreferenceCore().
LLPanelLCD* LLPreferenceCore::mLCDPanel [private] |
Definition at line 94 of file llfloaterpreference.h.
Referenced by apply(), cancel(), and LLPreferenceCore().