LLPanelLandMedia Class Reference

#include <llpanellandmedia.h>

Inheritance diagram for LLPanelLandMedia:

Inheritance graph
[legend]
Collaboration diagram for LLPanelLandMedia:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLPanelLandMedia (LLSafeHandle< LLParcelSelection > &parcelp)
 ~LLPanelLandMedia ()
BOOL postBuild ()
void refresh ()
void setMediaType (const LLString &media_type)
void setMediaURL (const LLString &media_type)
LLString getMediaURL ()

Private Member Functions

void populateMIMECombo ()

Static Private Member Functions

static void onCommitAny (LLUICtrl *ctrl, void *userdata)
static void onCommitType (LLUICtrl *ctrl, void *userdata)
static void onSetBtn (void *userdata)

Private Attributes

LLCheckBoxCtrlmCheckSoundLocal
LLRadioGroupmRadioVoiceChat
LLLineEditormMusicURLEdit
LLLineEditormMediaURLEdit
LLLineEditormMediaDescEdit
LLComboBoxmMediaTypeCombo
LLButtonmSetURLButton
LLSpinCtrlmMediaHeightCtrl
LLSpinCtrlmMediaWidthCtrl
LLTextBoxmMediaSizeCtrlLabel
LLTextureCtrlmMediaTextureCtrl
LLCheckBoxCtrlmMediaAutoScaleCheck
LLCheckBoxCtrlmMediaLoopCheck
LLCheckBoxCtrlmMediaUrlCheck
LLCheckBoxCtrlmMusicUrlCheck
LLHandle< LLFloatermURLEntryFloater
LLSafeHandle< LLParcelSelection > & mParcel


Detailed Description

Definition at line 41 of file llpanellandmedia.h.


Constructor & Destructor Documentation

LLPanelLandMedia::LLPanelLandMedia ( LLSafeHandle< LLParcelSelection > &  parcelp  ) 

Definition at line 68 of file llpanellandmedia.cpp.

LLPanelLandMedia::~LLPanelLandMedia (  ) 

Definition at line 75 of file llpanellandmedia.cpp.


Member Function Documentation

BOOL LLPanelLandMedia::postBuild ( void   )  [virtual]

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

Here is the call graph for this function:

Here is the caller graph for this function:

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

Here is the call graph for this function:

Here is the caller graph for this function:

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

Here is the call graph for this function:

Here is the caller graph for this function:

LLString LLPanelLandMedia::getMediaURL (  ) 

Definition at line 309 of file llpanellandmedia.cpp.

References LLLineEditor::getText(), and mMediaURLEdit.

Referenced by LLFloaterURLEntry::updateFromLandMediaPanel().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelLandMedia::onCommitAny ( LLUICtrl ctrl,
void *  userdata 
) [static, private]

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

Here is the call graph for this function:

Here is the caller graph for this function:

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

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 60 of file llpanellandmedia.h.

Referenced by postBuild(), and refresh().

Definition at line 61 of file llpanellandmedia.h.

Referenced by postBuild(), and refresh().

Definition at line 62 of file llpanellandmedia.h.

Referenced by postBuild(), and refresh().

Definition at line 63 of file llpanellandmedia.h.

Referenced by getMediaURL(), postBuild(), refresh(), and setMediaURL().

Definition at line 64 of file llpanellandmedia.h.

Referenced by postBuild(), and refresh().

Definition at line 65 of file llpanellandmedia.h.

Referenced by populateMIMECombo(), postBuild(), refresh(), and setMediaType().

Definition at line 66 of file llpanellandmedia.h.

Referenced by postBuild(), and refresh().

Definition at line 67 of file llpanellandmedia.h.

Referenced by postBuild(), and refresh().

Definition at line 68 of file llpanellandmedia.h.

Referenced by postBuild(), and refresh().

Definition at line 69 of file llpanellandmedia.h.

Referenced by postBuild(), and refresh().

Definition at line 70 of file llpanellandmedia.h.

Referenced by postBuild(), and refresh().

Definition at line 71 of file llpanellandmedia.h.

Referenced by postBuild(), and refresh().

Definition at line 72 of file llpanellandmedia.h.

Referenced by postBuild(), and refresh().

Definition at line 73 of file llpanellandmedia.h.

Referenced by postBuild(), and refresh().

Definition at line 74 of file llpanellandmedia.h.

Referenced by postBuild(), and refresh().

Definition at line 75 of file llpanellandmedia.h.

Referenced by refresh().

Definition at line 77 of file llpanellandmedia.h.

Referenced by refresh(), and setMediaType().


The documentation for this class was generated from the following files:

Generated on Fri May 16 08:57:33 2008 for SecondLife by  doxygen 1.5.5