LLPanelMsgs Class Reference

#include <llpanelmsgs.h>

Inheritance diagram for LLPanelMsgs:

Inheritance graph
[legend]
Collaboration diagram for LLPanelMsgs:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLPanelMsgs ()
 ~LLPanelMsgs ()
BOOL postBuild ()
void draw ()
void apply ()
void cancel ()
void buildLists ()
void resetAllIgnored ()
void setAllIgnored ()

Static Public Member Functions

static void onClickEnablePopup (void *user_data)
static void onClickResetDialogs (void *user_data)
static void onClickSkipDialogs (void *user_data)

Protected Attributes

LLScrollListCtrlmDisabledPopups
LLScrollListCtrlmEnabledPopups

Detailed Description

Definition at line 39 of file llpanelmsgs.h.


Constructor & Destructor Documentation

LLPanelMsgs::LLPanelMsgs (  ) 

Definition at line 54 of file llpanelmsgs.cpp.

References LLUICtrlFactory::buildPanel(), and gUICtrlFactory.

LLPanelMsgs::~LLPanelMsgs (  ) 

Definition at line 63 of file llpanelmsgs.cpp.


Member Function Documentation

void LLPanelMsgs::apply (  ) 

Definition at line 160 of file llpanelmsgs.cpp.

Referenced by LLPreferenceCore::apply().

void LLPanelMsgs::buildLists (  ) 

Definition at line 84 of file llpanelmsgs.cpp.

References ADD_SORTED, LLScrollListCtrl::addElement(), LLScrollListCtrl::deleteAllItems(), LLControlGroup::getS32(), LLAlertDialog::IGNORE_USE_SAVED, llendl, llwarns, mDisabledPopups, mEnabledPopups, NULL, S32, LLUI::sConfigGroup, LLScrollListItem::setUserdata(), and LLAlertDialog::sIgnorableTemplates.

Referenced by onClickEnablePopup(), and postBuild().

void LLPanelMsgs::cancel (  ) 

Definition at line 165 of file llpanelmsgs.cpp.

References gSavedSettings, LLPopupData::mAutoAcceptNewInventory, LLPopupData::mShowNewInventory, LLControlGroup::setBOOL(), and sPopupData.

Referenced by LLPreferenceCore::cancel().

void LLPanelMsgs::draw (  )  [virtual]

Reimplemented from LLPanel.

Definition at line 145 of file llpanelmsgs.cpp.

References LLPanel::childDisable(), LLPanel::childEnable(), LLPanel::draw(), LLScrollListCtrl::getFirstSelected(), and mDisabledPopups.

void LLPanelMsgs::onClickEnablePopup ( void user_data  )  [static]

Definition at line 194 of file llpanelmsgs.cpp.

References buildLists(), end, LLScrollListCtrl::getAllSelected(), gSavedSettings, mDisabledPopups, LLAlertDialog::sAlertTemplates, LLControlGroup::setWarning(), and TRUE.

Referenced by postBuild().

void LLPanelMsgs::onClickResetDialogs ( void user_data  )  [static]

Definition at line 228 of file llpanelmsgs.cpp.

References LLViewerWindow::alertXml(), callback_reset_dialogs(), and gViewerWindow.

Referenced by postBuild().

void LLPanelMsgs::onClickSkipDialogs ( void user_data  )  [static]

Definition at line 248 of file llpanelmsgs.cpp.

References LLViewerWindow::alertXml(), callback_skip_dialogs(), and gViewerWindow.

Referenced by postBuild().

BOOL LLPanelMsgs::postBuild (  )  [virtual]

Reimplemented from LLPanel.

Definition at line 69 of file llpanelmsgs.cpp.

References buildLists(), LLPanel::childSetAction(), LLControlGroup::getBOOL(), LLUICtrlFactory::getScrollListByName(), gSavedSettings, LLPopupData::mAutoAcceptNewInventory, mDisabledPopups, mEnabledPopups, LLPopupData::mShowNewInventory, onClickEnablePopup(), onClickResetDialogs(), onClickSkipDialogs(), sPopupData, and TRUE.

void LLPanelMsgs::resetAllIgnored (  ) 

Definition at line 171 of file llpanelmsgs.cpp.

References S32, and LLAlertDialog::sIgnorableTemplates.

void LLPanelMsgs::setAllIgnored (  ) 

Definition at line 183 of file llpanelmsgs.cpp.

References LLAlertDialog::sIgnorableTemplates.


Member Data Documentation

LLScrollListCtrl* LLPanelMsgs::mDisabledPopups [protected]

Definition at line 61 of file llpanelmsgs.h.

Referenced by buildLists(), draw(), onClickEnablePopup(), and postBuild().

LLScrollListCtrl* LLPanelMsgs::mEnabledPopups [protected]

Definition at line 62 of file llpanelmsgs.h.

Referenced by buildLists(), and postBuild().


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