diff options
author | Jacek Antonelli | 2008-09-06 18:24:57 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-09-06 18:25:07 -0500 |
commit | 798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch) | |
tree | 1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/llui/llspinctrl.h | |
parent | Second Life viewer sources 1.20.15 (diff) | |
download | meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.zip meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.gz meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.bz2 meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.xz |
Second Life viewer sources 1.21.0-RC
Diffstat (limited to 'linden/indra/llui/llspinctrl.h')
-rw-r--r-- | linden/indra/llui/llspinctrl.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/linden/indra/llui/llspinctrl.h b/linden/indra/llui/llspinctrl.h index 5d040fd..0cc6661 100644 --- a/linden/indra/llui/llspinctrl.h +++ b/linden/indra/llui/llspinctrl.h | |||
@@ -52,13 +52,13 @@ class LLSpinCtrl | |||
52 | : public LLUICtrl | 52 | : public LLUICtrl |
53 | { | 53 | { |
54 | public: | 54 | public: |
55 | LLSpinCtrl(const LLString& name, const LLRect& rect, | 55 | LLSpinCtrl(const std::string& name, const LLRect& rect, |
56 | const LLString& label, | 56 | const std::string& label, |
57 | const LLFontGL* font, | 57 | const LLFontGL* font, |
58 | void (*commit_callback)(LLUICtrl*, void*), | 58 | void (*commit_callback)(LLUICtrl*, void*), |
59 | void* callback_userdata, | 59 | void* callback_userdata, |
60 | F32 initial_value, F32 min_value, F32 max_value, F32 increment, | 60 | F32 initial_value, F32 min_value, F32 max_value, F32 increment, |
61 | const LLString& control_name = LLString(), | 61 | const std::string& control_name = std::string(), |
62 | S32 label_width = SPINCTRL_DEFAULT_LABEL_WIDTH ); | 62 | S32 label_width = SPINCTRL_DEFAULT_LABEL_WIDTH ); |
63 | 63 | ||
64 | virtual ~LLSpinCtrl() {} // Children all cleaned up by default view destructor. | 64 | virtual ~LLSpinCtrl() {} // Children all cleaned up by default view destructor. |
@@ -93,6 +93,7 @@ public: | |||
93 | void setLabel(const LLStringExplicit& label); | 93 | void setLabel(const LLStringExplicit& label); |
94 | void setLabelColor(const LLColor4& c) { mTextEnabledColor = c; } | 94 | void setLabelColor(const LLColor4& c) { mTextEnabledColor = c; } |
95 | void setDisabledLabelColor(const LLColor4& c) { mTextDisabledColor = c; } | 95 | void setDisabledLabelColor(const LLColor4& c) { mTextDisabledColor = c; } |
96 | void setAllowEdit(BOOL allow_edit); | ||
96 | 97 | ||
97 | virtual void onTabInto(); | 98 | virtual void onTabInto(); |
98 | 99 | ||
@@ -134,6 +135,7 @@ private: | |||
134 | class LLButton* mDownBtn; | 135 | class LLButton* mDownBtn; |
135 | 136 | ||
136 | BOOL mbHasBeenSet; | 137 | BOOL mbHasBeenSet; |
138 | BOOL mAllowEdit; | ||
137 | }; | 139 | }; |
138 | 140 | ||
139 | #endif // LL_LLSPINCTRL_H | 141 | #endif // LL_LLSPINCTRL_H |