aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llui/llbutton.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:44:58 -0500
committerJacek Antonelli2008-08-15 23:44:58 -0500
commit089fc07d207c71ce1401e72f09c31ad8c45872e2 (patch)
tree0028955add042c6f45b47a7b774adeeac9c592cb /linden/indra/llui/llbutton.h
parentSecond Life viewer sources 1.16.0.5 (diff)
downloadmeta-impy-089fc07d207c71ce1401e72f09c31ad8c45872e2.zip
meta-impy-089fc07d207c71ce1401e72f09c31ad8c45872e2.tar.gz
meta-impy-089fc07d207c71ce1401e72f09c31ad8c45872e2.tar.bz2
meta-impy-089fc07d207c71ce1401e72f09c31ad8c45872e2.tar.xz
Second Life viewer sources 1.17.0.12
Diffstat (limited to 'linden/indra/llui/llbutton.h')
-rw-r--r--linden/indra/llui/llbutton.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/linden/indra/llui/llbutton.h b/linden/indra/llui/llbutton.h
index 44e8776..6e11779 100644
--- a/linden/indra/llui/llbutton.h
+++ b/linden/indra/llui/llbutton.h
@@ -142,6 +142,10 @@ public:
142 142
143 void setDisabledSelectedLabelColor( const LLColor4& c ) { mDisabledSelectedLabelColor = c; } 143 void setDisabledSelectedLabelColor( const LLColor4& c ) { mDisabledSelectedLabelColor = c; }
144 144
145 void setImageOverlay(const LLString &image_name, LLFontGL::HAlign alignment = LLFontGL::HCENTER);
146 LLPointer<LLImageGL> getImageOverlay() { return mImageOverlay; }
147
148
145 virtual void setValue(const LLSD& value ); 149 virtual void setValue(const LLSD& value );
146 virtual LLSD getValue() const; 150 virtual LLSD getValue() const;
147 151
@@ -202,6 +206,9 @@ protected:
202 F32 mHeldDownDelay; // seconds, after which held-down callbacks get called 206 F32 mHeldDownDelay; // seconds, after which held-down callbacks get called
203 S32 mHeldDownFrameDelay; // frames, after which held-down callbacks get called 207 S32 mHeldDownFrameDelay; // frames, after which held-down callbacks get called
204 208
209 LLPointer<LLImageGL> mImageOverlay;
210 LLFontGL::HAlign mImageOverlayAlignment;
211
205 LLPointer<LLImageGL> mImageUnselected; 212 LLPointer<LLImageGL> mImageUnselected;
206 LLUIString mUnselectedLabel; 213 LLUIString mUnselectedLabel;
207 LLColor4 mUnselectedLabelColor; 214 LLColor4 mUnselectedLabelColor;