LLFloaterMute Class Reference

#include <llfloatermute.h>

Inheritance diagram for LLFloaterMute:

Inheritance graph
[legend]
Collaboration diagram for LLFloaterMute:

Collaboration graph
[legend]
List of all members.

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

LLScrollListCtrlmMuteList

Detailed Description

Definition at line 44 of file llfloatermute.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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().

void LLFloaterMute::onClickMuteByName ( void  )  [static, private]

Definition at line 251 of file llfloatermute.cpp.

References LLViewerWindow::alertXmlEditText(), callbackMuteByName(), gViewerWindow, and NULL.

Referenced by LLFloaterMute().

void LLFloaterMute::onClickPick ( void data  )  [static, private]

Definition at line 227 of file llfloatermute.cpp.

References LLFloater::addDependentFloater(), FALSE, onPickUser(), LLFloaterAvatarPicker::show(), and TRUE.

Referenced by LLFloaterMute().

void LLFloaterMute::onClickRemove ( void data  )  [static, private]

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().

void LLFloaterMute::onSelectName ( LLUICtrl caller,
void data 
) [static, private]

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().

void LLFloaterMute::selectMute ( const LLUUID id  ) 

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().

void LLFloaterMute::toggle ( void  )  [static]

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().

BOOL LLFloaterMute::visible ( void  )  [static]

Definition at line 135 of file llfloatermute.cpp.

References LLView::getVisible(), and gFloaterMute.

Referenced by LLFloaterVisible::handleEvent().


Member Data Documentation

LLScrollListCtrl* LLFloaterMute::mMuteList [private]

Definition at line 75 of file llfloatermute.h.

Referenced by LLFloaterMute(), onClickRemove(), refreshMuteList(), selectMute(), and updateButtons().


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