diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llui/lltextbox.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/linden/indra/llui/lltextbox.h b/linden/indra/llui/lltextbox.h index 7e7018a..c7c7946 100644 --- a/linden/indra/llui/lltextbox.h +++ b/linden/indra/llui/lltextbox.h | |||
@@ -66,11 +66,16 @@ public: | |||
66 | 66 | ||
67 | virtual BOOL handleMouseDown(S32 x, S32 y, MASK mask); | 67 | virtual BOOL handleMouseDown(S32 x, S32 y, MASK mask); |
68 | virtual BOOL handleMouseUp(S32 x, S32 y, MASK mask); | 68 | virtual BOOL handleMouseUp(S32 x, S32 y, MASK mask); |
69 | virtual BOOL handleHover(S32 x, S32 y, MASK mask); | ||
69 | 70 | ||
70 | void setColor( const LLColor4& c ) { mTextColor = c; } | 71 | void setColor( const LLColor4& c ) { mTextColor = c; } |
71 | void setDisabledColor( const LLColor4& c) { mDisabledColor = c; } | 72 | void setDisabledColor( const LLColor4& c) { mDisabledColor = c; } |
72 | void setBackgroundColor( const LLColor4& c) { mBackgroundColor = c; } | 73 | void setBackgroundColor( const LLColor4& c) { mBackgroundColor = c; } |
73 | void setBorderColor( const LLColor4& c) { mBorderColor = c; } | 74 | void setBorderColor( const LLColor4& c) { mBorderColor = c; } |
75 | |||
76 | void setHoverColor( const LLColor4& c ) { mHoverColor = c; } | ||
77 | void setHoverActive( BOOL active ) { mHoverActive = active; } | ||
78 | |||
74 | void setText( const LLStringExplicit& text ); | 79 | void setText( const LLStringExplicit& text ); |
75 | void setWrappedText(const LLStringExplicit& text, F32 max_width = -1.0); | 80 | void setWrappedText(const LLStringExplicit& text, F32 max_width = -1.0); |
76 | // default width means use existing control width | 81 | // default width means use existing control width |
@@ -108,10 +113,12 @@ protected: | |||
108 | const LLFontGL* mFontGL; | 113 | const LLFontGL* mFontGL; |
109 | LLColor4 mTextColor; | 114 | LLColor4 mTextColor; |
110 | LLColor4 mDisabledColor; | 115 | LLColor4 mDisabledColor; |
111 | |||
112 | LLColor4 mBackgroundColor; | 116 | LLColor4 mBackgroundColor; |
113 | LLColor4 mBorderColor; | 117 | LLColor4 mBorderColor; |
114 | 118 | LLColor4 mHoverColor; | |
119 | |||
120 | BOOL mHoverActive; | ||
121 | BOOL mHasHover; | ||
115 | BOOL mBackgroundVisible; | 122 | BOOL mBackgroundVisible; |
116 | BOOL mBorderVisible; | 123 | BOOL mBorderVisible; |
117 | 124 | ||