diff options
author | Jacek Antonelli | 2009-09-23 02:29:44 -0500 |
---|---|---|
committer | Jacek Antonelli | 2009-09-23 02:29:44 -0500 |
commit | cd2b97b3e6446449443700ae9a1521c402c93850 (patch) | |
tree | 0c45e5a05cdcb6956fb859c9fef834a5c5613a04 /linden/indra/llui/lltextbox.cpp | |
parent | Commented out Linux tarball building. (diff) | |
parent | Display selected avatars larger than normal, zoom in at a reasonable speed. I... (diff) | |
download | meta-impy-cd2b97b3e6446449443700ae9a1521c402c93850.zip meta-impy-cd2b97b3e6446449443700ae9a1521c402c93850.tar.gz meta-impy-cd2b97b3e6446449443700ae9a1521c402c93850.tar.bz2 meta-impy-cd2b97b3e6446449443700ae9a1521c402c93850.tar.xz |
Merge remote branch 'mccabe/1.2.0-next' into next
Conflicts:
linden/indra/newview/llfloaterchat.cpp
linden/indra/newview/llfloatermap.cpp
linden/indra/newview/llinventorybridge.cpp
linden/indra/newview/llnetmap.cpp
linden/indra/newview/llviewermessage.cpp
linden/indra/newview/llviewerobjectlist.cpp
Diffstat (limited to 'linden/indra/llui/lltextbox.cpp')
-rw-r--r-- | linden/indra/llui/lltextbox.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/linden/indra/llui/lltextbox.cpp b/linden/indra/llui/lltextbox.cpp index f43b7d2..e45f97b 100644 --- a/linden/indra/llui/lltextbox.cpp +++ b/linden/indra/llui/lltextbox.cpp | |||
@@ -33,6 +33,7 @@ | |||
33 | #include "lltextbox.h" | 33 | #include "lltextbox.h" |
34 | #include "lluictrlfactory.h" | 34 | #include "lluictrlfactory.h" |
35 | #include "llfocusmgr.h" | 35 | #include "llfocusmgr.h" |
36 | #include "llwindow.h" | ||
36 | 37 | ||
37 | static LLRegisterWidget<LLTextBox> r("text"); | 38 | static LLRegisterWidget<LLTextBox> r("text"); |
38 | 39 | ||
@@ -193,12 +194,14 @@ BOOL LLTextBox::handleMouseUp(S32 x, S32 y, MASK mask) | |||
193 | 194 | ||
194 | BOOL LLTextBox::handleHover(S32 x, S32 y, MASK mask) | 195 | BOOL LLTextBox::handleHover(S32 x, S32 y, MASK mask) |
195 | { | 196 | { |
197 | BOOL handled = LLView::handleHover(x,y,mask); | ||
196 | if(mHoverActive) | 198 | if(mHoverActive) |
197 | { | 199 | { |
198 | mHasHover = TRUE; // This should be set every frame during a hover. | 200 | mHasHover = TRUE; // This should be set every frame during a hover. |
199 | return TRUE; | 201 | getWindow()->setCursor(UI_CURSOR_ARROW); |
200 | } | 202 | } |
201 | return LLView::handleHover(x,y,mask); | 203 | |
204 | return (handled || mHasHover); | ||
202 | } | 205 | } |
203 | 206 | ||
204 | void LLTextBox::setText(const LLStringExplicit& text) | 207 | void LLTextBox::setText(const LLStringExplicit& text) |