diff options
author | James Cook <james@lindenlab.com> | 2009-12-04 10:56:19 -0800 |
---|---|---|
committer | James Cook <james@lindenlab.com> | 2009-12-04 10:56:19 -0800 |
commit | fa8b2135f5eaf92b24abe79f908a62e7e2c0a076 (patch) | |
tree | 4262266a4b752a7599170b9a75a60f8d4956cd0b /indra/newview/llnearbychat.cpp | |
parent | 5b695ac56a7fbbb4d1f63bccb0c147c46e56ebcf (diff) | |
parent | ab6134c2310bae6aa68565b6a31093c123713135 (diff) |
merge
Diffstat (limited to 'indra/newview/llnearbychat.cpp')
-rw-r--r-- | indra/newview/llnearbychat.cpp | 18 |
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(); +} |