aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llpanellandaudio.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llpanellandaudio.cpp17
1 files changed, 16 insertions, 1 deletions
diff --git a/linden/indra/newview/llpanellandaudio.cpp b/linden/indra/newview/llpanellandaudio.cpp
index 8d902b6..c7543a0 100644
--- a/linden/indra/newview/llpanellandaudio.cpp
+++ b/linden/indra/newview/llpanellandaudio.cpp
@@ -69,7 +69,12 @@ enum
69//--------------------------------------------------------------------------- 69//---------------------------------------------------------------------------
70 70
71LLPanelLandAudio::LLPanelLandAudio(LLParcelSelectionHandle& parcel) 71LLPanelLandAudio::LLPanelLandAudio(LLParcelSelectionHandle& parcel)
72: LLPanel(std::string("land_media_panel")), mParcel(parcel) 72: LLPanel(std::string("land_media_panel")),
73 mParcel(parcel),
74 mCheckSoundLocal(NULL),
75 mSoundHelpButton(NULL),
76 mRadioVoiceChat(NULL),
77 mMusicURLEdit(NULL)
73{ 78{
74} 79}
75 80
@@ -82,6 +87,9 @@ LLPanelLandAudio::~LLPanelLandAudio()
82 87
83BOOL LLPanelLandAudio::postBuild() 88BOOL LLPanelLandAudio::postBuild()
84{ 89{
90 mSoundHelpButton = getChild<LLButton>("?");
91 mSoundHelpButton->setClickedCallback(onClickSoundHelp, this);
92
85 mCheckSoundLocal = getChild<LLCheckBoxCtrl>("check_sound_local"); 93 mCheckSoundLocal = getChild<LLCheckBoxCtrl>("check_sound_local");
86 childSetCommitCallback("check_sound_local", onCommitAny, this); 94 childSetCommitCallback("check_sound_local", onCommitAny, this);
87 95
@@ -185,3 +193,10 @@ void LLPanelLandAudio::onCommitAny(LLUICtrl*, void *userdata)
185 // Might have changed properties, so let's redraw! 193 // Might have changed properties, so let's redraw!
186 self->refresh(); 194 self->refresh();
187} 195}
196
197
198// static
199void LLPanelLandAudio::onClickSoundHelp(void*)
200{
201 LLNotifications::instance().add("ClickSoundHelpLand");
202}