diff options
author | angela <angela@lindenlab.com> | 2009-12-02 23:52:23 +0800 |
---|---|---|
committer | angela <angela@lindenlab.com> | 2009-12-02 23:52:23 +0800 |
commit | fb4c3245fd6b6f846c861530f8a093bc4fb2f78b (patch) | |
tree | cfbbd89f0ba934a3e606400a92be409d0cc11371 /indra/newview/llnearbychat.cpp | |
parent | 126c6feed5d335690c50da4d2ffff8b6cc5cdc0c (diff) | |
parent | c4d6442ef4b6d547521d1d70ecf37bf99ad86373 (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 8f1dec1431..0684cec370 100644 --- a/indra/newview/llnearbychat.cpp +++ b/indra/newview/llnearbychat.cpp @@ -256,3 +256,21 @@ void LLNearbyChat::getAllowedRect(LLRect& rect) { rect = gViewerWindow->getWorldViewRectScaled(); } + + +//////////////////////////////////////////////////////////////////////////////// +// +void LLNearbyChat::onFocusReceived() +{ + setBackgroundOpaque(true); + LLPanel::onFocusReceived(); +} + +//////////////////////////////////////////////////////////////////////////////// +// +void LLNearbyChat::onFocusLost() +{ + setBackgroundOpaque(false); + LLPanel::onFocusLost(); +} + |