#include <llfloateractivespeakers.h>
Definition at line 203 of file llfloateractivespeakers.h.
LLPanelActiveSpeakers::LLPanelActiveSpeakers | ( | LLSpeakerMgr * | data_source, | |
BOOL | show_text_chatters | |||
) |
Definition at line 268 of file llfloateractivespeakers.cpp.
References LLObservable::addListener(), FALSE, mSpeakerAddListener, mSpeakerClearListener, mSpeakerMgr, mSpeakerMuteListener, mSpeakerRemoveListener, LLView::setMouseOpaque(), SpeakerAddListener, SpeakerClearListener, and SpeakerRemoveListener.
BOOL LLPanelActiveSpeakers::postBuild | ( | void | ) | [virtual] |
Reimplemented from LLPanel.
Definition at line 288 of file llfloateractivespeakers.cpp.
References LLPanel::childSetAction(), LLPanel::childSetCommitCallback(), LLControlGroup::getBOOL(), LLControlGroup::getString(), gSavedSettings, handleSpeakerSelect(), mMuteTextCtrl, mMuteVoiceCtrl, mNameText, mProfileBtn, mSpeakerList, onChangeModerationMode(), onClickMuteTextCommit(), onClickMuteVoice(), onClickMuteVoiceCommit(), onClickProfile(), onDoubleClickSpeaker(), onModeratorMuteText(), onModeratorMuteVoice(), onSelectSpeaker(), onSortChanged(), onVolumeChange(), LLUICtrl::setCallbackUserData(), LLUICtrl::setCommitCallback(), LLScrollListCtrl::setCommitOnSelectionChange(), LLScrollListCtrl::setDoubleClickCallback(), LLScrollListCtrl::setSortChangedCallback(), LLScrollListCtrl::sortByColumn(), and TRUE.
void LLPanelActiveSpeakers::handleSpeakerSelect | ( | ) |
Definition at line 376 of file llfloateractivespeakers.cpp.
References LLSD::asUUID(), LLPanel::childSetValue(), LLSpeakerMgr::findSpeaker(), LLScrollListCtrl::getValue(), mSpeakerList, mSpeakerMgr, mSpeakerMuteListener, LLPointer< Type >::notNull(), and TRUE.
Referenced by onSelectSpeaker(), and postBuild().
void LLPanelActiveSpeakers::refreshSpeakers | ( | ) |
Definition at line 394 of file llfloateractivespeakers.cpp.
References LLSD::asUUID(), LLColor4::black, LLFontGL::BOLD, LLPanel::childSetEnabled(), LLPanel::childSetValue(), LLPanel::childSetVisible(), FALSE, LLSpeakerMgr::findSpeaker(), LLMute::flagTextChat, LLMute::flagVoiceChat, gAgent, LLScrollListCtrl::getAllData(), LLScrollListItem::getColumn(), LLCacheName::getDefaultName(), LLAgent::getID(), LLMuteList::getInstance(), LLScrollListCtrl::getScrollInterface(), LLCtrlScrollInterface::getScrollPos(), LLScrollListCtrl::getSelectedValue(), LLSpeakerMgr::getSpeakerList(), LLPanel::getString(), LLVoiceClient::getUserVolume(), LLScrollListItem::getUUID(), LLVoiceClient::getVoiceEnabled(), LLColor4::grey4, gVoiceClient, LLMuteList::isLinden(), LLSpeakerMgr::isVoiceActive(), llfloor(), llformat(), llmin(), mMuteTextCtrl, mMuteVoiceCtrl, mNameText, mProfileBtn, mShowTextChatters, mSpeakerList, mSpeakerMgr, LLFontGL::NORMAL, LLPointer< Type >::notNull(), LLUUID::notNull(), LLStringBase< char >::null, LLVoiceClient::OVERDRIVEN_POWER_LEVEL, S32, LLScrollListCell::setColor(), LLView::setEnabled(), LLCtrlScrollInterface::setScrollPos(), LLScrollListCtrl::setSorted(), LLTextBox::setValue(), LLView::setValue(), LLScrollListCell::setValue(), LLColor4::setVec(), LLSpeaker::SPEAKER_AGENT, LLSpeaker::STATUS_MUTED, LLSpeaker::STATUS_NOT_IN_CHANNEL, LLSpeaker::STATUS_VOICE_ACTIVE, LLColor4::transparent, LLSpeakerMgr::update(), and LLVoiceClient::voiceEnabled().
Referenced by LLFloaterIMPanel::draw(), LLFloaterChat::draw(), LLFloaterActiveSpeakers::draw(), LLFloaterActiveSpeakers::LLFloaterActiveSpeakers(), and LLFloaterIMPanel::postBuild().
void LLPanelActiveSpeakers::setSpeaker | ( | const LLUUID & | id, | |
const LLString & | name = LLString::null , |
|||
LLSpeaker::ESpeakerStatus | status = LLSpeaker::STATUS_TEXT_ONLY , |
|||
LLSpeaker::ESpeakerType | type = LLSpeaker::SPEAKER_AGENT | |||
) |
Definition at line 598 of file llfloateractivespeakers.cpp.
References mSpeakerMgr, and LLSpeakerMgr::setSpeaker().
Referenced by LLFloaterChat::addChatHistory().
void LLPanelActiveSpeakers::setVoiceModerationCtrlMode | ( | const BOOL & | moderated_voice | ) |
Definition at line 603 of file llfloateractivespeakers.cpp.
References LLView::setValue().
Referenced by LLFloaterIMPanel::processSessionUpdate().
void LLPanelActiveSpeakers::onClickMuteVoice | ( | void * | user_data | ) | [static] |
Definition at line 647 of file llfloateractivespeakers.cpp.
References NULL, and onClickMuteVoiceCommit().
Referenced by postBuild().
void LLPanelActiveSpeakers::onClickMuteVoiceCommit | ( | LLUICtrl * | ctrl, | |
void * | user_data | |||
) | [static] |
Definition at line 653 of file llfloateractivespeakers.cpp.
References LLMuteList::add(), LLMute::AGENT, LLSD::asUUID(), LLSpeakerMgr::findSpeaker(), LLMute::flagVoiceChat, LLMuteList::getInstance(), LLScrollListCtrl::getValue(), LLMuteList::isMuted(), LLPointer< Type >::isNull(), mSpeakerList, mSpeakerMgr, and LLMuteList::remove().
Referenced by onClickMuteVoice(), and postBuild().
void LLPanelActiveSpeakers::onClickMuteTextCommit | ( | LLUICtrl * | ctrl, | |
void * | user_data | |||
) | [static] |
Definition at line 618 of file llfloateractivespeakers.cpp.
References LLMuteList::add(), LLMute::AGENT, LLSD::asUUID(), LLSpeakerMgr::findSpeaker(), LLMute::flagTextChat, LLMuteList::getInstance(), LLScrollListCtrl::getValue(), LLMuteList::isMuted(), LLPointer< Type >::isNull(), mSpeakerList, mSpeakerMgr, LLMute::OBJECT, LLMuteList::remove(), and LLSpeaker::SPEAKER_AGENT.
Referenced by postBuild().
void LLPanelActiveSpeakers::onVolumeChange | ( | LLUICtrl * | source, | |
void * | user_data | |||
) | [static] |
Definition at line 683 of file llfloateractivespeakers.cpp.
References LLSD::asReal(), LLSD::asUUID(), LLPanel::childGetValue(), LLMuteList::getInstance(), LLScrollListCtrl::getValue(), gVoiceClient, mSpeakerList, LLMuteList::setSavedResidentVolume(), and LLVoiceClient::setUserVolume().
Referenced by postBuild().
void LLPanelActiveSpeakers::onClickProfile | ( | void * | user_data | ) | [static] |
Definition at line 696 of file llfloateractivespeakers.cpp.
References LLSD::asUUID(), LLScrollListCtrl::getValue(), mSpeakerList, and LLFloaterAvatarInfo::showFromDirectory().
Referenced by postBuild().
void LLPanelActiveSpeakers::onDoubleClickSpeaker | ( | void * | user_data | ) | [static] |
Definition at line 705 of file llfloateractivespeakers.cpp.
References LLIMMgr::addSession(), LLSD::asUUID(), LLSpeakerMgr::findSpeaker(), gAgent, LLAgent::getID(), LLScrollListCtrl::getValue(), gIMMgr, IM_NOTHING_SPECIAL, mSpeakerList, mSpeakerMgr, and LLPointer< Type >::notNull().
Referenced by postBuild().
void LLPanelActiveSpeakers::onSelectSpeaker | ( | LLUICtrl * | source, | |
void * | user_data | |||
) | [static] |
Definition at line 719 of file llfloateractivespeakers.cpp.
References handleSpeakerSelect().
Referenced by postBuild().
void LLPanelActiveSpeakers::onSortChanged | ( | void * | user_data | ) | [static] |
Definition at line 727 of file llfloateractivespeakers.cpp.
References LLScrollListCtrl::getSortAscending(), LLScrollListCtrl::getSortColumnName(), gSavedSettings, mSpeakerList, LLControlGroup::setBOOL(), and LLControlGroup::setString().
Referenced by postBuild().
void LLPanelActiveSpeakers::onModeratorMuteVoice | ( | LLUICtrl * | ctrl, | |
void * | user_data | |||
) | [static] |
Definition at line 738 of file llfloateractivespeakers.cpp.
References LLSD::emptyMap(), LLIMMgr::findFloaterBySession(), gAgent, LLViewerRegion::getCapability(), LLAgent::getRegion(), LLUICtrl::getValue(), gIMMgr, llendl, llwarns, LLHTTPClient::post(), LLFloaterIMPanel::showSessionEventError(), and indra::ipc::saranwrap::status().
Referenced by postBuild().
void LLPanelActiveSpeakers::onModeratorMuteText | ( | LLUICtrl * | ctrl, | |
void * | user_data | |||
) | [static] |
Definition at line 803 of file llfloateractivespeakers.cpp.
References LLSD::emptyMap(), LLIMMgr::findFloaterBySession(), gAgent, LLViewerRegion::getCapability(), LLAgent::getRegion(), LLUICtrl::getValue(), gIMMgr, llendl, llwarns, LLHTTPClient::post(), LLFloaterIMPanel::showSessionEventError(), and indra::ipc::saranwrap::status().
Referenced by postBuild().
void LLPanelActiveSpeakers::onChangeModerationMode | ( | LLUICtrl * | ctrl, | |
void * | user_data | |||
) | [static] |
Definition at line 868 of file llfloateractivespeakers.cpp.
References LLSD::asString(), LLSD::emptyMap(), gAgent, LLViewerRegion::getCapability(), LLAgent::getRegion(), LLUICtrl::getValue(), llendl, llwarns, LLHTTPClient::post(), and indra::ipc::saranwrap::status().
Referenced by postBuild().
void LLPanelActiveSpeakers::addSpeaker | ( | const LLUUID & | id | ) | [protected] |
Definition at line 325 of file llfloateractivespeakers.cpp.
References LLScrollListCtrl::addElement(), LLSpeakerMgr::findSpeaker(), LLCacheName::getDefaultName(), LLScrollListCtrl::getItemIndex(), llformat(), mSpeakerList, and mSpeakerMgr.
Referenced by LLPanelActiveSpeakers::SpeakerAddListener::handleEvent().
void LLPanelActiveSpeakers::removeSpeaker | ( | const LLUUID & | id | ) | [protected] |
Definition at line 371 of file llfloateractivespeakers.cpp.
References LLScrollListCtrl::deleteSingleItem(), LLScrollListCtrl::getItemIndex(), and mSpeakerList.
Referenced by LLPanelActiveSpeakers::SpeakerRemoveListener::handleEvent().
friend class SpeakerAddListener [friend] |
friend class SpeakerRemoveListener [friend] |
friend class SpeakerClearListener [friend] |
LLScrollListCtrl* LLPanelActiveSpeakers::mSpeakerList [protected] |
Definition at line 281 of file llfloateractivespeakers.h.
Referenced by addSpeaker(), LLPanelActiveSpeakers::SpeakerClearListener::handleEvent(), handleSpeakerSelect(), onClickMuteTextCommit(), onClickMuteVoiceCommit(), onClickProfile(), onDoubleClickSpeaker(), onSortChanged(), onVolumeChange(), postBuild(), refreshSpeakers(), and removeSpeaker().
LLUICtrl* LLPanelActiveSpeakers::mMuteVoiceCtrl [protected] |
Definition at line 282 of file llfloateractivespeakers.h.
Referenced by postBuild(), and refreshSpeakers().
LLUICtrl* LLPanelActiveSpeakers::mMuteTextCtrl [protected] |
Definition at line 283 of file llfloateractivespeakers.h.
Referenced by postBuild(), and refreshSpeakers().
LLTextBox* LLPanelActiveSpeakers::mNameText [protected] |
Definition at line 284 of file llfloateractivespeakers.h.
Referenced by postBuild(), and refreshSpeakers().
LLButton* LLPanelActiveSpeakers::mProfileBtn [protected] |
Definition at line 285 of file llfloateractivespeakers.h.
Referenced by postBuild(), and refreshSpeakers().
BOOL LLPanelActiveSpeakers::mShowTextChatters [protected] |
LLSpeakerMgr* LLPanelActiveSpeakers::mSpeakerMgr [protected] |
Definition at line 287 of file llfloateractivespeakers.h.
Referenced by addSpeaker(), handleSpeakerSelect(), LLPanelActiveSpeakers(), onClickMuteTextCommit(), onClickMuteVoiceCommit(), onDoubleClickSpeaker(), refreshSpeakers(), and setSpeaker().
Definition at line 288 of file llfloateractivespeakers.h.
Definition at line 289 of file llfloateractivespeakers.h.
Referenced by handleSpeakerSelect(), and LLPanelActiveSpeakers().