diff options
author | richard <none@none> | 2010-02-01 13:50:35 -0800 |
---|---|---|
committer | richard <none@none> | 2010-02-01 13:50:35 -0800 |
commit | 08adb4cfed36b6eda2446c3454637f3ac0a644e6 (patch) | |
tree | 50146ea6540c1c7462416b6dbe3343939c6250c0 /indra/llui/llspinctrl.h | |
parent | acc33dfe75f3667f6478bac00c2a634e2605f851 (diff) | |
parent | 8dbb2c6fd12bf86492ed1cf08e89fa064a23057b (diff) |
merge
Diffstat (limited to 'indra/llui/llspinctrl.h')
-rw-r--r-- | indra/llui/llspinctrl.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/llui/llspinctrl.h b/indra/llui/llspinctrl.h index 0e610b7741..00d6f86f83 100644 --- a/indra/llui/llspinctrl.h +++ b/indra/llui/llspinctrl.h @@ -81,8 +81,8 @@ public: virtual void setPrecision(S32 precision); void setLabel(const LLStringExplicit& label); - void setLabelColor(const LLColor4& c) { mTextEnabledColor = c; } - void setDisabledLabelColor(const LLColor4& c) { mTextDisabledColor = c; } + void setLabelColor(const LLColor4& c) { mTextEnabledColor = c; updateLabelColor(); } + void setDisabledLabelColor(const LLColor4& c) { mTextDisabledColor = c; updateLabelColor();} void setAllowEdit(BOOL allow_edit); virtual void onTabInto(); @@ -103,6 +103,7 @@ public: void onDownBtn(const LLSD& data); private: + void updateLabelColor(); void updateEditor(); void reportInvalidData(); |