LLVoiceRemoteCtrl Class Reference

#include <llvoiceremotectrl.h>

Inheritance diagram for LLVoiceRemoteCtrl:

Inheritance graph
[legend]
Collaboration diagram for LLVoiceRemoteCtrl:

Collaboration graph
[legend]
List of all members.

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

LLButtonmTalkBtn
LLButtonmTalkLockBtn
LLButtonmSpeakersBtn

Detailed Description

Definition at line 39 of file llvoiceremotectrl.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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

void LLVoiceRemoteCtrl::onBtnLock ( void user_data  )  [static]

Definition at line 171 of file llvoiceremotectrl.cpp.

References LLButton::getToggleState(), gSavedSettings, mTalkLockBtn, LLControlGroup::setBOOL(), and LLButton::toggleState().

Referenced by LLVoiceRemoteCtrl().

void LLVoiceRemoteCtrl::onBtnTalkClicked ( void user_data  )  [static]

Definition at line 144 of file llvoiceremotectrl.cpp.

References LLControlGroup::getBOOL(), gSavedSettings, gVoiceClient, and LLVoiceClient::toggleUserPTTState().

Referenced by LLVoiceRemoteCtrl().

void LLVoiceRemoteCtrl::onBtnTalkHeld ( void user_data  )  [static]

Definition at line 153 of file llvoiceremotectrl.cpp.

References LLControlGroup::getBOOL(), gSavedSettings, gVoiceClient, and LLVoiceClient::setUserPTTState().

Referenced by LLVoiceRemoteCtrl().

void LLVoiceRemoteCtrl::onBtnTalkReleased ( void user_data  )  [static]

Definition at line 162 of file llvoiceremotectrl.cpp.

References LLControlGroup::getBOOL(), gSavedSettings, gVoiceClient, and LLVoiceClient::setUserPTTState().

Referenced by LLVoiceRemoteCtrl().

void LLVoiceRemoteCtrl::onClickSpeakers ( void user_data  )  [static]

Definition at line 179 of file llvoiceremotectrl.cpp.

References LLUIInstanceMgr< T, INSTANCE_ADAPTOR >::toggleInstance().

Referenced by LLVoiceRemoteCtrl().


Member Data Documentation

LLButton* LLVoiceRemoteCtrl::mSpeakersBtn [protected]

Definition at line 56 of file llvoiceremotectrl.h.

Referenced by draw(), and LLVoiceRemoteCtrl().

LLButton* LLVoiceRemoteCtrl::mTalkBtn [protected]

Definition at line 54 of file llvoiceremotectrl.h.

Referenced by draw(), and LLVoiceRemoteCtrl().

LLButton* LLVoiceRemoteCtrl::mTalkLockBtn [protected]

Definition at line 55 of file llvoiceremotectrl.h.

Referenced by draw(), LLVoiceRemoteCtrl(), and onBtnLock().


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