diff options
Diffstat (limited to 'indra/llui/llbutton.h')
-rw-r--r-- | indra/llui/llbutton.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/llui/llbutton.h b/indra/llui/llbutton.h index 9048358bd8..470c34fb64 100644 --- a/indra/llui/llbutton.h +++ b/indra/llui/llbutton.h @@ -122,6 +122,10 @@ public: void setDisabledSelectedLabelColor( const LLColor4& c ) { mDisabledSelectedLabelColor = c; } + void setImageOverlay(const LLString &image_name, LLFontGL::HAlign alignment = LLFontGL::HCENTER); + LLPointer<LLImageGL> getImageOverlay() { return mImageOverlay; } + + virtual void setValue(const LLSD& value ); virtual LLSD getValue() const; @@ -182,6 +186,9 @@ protected: F32 mHeldDownDelay; // seconds, after which held-down callbacks get called S32 mHeldDownFrameDelay; // frames, after which held-down callbacks get called + LLPointer<LLImageGL> mImageOverlay; + LLFontGL::HAlign mImageOverlayAlignment; + LLPointer<LLImageGL> mImageUnselected; LLUIString mUnselectedLabel; LLColor4 mUnselectedLabelColor; |