summaryrefslogtreecommitdiff
path: root/indra/llui/llbutton.cpp
diff options
context:
space:
mode:
authorVadim Savchuk <vsavchuk@productengine.com>2009-10-30 19:17:53 +0200
committerVadim Savchuk <vsavchuk@productengine.com>2009-10-30 19:17:53 +0200
commitb2526cde2393ca7d84284b254fb4f37b9e8abb5b (patch)
tree2318b3c35d1b673ba819794c094e6d8e4bad3500 /indra/llui/llbutton.cpp
parent2efd4f40af8df78d5b34c1449b1a99e3f570cae5 (diff)
parentaae05b49308d8b5d39a1b1b62f8e6145097043b6 (diff)
merge from default branch
--HG-- branch : product-engine
Diffstat (limited to 'indra/llui/llbutton.cpp')
-rw-r--r--indra/llui/llbutton.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llui/llbutton.cpp b/indra/llui/llbutton.cpp
index fd369730d6..a7946cacf5 100644
--- a/indra/llui/llbutton.cpp
+++ b/indra/llui/llbutton.cpp
@@ -486,6 +486,11 @@ void LLButton::onMouseLeave(S32 x, S32 y, MASK mask)
mNeedsHighlight = FALSE;
}
+void LLButton::setHighlight(bool b)
+{
+ mNeedsHighlight = b;
+}
+
BOOL LLButton::handleHover(S32 x, S32 y, MASK mask)
{
if (!childrenHandleHover(x, y, mask))