diff options
author | angela <angela@lindenlab.com> | 2009-12-03 10:10:11 +0800 |
---|---|---|
committer | angela <angela@lindenlab.com> | 2009-12-03 10:10:11 +0800 |
commit | c5a8a7c8ce688fb3f9d089b10fad2f33025f87e5 (patch) | |
tree | 3069846f2d3aabdb58b05a78eb8ddda6a7925112 /indra/newview/llnearbychat.cpp | |
parent | db37d721bd718112a88ec7741635b9e753fcfe10 (diff) | |
parent | 1a75c4c49046b496829b41a49359002adc94b1a3 (diff) |
merge from remote repo
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 ee3be0a5e3..791cedbd4c 100644 --- a/indra/newview/llnearbychat.cpp +++ b/indra/newview/llnearbychat.cpp @@ -273,6 +273,7 @@ void LLNearbyChat::updateChatHistoryStyle() addMessage(*it,false); } } + //static void LLNearbyChat::processChatHistoryStyleUpdate(const LLSD& newvalue) { @@ -280,3 +281,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(); +}
\ No newline at end of file |