summaryrefslogtreecommitdiff
path: root/indra/llui/lliconctrl.h
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2010-12-02 15:28:40 -0500
committerOz Linden <oz@lindenlab.com>2010-12-02 15:28:40 -0500
commit90a365ed2f13612d267a4eed9b54bd1b62edb7d5 (patch)
tree8e50ccd3db712740de388fa2a46b703a5c313567 /indra/llui/lliconctrl.h
parent7fedfda82504a8881b7d19d6c6f00fba849e615f (diff)
parentc1dbf70113274d543019778894f3e4017a174d7d (diff)
merge fix for STORM-673
Diffstat (limited to 'indra/llui/lliconctrl.h')
-rw-r--r--indra/llui/lliconctrl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llui/lliconctrl.h b/indra/llui/lliconctrl.h
index 79a8b0fb28..e9bdab2d47 100644
--- a/indra/llui/lliconctrl.h
+++ b/indra/llui/lliconctrl.h
@@ -48,6 +48,7 @@ public:
{
Optional<LLUIImage*> image;
Optional<LLUIColor> color;
+ Optional<bool> use_draw_context_alpha;
Ignored scale_image;
Params();
};
@@ -79,6 +80,10 @@ protected:
S32 mDrawWidth ;
S32 mDrawHeight ;
+ // If set to true (default), use the draw context transparency.
+ // If false, will use transparency returned by getCurrentTransparency(). See STORM-698.
+ bool mUseDrawContextAlpha;
+
private:
LLUIColor mColor;
LLPointer<LLUIImage> mImagep;