diff options
author | Jacek Antonelli | 2008-08-15 23:45:19 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:19 -0500 |
commit | b235c59d60472f818a9142c0886b95a0ff4191d7 (patch) | |
tree | d323c55587584b19cc43a03f58a178823f12d3cd /linden/indra/llui/lltextbox.h | |
parent | Second Life viewer sources 1.18.5.3 (diff) | |
download | meta-impy-b235c59d60472f818a9142c0886b95a0ff4191d7.zip meta-impy-b235c59d60472f818a9142c0886b95a0ff4191d7.tar.gz meta-impy-b235c59d60472f818a9142c0886b95a0ff4191d7.tar.bz2 meta-impy-b235c59d60472f818a9142c0886b95a0ff4191d7.tar.xz |
Second Life viewer sources 1.18.6.0-RC
Diffstat (limited to 'linden/indra/llui/lltextbox.h')
-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 | ||