#include <llfloatermute.h>


Public Member Functions | |
| LLFloaterMute (const LLSD &seed) | |
| ~LLFloaterMute () | |
| virtual void | onClose (bool app_quitting) |
| virtual BOOL | postBuild () |
| void | refreshMuteList () |
| void | selectMute (const LLUUID &id) |
| void | updateButtons () |
| void | onChange () |
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 (const LLString &text, void *) |
Private Attributes | |
| LLScrollListCtrl * | mMuteList |
Definition at line 45 of file llfloatermute.h.
| LLFloaterMute::LLFloaterMute | ( | const LLSD & | seed | ) |
Definition at line 188 of file llfloatermute.cpp.
References LLUICtrlFactory::buildFloater(), FALSE, LLSingleton< LLUICtrlFactory >::getInstance(), and NULL.

| LLFloaterMute::~LLFloaterMute | ( | ) |
Definition at line 222 of file llfloatermute.cpp.
| virtual void LLFloaterMute::onClose | ( | bool | app_quitting | ) | [inline, virtual] |
Reimplemented from LLFloater.
Definition at line 54 of file llfloatermute.h.
References FALSE, and LLFloater::setVisible().

| BOOL LLFloaterMute::postBuild | ( | void | ) | [virtual] |
Reimplemented from LLPanel.
Definition at line 202 of file llfloatermute.cpp.
References LLMuteList::addObserver(), LLPanel::childSetAction(), LLPanel::childSetCommitCallback(), LLMuteList::getInstance(), mMuteList, onClickMuteByName(), onClickPick(), onClickRemove(), onSelectName(), refreshMuteList(), LLScrollListCtrl::setCommitOnSelectionChange(), and TRUE.

| void LLFloaterMute::refreshMuteList | ( | ) |
Definition at line 229 of file llfloatermute.cpp.
References LLScrollListCtrl::addStringUUIDItem(), LLScrollListCtrl::deleteAllItems(), LLMuteList::getInstance(), LLMuteList::getMutes(), mMuteList, and updateButtons().
Referenced by onChange(), and postBuild().


| void LLFloaterMute::selectMute | ( | const LLUUID & | id | ) |
Definition at line 244 of file llfloatermute.cpp.
References mMuteList, LLScrollListCtrl::selectByID(), and updateButtons().
Referenced by inventory_offer_mute_callback(), and LLPanelAvatar::onClickMute().


| void LLFloaterMute::updateButtons | ( | ) |
Reimplemented from LLFloater.
Definition at line 253 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().


| void LLFloaterMute::onChange | ( | ) | [virtual] |
Implements LLMuteListObserver.
Definition at line 197 of file llfloatermute.cpp.
References refreshMuteList().

| void LLFloaterMute::onClickRemove | ( | void * | data | ) | [static, private] |
Definition at line 278 of file llfloatermute.cpp.
References LLScrollListCtrl::getFirstSelectedIndex(), LLMuteList::getInstance(), LLScrollListCtrl::getItemCount(), LLScrollListCtrl::getSelectedItemLabel(), LLScrollListCtrl::getStringUUIDSelectedItem(), mMuteList, S32, LLScrollListCtrl::selectNthItem(), LLMute::setFromDisplayName(), and updateButtons().
Referenced by postBuild().


| void LLFloaterMute::onClickPick | ( | void * | data | ) | [static, private] |
Definition at line 310 of file llfloatermute.cpp.
References LLFloater::addDependentFloater(), FALSE, onPickUser(), LLFloaterAvatarPicker::show(), and TRUE.
Referenced by postBuild().


| void LLFloaterMute::onSelectName | ( | LLUICtrl * | caller, | |
| void * | data | |||
| ) | [static, private] |
Definition at line 268 of file llfloatermute.cpp.
References updateButtons().
Referenced by postBuild().


| void LLFloaterMute::onPickUser | ( | const std::vector< std::string > & | names, | |
| const std::vector< LLUUID > & | ids, | |||
| void * | user_data | |||
| ) | [static, private] |
Definition at line 322 of file llfloatermute.cpp.
References LLMuteList::add(), LLMute::AGENT, LLMuteList::getInstance(), and updateButtons().
Referenced by onClickPick().


| void LLFloaterMute::onClickMuteByName | ( | void * | data | ) | [static, private] |
Definition at line 334 of file llfloatermute.cpp.
References LLFloater::addDependentFloater(), callbackMuteByName(), and LLFloaterMuteObjectUI::show().
Referenced by postBuild().


| void LLFloaterMute::callbackMuteByName | ( | const LLString & | text, | |
| void * | data | |||
| ) | [static, private] |
Definition at line 343 of file llfloatermute.cpp.
References LLMuteList::add(), LLViewerWindow::alertXml(), LLMute::BY_NAME, LLMuteList::getInstance(), gViewerWindow, and LLUUID::null.
Referenced by onClickMuteByName().


LLScrollListCtrl* LLFloaterMute::mMuteList [private] |
Definition at line 75 of file llfloatermute.h.
Referenced by onClickRemove(), postBuild(), refreshMuteList(), selectMute(), and updateButtons().
1.5.5