summaryrefslogtreecommitdiff
path: root/indra/llui/llbutton.cpp
diff options
context:
space:
mode:
authorJustin C. Rounds (Chuck) <chuck@lindenlab.com>2009-10-30 09:58:41 -0400
committerJustin C. Rounds (Chuck) <chuck@lindenlab.com>2009-10-30 09:58:41 -0400
commitaae05b49308d8b5d39a1b1b62f8e6145097043b6 (patch)
tree6f6ede75171952788ddd1037b58cc67340eaec74 /indra/llui/llbutton.cpp
parent283b862814996dad24ce1e896122465fede118a1 (diff)
parent4dd6626c800988f70925d7687f0a4b7bbe20694b (diff)
Merge commit.
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))