summaryrefslogtreecommitdiff
path: root/indra/newview/llnearbychat.cpp
diff options
context:
space:
mode:
authorJames Cook <james@lindenlab.com>2009-12-04 10:56:19 -0800
committerJames Cook <james@lindenlab.com>2009-12-04 10:56:19 -0800
commitfa8b2135f5eaf92b24abe79f908a62e7e2c0a076 (patch)
tree4262266a4b752a7599170b9a75a60f8d4956cd0b /indra/newview/llnearbychat.cpp
parent5b695ac56a7fbbb4d1f63bccb0c147c46e56ebcf (diff)
parentab6134c2310bae6aa68565b6a31093c123713135 (diff)
merge
Diffstat (limited to 'indra/newview/llnearbychat.cpp')
-rw-r--r--indra/newview/llnearbychat.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/indra/newview/llnearbychat.cpp b/indra/newview/llnearbychat.cpp
index 18e5169930..3a1ae5bf46 100644
--- a/indra/newview/llnearbychat.cpp
+++ b/indra/newview/llnearbychat.cpp
@@ -264,6 +264,7 @@ void LLNearbyChat::updateChatHistoryStyle()
addMessage(*it,false);
}
}
+
//static
void LLNearbyChat::processChatHistoryStyleUpdate(const LLSD& newvalue)
{
@@ -271,3 +272,20 @@ void LLNearbyChat::processChatHistoryStyleUpdate(const LLSD& newvalue)
if(nearby_chat)
nearby_chat->updateChatHistoryStyle();
}
+
+
+////////////////////////////////////////////////////////////////////////////////
+//
+void LLNearbyChat::onFocusReceived()
+{
+ setBackgroundOpaque(true);
+ LLPanel::onFocusReceived();
+}
+
+////////////////////////////////////////////////////////////////////////////////
+//
+void LLNearbyChat::onFocusLost()
+{
+ setBackgroundOpaque(false);
+ LLPanel::onFocusLost();
+}