#include <llvoiceremotectrl.h>
Inheritance diagram for LLVoiceRemoteCtrl:
Public Member Functions | |
LLVoiceRemoteCtrl (const LLString &name) | |
virtual | ~LLVoiceRemoteCtrl () |
void | draw () |
Static Public Member Functions | |
static void | onBtnLock (void *user_data) |
static void | onBtnTalkHeld (void *user_data) |
static void | onBtnTalkReleased (void *user_data) |
static void | onBtnTalkClicked (void *user_data) |
static void | onClickSpeakers (void *user_data) |
Protected Attributes | |
LLButton * | mTalkBtn |
LLButton * | mTalkLockBtn |
LLButton * | mSpeakersBtn |
Definition at line 39 of file llvoiceremotectrl.h.
LLVoiceRemoteCtrl::LLVoiceRemoteCtrl | ( | const LLString & | name | ) |
Definition at line 46 of file llvoiceremotectrl.cpp.
References LLUICtrlFactory::buildPanel(), LLUICtrlFactory::getButtonByName(), gUICtrlFactory, LLView::mIsFocusRoot, mSpeakersBtn, mTalkBtn, mTalkLockBtn, onBtnLock(), onBtnTalkClicked(), onBtnTalkHeld(), onBtnTalkReleased(), onClickSpeakers(), LLButton::setClickedCallback(), LLButton::setHeldDownCallback(), LLUICtrl::setIsChrome(), LLButton::setMouseUpCallback(), and TRUE.
LLVoiceRemoteCtrl::~LLVoiceRemoteCtrl | ( | ) | [virtual] |
Definition at line 66 of file llvoiceremotectrl.cpp.
void LLVoiceRemoteCtrl::draw | ( | ) | [virtual] |
Reimplemented from LLPanel.
Definition at line 70 of file llvoiceremotectrl.cpp.
References LLPanel::draw(), f, FALSE, gAgent, LLControlGroup::getBOOL(), LLVoiceClient::getCurrentPower(), LLVoiceChannel::getCurrentVoiceChannel(), LLUICtrlFactory::getIconByName(), LLAgent::getID(), LLVoiceClient::getIsSpeaking(), LLControlGroup::getString(), LLVoiceClient::getUserPTTState(), gSavedSettings, gViewerArt, gVoiceClient, LLView::hasMouseCapture(), LLUIInstanceMgr< T, INSTANCE_ADAPTOR >::instanceVisible(), LLVoiceChannel::isActive(), llfloor(), llmin(), mSpeakersBtn, mTalkBtn, mTalkLockBtn, LLVoiceClient::OVERDRIVEN_POWER_LEVEL, S32, LLView::setEnabled(), and LLButton::setToggleState().
Definition at line 171 of file llvoiceremotectrl.cpp.
References LLButton::getToggleState(), gSavedSettings, mTalkLockBtn, LLControlGroup::setBOOL(), and LLButton::toggleState().
Referenced by LLVoiceRemoteCtrl().
Definition at line 144 of file llvoiceremotectrl.cpp.
References LLControlGroup::getBOOL(), gSavedSettings, gVoiceClient, and LLVoiceClient::toggleUserPTTState().
Referenced by LLVoiceRemoteCtrl().
Definition at line 153 of file llvoiceremotectrl.cpp.
References LLControlGroup::getBOOL(), gSavedSettings, gVoiceClient, and LLVoiceClient::setUserPTTState().
Referenced by LLVoiceRemoteCtrl().
Definition at line 162 of file llvoiceremotectrl.cpp.
References LLControlGroup::getBOOL(), gSavedSettings, gVoiceClient, and LLVoiceClient::setUserPTTState().
Referenced by LLVoiceRemoteCtrl().
Definition at line 179 of file llvoiceremotectrl.cpp.
References LLUIInstanceMgr< T, INSTANCE_ADAPTOR >::toggleInstance().
Referenced by LLVoiceRemoteCtrl().
LLButton* LLVoiceRemoteCtrl::mSpeakersBtn [protected] |
LLButton* LLVoiceRemoteCtrl::mTalkBtn [protected] |
LLButton* LLVoiceRemoteCtrl::mTalkLockBtn [protected] |
Definition at line 55 of file llvoiceremotectrl.h.
Referenced by draw(), LLVoiceRemoteCtrl(), and onBtnLock().