#include <llpanelmsgs.h>
Inheritance diagram for LLPanelMsgs:
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 | |
LLScrollListCtrl * | mDisabledPopups |
LLScrollListCtrl * | mEnabledPopups |
Definition at line 39 of file llpanelmsgs.h.
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.
void LLPanelMsgs::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.
Definition at line 194 of file llpanelmsgs.cpp.
References buildLists(), end, LLScrollListCtrl::getAllSelected(), gSavedSettings, mDisabledPopups, LLAlertDialog::sAlertTemplates, LLControlGroup::setWarning(), and TRUE.
Referenced by postBuild().
Definition at line 228 of file llpanelmsgs.cpp.
References LLViewerWindow::alertXml(), callback_reset_dialogs(), and gViewerWindow.
Referenced by postBuild().
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 | ( | ) |
LLScrollListCtrl* LLPanelMsgs::mDisabledPopups [protected] |
Definition at line 61 of file llpanelmsgs.h.
Referenced by buildLists(), draw(), onClickEnablePopup(), and postBuild().
LLScrollListCtrl* LLPanelMsgs::mEnabledPopups [protected] |