diff options
author | Jacek Antonelli | 2008-09-06 18:24:57 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-09-06 18:25:07 -0500 |
commit | 798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch) | |
tree | 1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/newview/llvoiceremotectrl.cpp | |
parent | Second Life viewer sources 1.20.15 (diff) | |
download | meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.zip meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.gz meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.bz2 meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.xz |
Second Life viewer sources 1.21.0-RC
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llvoiceremotectrl.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/linden/indra/newview/llvoiceremotectrl.cpp b/linden/indra/newview/llvoiceremotectrl.cpp index 3779ffd..6a11471 100644 --- a/linden/indra/newview/llvoiceremotectrl.cpp +++ b/linden/indra/newview/llvoiceremotectrl.cpp | |||
@@ -45,7 +45,7 @@ | |||
45 | #include "lloverlaybar.h" | 45 | #include "lloverlaybar.h" |
46 | #include "lltextbox.h" | 46 | #include "lltextbox.h" |
47 | 47 | ||
48 | LLVoiceRemoteCtrl::LLVoiceRemoteCtrl (const LLString& name) : LLPanel(name) | 48 | LLVoiceRemoteCtrl::LLVoiceRemoteCtrl (const std::string& name) : LLPanel(name) |
49 | { | 49 | { |
50 | setIsChrome(TRUE); | 50 | setIsChrome(TRUE); |
51 | 51 | ||
@@ -116,7 +116,7 @@ void LLVoiceRemoteCtrl::draw() | |||
116 | mSpeakersBtn->setToggleState(LLFloaterActiveSpeakers::instanceVisible(LLSD())); | 116 | mSpeakersBtn->setToggleState(LLFloaterActiveSpeakers::instanceVisible(LLSD())); |
117 | mTalkLockBtn->setToggleState(!gSavedSettings.getBOOL("PTTCurrentlyEnabled")); | 117 | mTalkLockBtn->setToggleState(!gSavedSettings.getBOOL("PTTCurrentlyEnabled")); |
118 | 118 | ||
119 | LLString talk_blip_image; | 119 | std::string talk_blip_image; |
120 | if (gVoiceClient->getIsSpeaking(gAgent.getID())) | 120 | if (gVoiceClient->getIsSpeaking(gAgent.getID())) |
121 | { | 121 | { |
122 | F32 voice_power = gVoiceClient->getCurrentPower(gAgent.getID()); | 122 | F32 voice_power = gVoiceClient->getCurrentPower(gAgent.getID()); |
@@ -156,7 +156,7 @@ void LLVoiceRemoteCtrl::draw() | |||
156 | } | 156 | } |
157 | 157 | ||
158 | LLFloater* voice_floater = LLFloaterChatterBox::getInstance()->getCurrentVoiceFloater(); | 158 | LLFloater* voice_floater = LLFloaterChatterBox::getInstance()->getCurrentVoiceFloater(); |
159 | LLString active_channel_name; | 159 | std::string active_channel_name; |
160 | if (voice_floater) | 160 | if (voice_floater) |
161 | { | 161 | { |
162 | active_channel_name = voice_floater->getShortTitle(); | 162 | active_channel_name = voice_floater->getShortTitle(); |
@@ -204,11 +204,11 @@ void LLVoiceRemoteCtrl::draw() | |||
204 | { | 204 | { |
205 | if (expand_button->getToggleState()) | 205 | if (expand_button->getToggleState()) |
206 | { | 206 | { |
207 | expand_button->setImageOverlay("arrow_down.tga"); | 207 | expand_button->setImageOverlay(std::string("arrow_down.tga")); |
208 | } | 208 | } |
209 | else | 209 | else |
210 | { | 210 | { |
211 | expand_button->setImageOverlay("arrow_up.tga"); | 211 | expand_button->setImageOverlay(std::string("arrow_up.tga")); |
212 | } | 212 | } |
213 | } | 213 | } |
214 | 214 | ||