#include <llmediaremotectrl.h>
Public Member Functions | |
LLMediaRemoteCtrl () | |
~LLMediaRemoteCtrl () | |
BOOL | postBuild () |
void | draw () |
void | enableMediaButtons () |
virtual void | setToolTip (const LLString &msg) |
Static Public Member Functions | |
static void | onClickExpandBtn (void *user_data) |
static void * | createVolumePanel (void *data) |
Public Attributes | |
LLPanel * | mControls |
Protected Member Functions | |
void | build () |
Definition at line 39 of file llmediaremotectrl.h.
LLMediaRemoteCtrl::LLMediaRemoteCtrl | ( | ) |
Definition at line 55 of file llmediaremotectrl.cpp.
References build(), createVolumePanel(), LLPanel::mFactoryMap, NULL, LLView::setFocusRoot(), LLUICtrl::setIsChrome(), and TRUE.
LLMediaRemoteCtrl::~LLMediaRemoteCtrl | ( | ) |
Definition at line 114 of file llmediaremotectrl.cpp.
BOOL LLMediaRemoteCtrl::postBuild | ( | void | ) | [virtual] |
Reimplemented from LLPanel.
Definition at line 78 of file llmediaremotectrl.cpp.
References LLPanel::childSetAction(), llassert_always, mControls, LLOverlayBar::mediaStop(), onClickExpandBtn(), LLOverlayBar::toggleMediaPlay(), LLOverlayBar::toggleMusicPlay(), and TRUE.
void LLMediaRemoteCtrl::draw | ( | void | ) | [virtual] |
Reimplemented from LLPanel.
Definition at line 94 of file llmediaremotectrl.cpp.
References LLPanel::draw(), enableMediaButtons(), LLButton::getToggleState(), and LLButton::setImageOverlay().
void LLMediaRemoteCtrl::enableMediaButtons | ( | ) |
Definition at line 146 of file llmediaremotectrl.cpp.
References LLPanel::childSetColor(), LLMIMETypes::findIcon(), gAudiop, LLViewerParcelMgr::getAgentParcel(), LLControlGroup::getBOOL(), LLControlGroup::getColor(), LLSingleton< LLViewerParcelMgr >::getInstance(), LLParcel::getMediaType(), LLParcel::getMediaURL(), LLViewerMedia::getMimeType(), LLParcel::getMusicURL(), LLParcel::getObscureMedia(), LLViewerParcelMedia::getStatus(), LLPanel::getString(), gOverlayBar, gSavedSettings, mControls, LLOverlayBar::musicPlaying(), LLUI::sColorsGroup, LLView::setEnabled(), setToolTip(), LLView::setVisible(), indra::ipc::saranwrap::status(), LLMediaBase::STATUS_NAVIGATING, LLMediaBase::STATUS_PAUSED, LLMediaBase::STATUS_RESETTING, LLMediaBase::STATUS_STARTED, LLMediaBase::STATUS_STOPPED, LLMediaBase::STATUS_UNKNOWN, and LLMIMETypes::widgetType().
Referenced by draw().
void LLMediaRemoteCtrl::onClickExpandBtn | ( | void * | user_data | ) | [static] |
Definition at line 119 of file llmediaremotectrl.cpp.
References build(), gOverlayBar, and LLOverlayBar::layoutButtons().
Referenced by postBuild().
void * LLMediaRemoteCtrl::createVolumePanel | ( | void * | data | ) | [static] |
Definition at line 129 of file llmediaremotectrl.cpp.
Referenced by LLMediaRemoteCtrl().
void LLMediaRemoteCtrl::setToolTip | ( | const LLString & | msg | ) | [virtual] |
Definition at line 136 of file llmediaremotectrl.cpp.
References LLPanel::childSetToolTip(), LLMIMETypes::findPlayTip(), LLMIMETypes::findToolTip(), LLViewerMedia::getMimeType(), and LLMIMETypes::translate().
Referenced by enableMediaButtons().
void LLMediaRemoteCtrl::build | ( | ) | [protected] |
Definition at line 64 of file llmediaremotectrl.cpp.
References LLUICtrlFactory::buildPanel(), LLView::deleteAllChildren(), LLControlGroup::getBOOL(), LLPanel::getFactoryMap(), LLSingleton< LLUICtrlFactory >::getInstance(), and gSavedSettings.
Referenced by LLMediaRemoteCtrl(), and onClickExpandBtn().
Definition at line 50 of file llmediaremotectrl.h.
Referenced by enableMediaButtons(), and postBuild().