LLPanelLandMedia Class Reference

#include <llfloaterland.h>

Inheritance diagram for LLPanelLandMedia:

Inheritance graph
[legend]
Collaboration diagram for LLPanelLandMedia:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLPanelLandMedia (LLHandle< LLParcelSelection > &parcelp)
virtual ~LLPanelLandMedia ()
void refresh ()
virtual BOOL postBuild ()

Static Public Member Functions

static void onCommitAny (LLUICtrl *ctrl, void *userdata)
static void onClickStopMedia (void *data)
static void onClickStartMedia (void *data)

Protected Attributes

LLCheckBoxCtrlmCheckSoundLocal
LLRadioGroupmRadioVoiceChat
LLLineEditormMusicURLEdit
LLLineEditormMediaURLEdit
LLTextureCtrlmMediaTextureCtrl
LLCheckBoxCtrlmMediaAutoScaleCheck
LLHandle< LLParcelSelection > & mParcel

Detailed Description

Definition at line 359 of file llfloaterland.h.


Constructor & Destructor Documentation

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

Definition at line 2325 of file llfloaterland.cpp.

LLPanelLandMedia::~LLPanelLandMedia (  )  [virtual]

Definition at line 2371 of file llfloaterland.cpp.


Member Function Documentation

void LLPanelLandMedia::onClickStartMedia ( void data  )  [static]

Definition at line 2539 of file llfloaterland.cpp.

References LLMediaEngine::convertImageAndLoadUrl(), LLMediaEngine::getInstance(), gFocusMgr, NULL, and LLFocusMgr::setKeyboardFocus().

void LLPanelLandMedia::onClickStopMedia ( void data  )  [static]

Definition at line 2534 of file llfloaterland.cpp.

References LLMediaEngine::getInstance(), and LLMediaEngine::stop().

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

Definition at line 2476 of file llfloaterland.cpp.

References FALSE, gParcelMgr, kRadioVoiceChatDisable, kRadioVoiceChatEstate, kRadioVoiceChatPrivate, PF_ALLOW_VOICE_CHAT, PF_SOUND_LOCAL, PF_USE_ESTATE_VOICE_CHAN, LLViewerParcelMgr::sendParcelPropertiesUpdate(), LLParcel::setMediaAutoScale(), LLParcel::setMediaID(), LLParcel::setMediaURL(), LLParcel::setMusicURL(), LLParcel::setParcelFlag(), LLStringBase< char >::trim(), and TRUE.

Referenced by postBuild().

BOOL LLPanelLandMedia::postBuild (  )  [virtual]

Reimplemented from LLPanel.

Definition at line 2333 of file llfloaterland.cpp.

References LLPanel::childSetCommitCallback(), LLUICtrlFactory::getCheckBoxByName(), LLUICtrlFactory::getLineEditorByName(), LLUICtrlFactory::getRadioGroupByName(), LLUICtrlFactory::getTexturePickerByName(), llendl, llwarns, mCheckSoundLocal, mMediaAutoScaleCheck, mMediaTextureCtrl, mMediaURLEdit, mMusicURLEdit, mRadioVoiceChat, onCommitAny(), PERM_COPY, PERM_TRANSFER, LLTextureCtrl::setAllowNoTexture(), LLUICtrl::setCallbackUserData(), LLUICtrl::setCommitCallback(), LLTextureCtrl::setImmediateFilterPermMask(), LLTextureCtrl::setNonImmediateFilterPermMask(), and TRUE.

void LLPanelLandMedia::refresh (  )  [virtual]

Reimplemented from LLPanel.

Definition at line 2376 of file llfloaterland.cpp.

References LLTextureCtrl::clear(), FALSE, LLParcel::getMediaAutoScale(), LLParcel::getMediaID(), LLParcel::getMediaURL(), LLParcel::getMusicURL(), LLParcel::getSoundLocal(), LLParcel::getVoiceEnabled(), LLParcel::getVoiceUseEstateChannel(), GP_LAND_CHANGE_MEDIA, LLUUID::isNull(), LLViewerParcelMgr::isParcelModifiableByAgent(), kRadioVoiceChatDisable, kRadioVoiceChatEstate, kRadioVoiceChatPrivate, mCheckSoundLocal, mMediaAutoScaleCheck, mMediaTextureCtrl, mMediaURLEdit, mMusicURLEdit, mParcel, mRadioVoiceChat, LLStringBase< char >::null, LLCheckBoxCtrl::set(), LLLineEditor::setDrawAsterixes(), LLTextureCtrl::setEnabled(), LLLineEditor::setEnabled(), LLRadioGroup::setEnabled(), LLCheckBoxCtrl::setEnabled(), LLTextureCtrl::setImageAssetID(), LLRadioGroup::setSelectedIndex(), LLLineEditor::setText(), and TRUE.

Referenced by LLFloaterLand::refresh().


Member Data Documentation

LLCheckBoxCtrl* LLPanelLandMedia::mCheckSoundLocal [protected]

Definition at line 374 of file llfloaterland.h.

Referenced by postBuild(), and refresh().

LLCheckBoxCtrl* LLPanelLandMedia::mMediaAutoScaleCheck [protected]

Definition at line 379 of file llfloaterland.h.

Referenced by postBuild(), and refresh().

LLTextureCtrl* LLPanelLandMedia::mMediaTextureCtrl [protected]

Definition at line 378 of file llfloaterland.h.

Referenced by postBuild(), and refresh().

LLLineEditor* LLPanelLandMedia::mMediaURLEdit [protected]

Definition at line 377 of file llfloaterland.h.

Referenced by postBuild(), and refresh().

LLLineEditor* LLPanelLandMedia::mMusicURLEdit [protected]

Definition at line 376 of file llfloaterland.h.

Referenced by postBuild(), and refresh().

LLHandle<LLParcelSelection>& LLPanelLandMedia::mParcel [protected]

Definition at line 383 of file llfloaterland.h.

Referenced by refresh().

LLRadioGroup* LLPanelLandMedia::mRadioVoiceChat [protected]

Definition at line 375 of file llfloaterland.h.

Referenced by postBuild(), and refresh().


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