aboutsummaryrefslogtreecommitdiff
path: root/src/Screen.cc
diff options
context:
space:
mode:
authorrathnor <rathnor>2003-07-19 03:59:56 (GMT)
committerrathnor <rathnor>2003-07-19 03:59:56 (GMT)
commita827c24e36aa3cf42566fe44dde5848df7679d14 (patch)
treec92a16e1fa0eab7feb6c5f0caeee5b2e11460443 /src/Screen.cc
parent2e3bd41f4e0e5d10c65888b277f944d75938fab8 (diff)
downloadfluxbox-a827c24e36aa3cf42566fe44dde5848df7679d14.zip
fluxbox-a827c24e36aa3cf42566fe44dde5848df7679d14.tar.bz2
fix alpha setting for menus when multiple screens by moving from static in menu
to part of MenuTheme
Diffstat (limited to 'src/Screen.cc')
-rw-r--r--src/Screen.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Screen.cc b/src/Screen.cc
index 64ce672..2e05b9c 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: Screen.cc,v 1.203 2003/07/18 15:40:55 rathnor Exp $ 25// $Id: Screen.cc,v 1.204 2003/07/19 03:59:55 rathnor Exp $
26 26
27 27
28#include "Screen.hh" 28#include "Screen.hh"
@@ -341,7 +341,7 @@ BScreen::BScreen(FbTk::ResourceManager &rm,
341 // load this screens resources 341 // load this screens resources
342 fluxbox->load_rc(*this); 342 fluxbox->load_rc(*this);
343 343
344 FbTk::Menu::setAlpha(*resource.menu_alpha); 344 m_menutheme->setAlpha(*resource.menu_alpha);
345 345
346 imageControl().setDither(*resource.image_dither); 346 imageControl().setDither(*resource.image_dither);
347 347
@@ -594,7 +594,7 @@ void BScreen::reconfigure() {
594#ifdef DEBUG 594#ifdef DEBUG
595 cerr<<__FILE__<<"("<<__LINE__<<"): BScreen::reconfigure"<<endl; 595 cerr<<__FILE__<<"("<<__LINE__<<"): BScreen::reconfigure"<<endl;
596#endif // DEBUG 596#endif // DEBUG
597 FbTk::Menu::setAlpha(*resource.menu_alpha); 597 m_menutheme->setAlpha(*resource.menu_alpha);
598 Fluxbox::instance()->loadRootCommand(*this); 598 Fluxbox::instance()->loadRootCommand(*this);
599 599
600 // setup windowtheme, toolbartheme for antialias 600 // setup windowtheme, toolbartheme for antialias