LLPanelGeneral Class Reference

#include <llpanelgeneral.h>

Inheritance diagram for LLPanelGeneral:

Inheritance graph
[legend]
Collaboration diagram for LLPanelGeneral:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLPanelGeneral ()
virtual ~LLPanelGeneral ()
virtual BOOL postBuild ()
void refresh ()
void apply ()
void cancel ()

Static Public Member Functions

static void clickShowStartLocation (LLUICtrl *, void *user_data)
static void set_start_location (LLUICtrl *ctrl, void *data)

Protected Attributes

S32 mRenderName
BOOL mRenderNameHideSelf
BOOL mSmallAvatarNames
BOOL mRenderHideGroupTitle
BOOL mChatOnlineNotification
F32 mAFKTimeout
BOOL mNotifyMoney
BOOL mUseDefaultColor
LLColor4 mEffectColor
BOOL mMiniMapRotate
S32 mCrashBehavior
LLString mLoginLocation
LLString mLanguage

Detailed Description

Definition at line 45 of file llpanelgeneral.h.


Constructor & Destructor Documentation

LLPanelGeneral::LLPanelGeneral (  ) 

Definition at line 89 of file llpanelgeneral.cpp.

References LLUICtrlFactory::buildPanel(), and gUICtrlFactory.

LLPanelGeneral::~LLPanelGeneral (  )  [virtual]

Definition at line 160 of file llpanelgeneral.cpp.


Member Function Documentation

void LLPanelGeneral::apply (  ) 

Definition at line 205 of file llpanelgeneral.cpp.

Referenced by LLPreferenceCore::apply().

void LLPanelGeneral::cancel (  ) 

Definition at line 209 of file llpanelgeneral.cpp.

References CRASH_BEHAVIOR_SETTING, gCrashBehavior, gCrashSettings, gSavedSettings, mAFKTimeout, mChatOnlineNotification, mCrashBehavior, mEffectColor, mLanguage, mLoginLocation, mMiniMapRotate, mNotifyMoney, mRenderHideGroupTitle, mRenderName, mRenderNameHideSelf, mSmallAvatarNames, mUseDefaultColor, LLControlGroup::setBOOL(), LLControlGroup::setColor4(), LLControlGroup::setF32(), LLControlGroup::setS32(), LLURLSimString::setString(), and LLControlGroup::setString().

Referenced by LLPreferenceCore::cancel().

void LLPanelGeneral::clickShowStartLocation ( LLUICtrl ,
void user_data 
) [static]

Definition at line 232 of file llpanelgeneral.cpp.

References LLPanelLogin::refreshLocation().

Referenced by postBuild().

BOOL LLPanelGeneral::postBuild (  )  [virtual]

Reimplemented from LLPanel.

Definition at line 94 of file llpanelgeneral.cpp.

References LLComboBox::add(), LLPanel::checkRequirements(), LLPanel::childGetText(), LLPanel::childSetCommitCallback(), LLPanel::childSetValue(), clickShowStartLocation(), FALSE, gCrashBehavior, LLControlGroup::getBOOL(), LLUICtrlFactory::getComboBoxByName(), LLControlGroup::getString(), gSavedSettings, LLURLSimString::mSimString, refresh(), LLPanel::requires(), set_crash_behavior(), set_language(), set_start_location(), LLUICtrl::setCommitCallback(), LLComboBox::setCurrentByIndex(), LLComboBox::setTextEntry(), LLURLSimString::sInstance, TRUE, WIDGET_TYPE_CHECKBOX, WIDGET_TYPE_COLOR_SWATCH, WIDGET_TYPE_COMBO_BOX, WIDGET_TYPE_RADIO_GROUP, WIDGET_TYPE_SPINNER, and WIDGET_TYPE_TEXT_BOX.

void LLPanelGeneral::refresh (  )  [virtual]

Reimplemented from LLPanel.

Definition at line 165 of file llpanelgeneral.cpp.

References LLSD::asString(), gCrashBehavior, LLControlGroup::getBOOL(), LLControlGroup::getColor4(), LLUICtrlFactory::getComboBoxByName(), LLControlGroup::getF32(), LLControlGroup::getS32(), LLControlGroup::getString(), LLComboBox::getValue(), gSavedSettings, mAFKTimeout, mChatOnlineNotification, mCrashBehavior, mEffectColor, mLanguage, mLoginLocation, mMiniMapRotate, mNotifyMoney, mRenderHideGroupTitle, mRenderName, mRenderNameHideSelf, mSmallAvatarNames, mUseDefaultColor, LLPanel::refresh(), LLComboBox::setCurrentByIndex(), and LLURLSimString::sInstance.

Referenced by postBuild().

void LLPanelGeneral::set_start_location ( LLUICtrl ctrl,
void data 
) [static]

Definition at line 84 of file llpanelgeneral.cpp.

References LLSD::asString(), LLUICtrl::getValue(), and LLURLSimString::setString().

Referenced by LLPanelLogin::LLPanelLogin(), and postBuild().


Member Data Documentation

F32 LLPanelGeneral::mAFKTimeout [protected]

Definition at line 65 of file llpanelgeneral.h.

Referenced by cancel(), and refresh().

BOOL LLPanelGeneral::mChatOnlineNotification [protected]

Definition at line 64 of file llpanelgeneral.h.

Referenced by cancel(), and refresh().

S32 LLPanelGeneral::mCrashBehavior [protected]

Definition at line 70 of file llpanelgeneral.h.

Referenced by cancel(), and refresh().

LLColor4 LLPanelGeneral::mEffectColor [protected]

Definition at line 68 of file llpanelgeneral.h.

Referenced by cancel(), and refresh().

LLString LLPanelGeneral::mLanguage [protected]

Definition at line 72 of file llpanelgeneral.h.

Referenced by cancel(), and refresh().

LLString LLPanelGeneral::mLoginLocation [protected]

Definition at line 71 of file llpanelgeneral.h.

Referenced by cancel(), and refresh().

BOOL LLPanelGeneral::mMiniMapRotate [protected]

Definition at line 69 of file llpanelgeneral.h.

Referenced by cancel(), and refresh().

BOOL LLPanelGeneral::mNotifyMoney [protected]

Definition at line 66 of file llpanelgeneral.h.

Referenced by cancel(), and refresh().

BOOL LLPanelGeneral::mRenderHideGroupTitle [protected]

Definition at line 63 of file llpanelgeneral.h.

Referenced by cancel(), and refresh().

S32 LLPanelGeneral::mRenderName [protected]

Definition at line 60 of file llpanelgeneral.h.

Referenced by cancel(), and refresh().

BOOL LLPanelGeneral::mRenderNameHideSelf [protected]

Definition at line 61 of file llpanelgeneral.h.

Referenced by cancel(), and refresh().

BOOL LLPanelGeneral::mSmallAvatarNames [protected]

Definition at line 62 of file llpanelgeneral.h.

Referenced by cancel(), and refresh().

BOOL LLPanelGeneral::mUseDefaultColor [protected]

Definition at line 67 of file llpanelgeneral.h.

Referenced by cancel(), and refresh().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:36 2010 for Second Life Viewer by  doxygen 1.4.7