diff options
author | Monroe Linden <monroe@lindenlab.com> | 2010-07-15 16:32:50 -0700 |
---|---|---|
committer | Monroe Linden <monroe@lindenlab.com> | 2010-07-15 16:32:50 -0700 |
commit | 551f74125bacfe8353a4b13692d2fdb0cc29958b (patch) | |
tree | dd88ed62b786f891ad48d4302b4fdb3fea4fdf19 /indra/llui/lltextbox.h | |
parent | 39f241aad283d2f051ae7f093bbd650f16486df0 (diff) |
Changes to allow disabling an LLTextBox (or LLTextBox subclass) to gray out the text.
Due to some legacy issues, text boxes will not gray out on disable unless they have their text_readonly_color property in xui set to "LabelDisabledColor" (or some other color distinct from their text color).
Reviewed by Richard.
Diffstat (limited to 'indra/llui/lltextbox.h')
-rw-r--r-- | indra/llui/lltextbox.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llui/lltextbox.h b/indra/llui/lltextbox.h index 3a045534d3..b2ccde94c6 100644 --- a/indra/llui/lltextbox.h +++ b/indra/llui/lltextbox.h @@ -58,6 +58,8 @@ public: /*virtual*/ BOOL handleMouseUp(S32 x, S32 y, MASK mask); /*virtual*/ BOOL handleHover(S32 x, S32 y, MASK mask); + /*virtual*/ void setEnabled(BOOL enabled); + /*virtual*/ void setText( const LLStringExplicit& text, const LLStyle::Params& input_params = LLStyle::Params() ); void setRightAlign() { mHAlign = LLFontGL::RIGHT; } |