diff options
author | Jacek Antonelli | 2008-08-15 23:45:34 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:34 -0500 |
commit | cd17687f01420952712a500107e0f93e7ab8d5f8 (patch) | |
tree | ce48c2b706f2c1176290e39fb555fbdf6648ce01 /linden/indra/newview/llpanellandmedia.h | |
parent | Second Life viewer sources 1.19.0.5 (diff) | |
download | meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.zip meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.gz meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.bz2 meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.xz |
Second Life viewer sources 1.19.1.0
Diffstat (limited to 'linden/indra/newview/llpanellandmedia.h')
-rw-r--r-- | linden/indra/newview/llpanellandmedia.h | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/linden/indra/newview/llpanellandmedia.h b/linden/indra/newview/llpanellandmedia.h new file mode 100644 index 0000000..8efa0f5 --- /dev/null +++ b/linden/indra/newview/llpanellandmedia.h | |||
@@ -0,0 +1,80 @@ | |||
1 | /** | ||
2 | * @file llpanellandmedia.h | ||
3 | * @brief Allows configuration of "media" for a land parcel, | ||
4 | * for example movies, web pages, and audio. | ||
5 | * | ||
6 | * $LicenseInfo:firstyear=2007&license=viewergpl$ | ||
7 | * | ||
8 | * Copyright (c) 2007-2008, Linden Research, Inc. | ||
9 | * | ||
10 | * Second Life Viewer Source Code | ||
11 | * The source code in this file ("Source Code") is provided by Linden Lab | ||
12 | * to you under the terms of the GNU General Public License, version 2.0 | ||
13 | * ("GPL"), unless you have obtained a separate licensing agreement | ||
14 | * ("Other License"), formally executed by you and Linden Lab. Terms of | ||
15 | * the GPL can be found in doc/GPL-license.txt in this distribution, or | ||
16 | * online at http://secondlifegrid.net/programs/open_source/licensing/gplv2 | ||
17 | * | ||
18 | * There are special exceptions to the terms and conditions of the GPL as | ||
19 | * it is applied to this Source Code. View the full text of the exception | ||
20 | * in the file doc/FLOSS-exception.txt in this software distribution, or | ||
21 | * online at http://secondlifegrid.net/programs/open_source/licensing/flossexception | ||
22 | * | ||
23 | * By copying, modifying or distributing this software, you acknowledge | ||
24 | * that you have read and understood your obligations described above, | ||
25 | * and agree to abide by those obligations. | ||
26 | * | ||
27 | * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO | ||
28 | * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, | ||
29 | * COMPLETENESS OR PERFORMANCE. | ||
30 | * $/LicenseInfo$ | ||
31 | */ | ||
32 | |||
33 | #ifndef LLPANELLANDMEDIA_H | ||
34 | #define LLPANELLANDMEDIA_H | ||
35 | |||
36 | #include "lllineeditor.h" | ||
37 | #include "llpanel.h" | ||
38 | #include "llparcelselection.h" | ||
39 | #include "lluifwd.h" // widget pointer types | ||
40 | |||
41 | class LLPanelLandMedia | ||
42 | : public LLPanel | ||
43 | { | ||
44 | public: | ||
45 | LLPanelLandMedia(LLSafeHandle<LLParcelSelection>& parcelp); | ||
46 | /*virtual*/ ~LLPanelLandMedia(); | ||
47 | /*virtual*/ BOOL postBuild(); | ||
48 | void refresh(); | ||
49 | void setMediaType(const LLString& media_type); | ||
50 | void setMediaURL(const LLString& media_type); | ||
51 | const LLString& getMediaURL() { return mMediaURLEdit->getText(); } | ||
52 | |||
53 | private: | ||
54 | void populateMIMECombo(); | ||
55 | static void onCommitAny(LLUICtrl* ctrl, void *userdata); | ||
56 | static void onCommitType(LLUICtrl* ctrl, void *userdata); | ||
57 | static void onSetBtn(void* userdata); | ||
58 | |||
59 | private: | ||
60 | LLCheckBoxCtrl* mCheckSoundLocal; | ||
61 | LLRadioGroup* mRadioVoiceChat; | ||
62 | LLLineEditor* mMusicURLEdit; | ||
63 | LLLineEditor* mMediaURLEdit; | ||
64 | LLLineEditor* mMediaDescEdit; | ||
65 | LLComboBox* mMediaTypeCombo; | ||
66 | LLButton* mSetURLButton; | ||
67 | LLSpinCtrl* mMediaHeightCtrl; | ||
68 | LLSpinCtrl* mMediaWidthCtrl; | ||
69 | LLTextBox* mMediaSizeCtrlLabel; | ||
70 | LLTextureCtrl* mMediaTextureCtrl; | ||
71 | LLCheckBoxCtrl* mMediaAutoScaleCheck; | ||
72 | LLCheckBoxCtrl* mMediaLoopCheck; | ||
73 | LLCheckBoxCtrl* mMediaUrlCheck; | ||
74 | LLCheckBoxCtrl* mMusicUrlCheck; | ||
75 | LLHandle<LLFloater> mURLEntryFloater; | ||
76 | |||
77 | LLSafeHandle<LLParcelSelection>& mParcel; | ||
78 | }; | ||
79 | |||
80 | #endif | ||