llpanellandmedia.h

Go to the documentation of this file.
00001 
00033 #ifndef LLPANELLANDMEDIA_H
00034 #define LLPANELLANDMEDIA_H
00035 
00036 #include "lllineeditor.h"
00037 #include "llpanel.h"
00038 #include "llparcelselection.h"
00039 #include "lluifwd.h"    // widget pointer types
00040 
00041 class LLPanelLandMedia
00042 :       public LLPanel
00043 {
00044 public:
00045         LLPanelLandMedia(LLSafeHandle<LLParcelSelection>& parcelp);
00046         /*virtual*/ ~LLPanelLandMedia();
00047         /*virtual*/ BOOL postBuild();
00048         void refresh();
00049         void setMediaType(const LLString& media_type);
00050         void setMediaURL(const LLString& media_type);
00051         LLString getMediaURL();
00052 
00053 private:
00054         void populateMIMECombo();
00055         static void onCommitAny(LLUICtrl* ctrl, void *userdata);
00056         static void onCommitType(LLUICtrl* ctrl, void *userdata);
00057         static void onSetBtn(void* userdata);
00058 
00059 private:
00060         LLCheckBoxCtrl* mCheckSoundLocal;
00061         LLRadioGroup*   mRadioVoiceChat;
00062         LLLineEditor*   mMusicURLEdit;
00063         LLLineEditor*   mMediaURLEdit;
00064         LLLineEditor*   mMediaDescEdit;
00065         LLComboBox*             mMediaTypeCombo;
00066         LLButton*               mSetURLButton;
00067         LLSpinCtrl*             mMediaHeightCtrl;
00068         LLSpinCtrl*             mMediaWidthCtrl;
00069         LLTextBox*              mMediaSizeCtrlLabel;
00070         LLTextureCtrl*  mMediaTextureCtrl;
00071         LLCheckBoxCtrl* mMediaAutoScaleCheck;
00072         LLCheckBoxCtrl* mMediaLoopCheck;
00073         LLCheckBoxCtrl* mMediaUrlCheck;
00074         LLCheckBoxCtrl* mMusicUrlCheck;
00075         LLHandle<LLFloater>     mURLEntryFloater;
00076 
00077         LLSafeHandle<LLParcelSelection>&        mParcel;
00078 };
00079 
00080 #endif

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