#include <llfloatermute.h>
Inheritance diagram for LLFloaterMute:
Public Member Functions | |
LLFloaterMute () | |
~LLFloaterMute () | |
void | show () |
virtual void | onClose (bool app_quitting) |
void | refreshMuteList () |
void | selectMute (const LLUUID &id) |
void | updateButtons () |
Static Public Member Functions | |
static void | toggle (void *) |
static BOOL | visible (void *) |
Static Private Member Functions | |
static void | onClickRemove (void *data) |
static void | onClickPick (void *data) |
static void | onSelectName (LLUICtrl *caller, void *data) |
static void | onPickUser (const std::vector< std::string > &names, const std::vector< LLUUID > &ids, void *user_data) |
static void | onClickMuteByName (void *) |
static void | callbackMuteByName (S32 option, const LLString &text, void *) |
Private Attributes | |
LLScrollListCtrl * | mMuteList |
Definition at line 44 of file llfloatermute.h.
LLFloaterMute::LLFloaterMute | ( | ) |
Definition at line 80 of file llfloatermute.cpp.
References LLUICtrlFactory::buildFloater(), LLPanel::childSetAction(), LLPanel::childSetCommitCallback(), FALSE, LLUICtrlFactory::getScrollListByName(), gUICtrlFactory, mMuteList, onClickMuteByName(), onClickPick(), onClickRemove(), onSelectName(), refreshMuteList(), LLScrollListCtrl::setCommitOnSelectionChange(), LLFloater::setVisible(), and TRUE.
LLFloaterMute::~LLFloaterMute | ( | ) |
Definition at line 103 of file llfloatermute.cpp.
void LLFloaterMute::callbackMuteByName | ( | S32 | option, | |
const LLString & | text, | |||
void * | ||||
) | [static, private] |
Definition at line 264 of file llfloatermute.cpp.
References LLMuteList::add(), LLViewerWindow::alertXml(), LLMute::BY_NAME, gMuteListp, gViewerWindow, and LLUUID::null.
Referenced by onClickMuteByName().
Definition at line 251 of file llfloatermute.cpp.
References LLViewerWindow::alertXmlEditText(), callbackMuteByName(), gViewerWindow, and NULL.
Referenced by LLFloaterMute().
Definition at line 227 of file llfloatermute.cpp.
References LLFloater::addDependentFloater(), FALSE, onPickUser(), LLFloaterAvatarPicker::show(), and TRUE.
Referenced by LLFloaterMute().
Definition at line 195 of file llfloatermute.cpp.
References LLScrollListCtrl::getFirstSelectedIndex(), LLScrollListCtrl::getItemCount(), LLScrollListCtrl::getSimpleSelectedItem(), LLScrollListCtrl::getStringUUIDSelectedItem(), gMuteListp, mMuteList, LLMuteList::remove(), S32, LLScrollListCtrl::selectNthItem(), LLMute::setFromDisplayName(), and updateButtons().
Referenced by LLFloaterMute().
virtual void LLFloaterMute::onClose | ( | bool | app_quitting | ) | [inline, virtual] |
Reimplemented from LLFloater.
Definition at line 55 of file llfloatermute.h.
References FALSE, and LLFloater::setVisible().
void LLFloaterMute::onPickUser | ( | const std::vector< std::string > & | names, | |
const std::vector< LLUUID > & | ids, | |||
void * | user_data | |||
) | [static, private] |
Definition at line 239 of file llfloatermute.cpp.
References LLMuteList::add(), LLMute::AGENT, gMuteListp, and updateButtons().
Referenced by onClickPick().
Definition at line 185 of file llfloatermute.cpp.
References updateButtons().
Referenced by LLFloaterMute().
void LLFloaterMute::refreshMuteList | ( | ) |
Definition at line 143 of file llfloatermute.cpp.
References LLScrollListCtrl::addStringUUIDItem(), LLScrollListCtrl::deleteAllItems(), LLMuteList::getMutes(), gMuteListp, mMuteList, and updateButtons().
Referenced by LLFloaterMute(), and LLMuteList::notifyObservers().
Definition at line 161 of file llfloatermute.cpp.
References mMuteList, LLScrollListCtrl::selectByID(), and updateButtons().
Referenced by inventory_offer_mute_callback(), and LLPanelAvatar::onClickMute().
void LLFloaterMute::show | ( | ) |
Definition at line 111 of file llfloatermute.cpp.
References LLFloater::open().
Referenced by LLObjectMute::handleEvent(), inventory_offer_mute_callback(), LLPanelAvatar::onClickMute(), LLFloaterChat::onClickMute(), and toggle().
Definition at line 120 of file llfloatermute.cpp.
References LLFloater::close(), LLView::getVisible(), gFloaterMute, and show().
Referenced by LLShowFloater::handleEvent().
void LLFloaterMute::updateButtons | ( | ) |
Reimplemented from LLFloater.
Definition at line 170 of file llfloatermute.cpp.
References LLPanel::childSetEnabled(), FALSE, LLScrollListCtrl::getFirstSelected(), mMuteList, and TRUE.
Referenced by LLAgent::clearBusy(), onClickRemove(), onPickUser(), onSelectName(), refreshMuteList(), selectMute(), and LLAgent::setBusy().
Definition at line 135 of file llfloatermute.cpp.
References LLView::getVisible(), and gFloaterMute.
Referenced by LLFloaterVisible::handleEvent().
LLScrollListCtrl* LLFloaterMute::mMuteList [private] |
Definition at line 75 of file llfloatermute.h.
Referenced by LLFloaterMute(), onClickRemove(), refreshMuteList(), selectMute(), and updateButtons().