diff options
author | Jacek Antonelli | 2008-08-15 23:45:50 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:50 -0500 |
commit | 2a4dea528f670b9bb1f77ef27a8a1dd16603d114 (patch) | |
tree | 95c68e362703c9099d571ecbdc6142b1cda1e005 /linden/indra/llui/llspinctrl.h | |
parent | Second Life viewer sources 1.20.6 (diff) | |
download | meta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.zip meta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.tar.gz meta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.tar.bz2 meta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.tar.xz |
Second Life viewer sources 1.20.7
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llui/llspinctrl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/linden/indra/llui/llspinctrl.h b/linden/indra/llui/llspinctrl.h index 790e216..5d040fd 100644 --- a/linden/indra/llui/llspinctrl.h +++ b/linden/indra/llui/llspinctrl.h | |||
@@ -66,6 +66,7 @@ public: | |||
66 | virtual LLXMLNodePtr getXML(bool save_children = true) const; | 66 | virtual LLXMLNodePtr getXML(bool save_children = true) const; |
67 | static LLView* fromXML(LLXMLNodePtr node, LLView *parent, class LLUICtrlFactory *factory); | 67 | static LLView* fromXML(LLXMLNodePtr node, LLView *parent, class LLUICtrlFactory *factory); |
68 | 68 | ||
69 | virtual void forceSetValue(const LLSD& value ) ; | ||
69 | virtual void setValue(const LLSD& value ); | 70 | virtual void setValue(const LLSD& value ); |
70 | virtual LLSD getValue() const { return mValue; } | 71 | virtual LLSD getValue() const { return mValue; } |
71 | F32 get() const { return (F32)getValue().asReal(); } | 72 | F32 get() const { return (F32)getValue().asReal(); } |
@@ -87,6 +88,7 @@ public: | |||
87 | virtual void setIncrement(F32 inc) { mIncrement = inc; } | 88 | virtual void setIncrement(F32 inc) { mIncrement = inc; } |
88 | virtual F32 getMinValue() { return mMinValue ; } | 89 | virtual F32 getMinValue() { return mMinValue ; } |
89 | virtual F32 getMaxValue() { return mMaxValue ; } | 90 | virtual F32 getMaxValue() { return mMaxValue ; } |
91 | virtual F32 getIncrement() { return mIncrement ; } | ||
90 | 92 | ||
91 | void setLabel(const LLStringExplicit& label); | 93 | void setLabel(const LLStringExplicit& label); |
92 | void setLabelColor(const LLColor4& c) { mTextEnabledColor = c; } | 94 | void setLabelColor(const LLColor4& c) { mTextEnabledColor = c; } |