summaryrefslogtreecommitdiff
path: root/indra/newview/llnearbychat.cpp
diff options
context:
space:
mode:
authorskolb <none@none>2009-12-04 11:57:11 -0800
committerskolb <none@none>2009-12-04 11:57:11 -0800
commitbef221e3aa42b92586e5783811742afdbf05cd92 (patch)
tree4262266a4b752a7599170b9a75a60f8d4956cd0b /indra/newview/llnearbychat.cpp
parent2d2f98c51bd87c2b8e2861d2261a0e6d9300dc0b (diff)
parentfa8b2135f5eaf92b24abe79f908a62e7e2c0a076 (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();
+}