#include <llpanellandmedia.h>
Definition at line 41 of file llpanellandmedia.h.
LLPanelLandMedia::LLPanelLandMedia | ( | LLSafeHandle< LLParcelSelection > & | parcelp | ) |
Definition at line 68 of file llpanellandmedia.cpp.
LLPanelLandMedia::~LLPanelLandMedia | ( | ) |
Definition at line 75 of file llpanellandmedia.cpp.
BOOL LLPanelLandMedia::postBuild | ( | void | ) | [virtual] |
Reimplemented from LLPanel.
Definition at line 81 of file llpanellandmedia.cpp.
References LLPanel::childSetAction(), LLPanel::childSetCommitCallback(), mCheckSoundLocal, mMediaAutoScaleCheck, mMediaDescEdit, mMediaHeightCtrl, mMediaLoopCheck, mMediaSizeCtrlLabel, mMediaTextureCtrl, mMediaTypeCombo, mMediaUrlCheck, mMediaURLEdit, mMediaWidthCtrl, mMusicUrlCheck, mMusicURLEdit, mRadioVoiceChat, mSetURLButton, onCommitAny(), onCommitType(), onSetBtn(), PERM_COPY, PERM_TRANSFER, populateMIMECombo(), LLTextureCtrl::setAllowNoTexture(), LLUICtrl::setCallbackUserData(), LLUICtrl::setCommitCallback(), LLTextureCtrl::setImmediateFilterPermMask(), LLTextureCtrl::setNonImmediateFilterPermMask(), and TRUE.
void LLPanelLandMedia::refresh | ( | ) | [virtual] |
Reimplemented from LLPanel.
Definition at line 135 of file llpanellandmedia.cpp.
References LLPanel::childSetText(), LLPanel::clearCtrls(), FALSE, LLMIMETypes::findAllowLooping(), LLMIMETypes::findAllowResize(), LLHandle< T >::get(), LLParcel::getMediaAutoScale(), LLParcel::getMediaDesc(), LLParcel::getMediaHeight(), LLParcel::getMediaID(), LLParcel::getMediaLoop(), LLParcel::getMediaType(), LLParcel::getMediaURL(), LLParcel::getMediaWidth(), LLParcel::getMusicURL(), LLParcel::getObscureMedia(), LLParcel::getObscureMusic(), LLParcel::getSoundLocal(), LLParcel::getVoiceEnabled(), LLParcel::getVoiceUseEstateChannel(), GP_LAND_CHANGE_MEDIA, LLUUID::isNull(), LLViewerParcelMgr::isParcelModifiableByAgent(), kRadioVoiceChatDisable, kRadioVoiceChatEstate, kRadioVoiceChatPrivate, mCheckSoundLocal, mMediaAutoScaleCheck, mMediaDescEdit, mMediaHeightCtrl, mMediaLoopCheck, mMediaSizeCtrlLabel, mMediaTextureCtrl, mMediaTypeCombo, mMediaUrlCheck, mMediaURLEdit, mMediaWidthCtrl, mMusicUrlCheck, mMusicURLEdit, mParcel, mRadioVoiceChat, mSetURLButton, mURLEntryFloater, LLCheckBoxCtrl::set(), LLLineEditor::setDrawAsterixes(), LLTextureCtrl::setEnabled(), LLView::setEnabled(), LLSpinCtrl::setEnabled(), LLComboBox::setEnabled(), LLLineEditor::setEnabled(), LLRadioGroup::setEnabled(), LLCheckBoxCtrl::setEnabled(), LLTextureCtrl::setImageAssetID(), setMediaType(), LLRadioGroup::setSelectedIndex(), LLLineEditor::setText(), LLSpinCtrl::setValue(), and LLFloaterURLEntry::updateFromLandMediaPanel().
Referenced by LLFloaterLand::refresh().
void LLPanelLandMedia::setMediaType | ( | const LLString & | media_type | ) |
Definition at line 292 of file llpanellandmedia.cpp.
References LLPanel::childSetText(), mMediaTypeCombo, mParcel, LLParcel::setMediaType(), LLComboBox::setValue(), and LLMIMETypes::widgetType().
Referenced by LLFloaterURLEntry::headerFetchComplete(), and refresh().
void LLPanelLandMedia::setMediaURL | ( | const LLString & | media_type | ) |
Definition at line 303 of file llpanellandmedia.cpp.
References mMediaURLEdit, LLLineEditor::onCommit(), and LLLineEditor::setText().
Referenced by LLFloaterURLEntry::headerFetchComplete().
LLString LLPanelLandMedia::getMediaURL | ( | ) |
Definition at line 309 of file llpanellandmedia.cpp.
References LLLineEditor::getText(), and mMediaURLEdit.
Referenced by LLFloaterURLEntry::updateFromLandMediaPanel().
void LLPanelLandMedia::populateMIMECombo | ( | ) | [private] |
Definition at line 268 of file llpanellandmedia.cpp.
References LLComboBox::add(), ADD_BOTTOM, LLMIMETypes::LLMIMEWidgetSet::mDefaultMimeType, LLMIMETypes::LLMIMEWidgetSet::mLabel, mMediaTypeCombo, and LLMIMETypes::sWidgetMap.
Referenced by postBuild().
void LLPanelLandMedia::onCommitAny | ( | LLUICtrl * | ctrl, | |
void * | userdata | |||
) | [static, private] |
Definition at line 329 of file llpanellandmedia.cpp.
References FALSE, LLSingleton< LLViewerParcelMgr >::getInstance(), kRadioVoiceChatDisable, kRadioVoiceChatEstate, kRadioVoiceChatPrivate, PF_ALLOW_VOICE_CHAT, PF_SOUND_LOCAL, PF_USE_ESTATE_VOICE_CHAN, S32, LLViewerParcelMgr::sendParcelPropertiesUpdate(), LLParcel::setMediaAutoScale(), LLParcel::setMediaDesc(), LLParcel::setMediaHeight(), LLParcel::setMediaID(), LLParcel::setMediaLoop(), LLParcel::setMediaType(), LLParcel::setMediaURL(), LLParcel::setMediaWidth(), LLParcel::setMusicURL(), LLParcel::setObscureMedia(), LLParcel::setObscureMusic(), LLParcel::setParcelFlag(), LLStringBase< char >::trim(), and TRUE.
Referenced by onCommitType(), and postBuild().
void LLPanelLandMedia::onCommitType | ( | LLUICtrl * | ctrl, | |
void * | userdata | |||
) | [static, private] |
Definition at line 315 of file llpanellandmedia.cpp.
References LLMIMETypes::findDefaultMimeType(), onCommitAny(), and LLMIMETypes::widgetType().
Referenced by postBuild().
void LLPanelLandMedia::onSetBtn | ( | void * | userdata | ) | [static, private] |
Definition at line 403 of file llpanellandmedia.cpp.
References LLFloater::addDependentFloater(), LLFloaterView::getParentFloater(), gFloaterView, and LLFloaterURLEntry::show().
Referenced by postBuild().
LLCheckBoxCtrl* LLPanelLandMedia::mCheckSoundLocal [private] |
LLRadioGroup* LLPanelLandMedia::mRadioVoiceChat [private] |
LLLineEditor* LLPanelLandMedia::mMusicURLEdit [private] |
LLLineEditor* LLPanelLandMedia::mMediaURLEdit [private] |
Definition at line 63 of file llpanellandmedia.h.
Referenced by getMediaURL(), postBuild(), refresh(), and setMediaURL().
LLLineEditor* LLPanelLandMedia::mMediaDescEdit [private] |
LLComboBox* LLPanelLandMedia::mMediaTypeCombo [private] |
Definition at line 65 of file llpanellandmedia.h.
Referenced by populateMIMECombo(), postBuild(), refresh(), and setMediaType().
LLButton* LLPanelLandMedia::mSetURLButton [private] |
LLSpinCtrl* LLPanelLandMedia::mMediaHeightCtrl [private] |
LLSpinCtrl* LLPanelLandMedia::mMediaWidthCtrl [private] |
LLTextBox* LLPanelLandMedia::mMediaSizeCtrlLabel [private] |
LLTextureCtrl* LLPanelLandMedia::mMediaTextureCtrl [private] |
LLCheckBoxCtrl* LLPanelLandMedia::mMediaLoopCheck [private] |
LLCheckBoxCtrl* LLPanelLandMedia::mMediaUrlCheck [private] |
LLCheckBoxCtrl* LLPanelLandMedia::mMusicUrlCheck [private] |
LLHandle<LLFloater> LLPanelLandMedia::mURLEntryFloater [private] |
LLSafeHandle<LLParcelSelection>& LLPanelLandMedia::mParcel [private] |