diff options
author | Ira Rice <irarice@gmail.com> | 2009-03-12 22:07:29 -0600 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-03-12 22:07:29 -0600 |
commit | 14fbd95172a6c41abc8e985680c684c40e9e50a8 (patch) | |
tree | 1a8a5c36af80a6a5ebd328cf9fbca025f020b625 /src/gui/setup_colors.cpp | |
parent | f0d5e3da15a308fcc962590330e7d8e39e8874b9 (diff) | |
download | Mana-14fbd95172a6c41abc8e985680c684c40e9e50a8.tar.gz Mana-14fbd95172a6c41abc8e985680c684c40e9e50a8.tar.bz2 Mana-14fbd95172a6c41abc8e985680c684c40e9e50a8.tar.xz Mana-14fbd95172a6c41abc8e985680c684c40e9e50a8.zip |
Added in option for opacity for the text preview widget, which all of
the other widgets have as well. Also set the preview widget to have
opacity off, like all of the other widgets (if it is on, then opacity
can't be applied to it. Also looks rather tacky with it)
Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/gui/setup_colors.cpp')
-rw-r--r-- | src/gui/setup_colors.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gui/setup_colors.cpp b/src/gui/setup_colors.cpp index 5019a61a..f0f7a529 100644 --- a/src/gui/setup_colors.cpp +++ b/src/gui/setup_colors.cpp @@ -60,7 +60,7 @@ Setup_Colors::Setup_Colors() : mTextPreview = new TextPreview(&rawmsg); mPreview = new BrowserBox(BrowserBox::AUTO_WRAP); - mPreview->setOpaque(true); + mPreview->setOpaque(false); // Replace this later with a more appropriate link handler. For now, this'll // do, as it'll do nothing when clicked on. @@ -212,8 +212,6 @@ void Setup_Colors::action(const gcn::ActionEvent &event) case Palette::HYPERLINK: mPreviewBox->setContent(mPreview); mPreview->clearRows(); - //char ch = guiPalette->getColorCharAt(mSelected); - //std::string msg; if (ch == '<') { |