summaryrefslogtreecommitdiff
path: root/src/gui/widgets/textpreview.h
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2009-03-13 00:47:50 -0600
committerIra Rice <irarice@gmail.com>2009-03-13 00:47:50 -0600
commit011133ef09dd4340c7649100cea170e2595b6b2f (patch)
treee740199aa0f4edc3cba38d4b61c2239110e63e7d /src/gui/widgets/textpreview.h
parent9df0ea3ab0faeb3e9fce71dccb76624d7737798f (diff)
downloadmana-011133ef09dd4340c7649100cea170e2595b6b2f.tar.gz
mana-011133ef09dd4340c7649100cea170e2595b6b2f.tar.bz2
mana-011133ef09dd4340c7649100cea170e2595b6b2f.tar.xz
mana-011133ef09dd4340c7649100cea170e2595b6b2f.zip
Made the TextPreview widget respect alpha values.
Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/gui/widgets/textpreview.h')
-rw-r--r--src/gui/widgets/textpreview.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/widgets/textpreview.h b/src/gui/widgets/textpreview.h
index 7e7e461c..a73eb638 100644
--- a/src/gui/widgets/textpreview.h
+++ b/src/gui/widgets/textpreview.h
@@ -122,6 +122,7 @@ class TextPreview : public gcn::Widget
const gcn::Color* mTextColor;
const gcn::Color* mBGColor;
const gcn::Color* mTextBGColor;
+ static float mAlpha;
bool mOpaque;
bool mShadow;
bool mOutline;