aboutsummaryrefslogtreecommitdiff
path: root/src/AlphaMenu.cc
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2008-05-28 09:32:57 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2008-05-28 09:32:57 (GMT)
commit467fefaae453e0c1eae0340f1d1d7d89eafd3e22 (patch)
treed0dfbeae07795965a27a860adb8f1fe65ab0b57c /src/AlphaMenu.cc
parent130012c01056250e969d02bc82a26e4a28899e1a (diff)
downloadfluxbox-467fefaae453e0c1eae0340f1d1d7d89eafd3e22.zip
fluxbox-467fefaae453e0c1eae0340f1d1d7d89eafd3e22.tar.bz2
more more fun with the window menu
Diffstat (limited to 'src/AlphaMenu.cc')
-rw-r--r--src/AlphaMenu.cc10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/AlphaMenu.cc b/src/AlphaMenu.cc
index ef67956..03aca47 100644
--- a/src/AlphaMenu.cc
+++ b/src/AlphaMenu.cc
@@ -23,10 +23,8 @@
23#include "AlphaMenu.hh" 23#include "AlphaMenu.hh"
24 24
25#include "Window.hh" 25#include "Window.hh"
26#include "WindowCmd.hh"
27#include "Screen.hh" 26#include "Screen.hh"
28#include "Workspace.hh" 27#include "Workspace.hh"
29#include "WindowCmd.hh"
30#include "fluxbox.hh" 28#include "fluxbox.hh"
31#include "Layer.hh" 29#include "Layer.hh"
32#include "FbTk/IntMenuItem.hh" 30#include "FbTk/IntMenuItem.hh"
@@ -39,10 +37,10 @@ AlphaMenu::AlphaMenu(FbTk::ThemeProxy<FbTk::MenuTheme> &tm,
39 ToggleMenu(tm, imgctrl, layer) 37 ToggleMenu(tm, imgctrl, layer)
40{ 38{
41 39
42 static WindowAccessor<int> m_focused_alpha((WindowAccessor<int>::Getter)&FluxboxWindow::getFocusedAlpha, 40 static WindowMenuAccessor<int> m_focused_alpha((WindowMenuAccessor<int>::Getter)&FluxboxWindow::getFocusedAlpha,
43 (WindowAccessor<int>::Setter)&FluxboxWindow::setFocusedAlpha, 255); 41 (WindowMenuAccessor<int>::Setter)&FluxboxWindow::setFocusedAlpha, 255);
44 static WindowAccessor<int> m_unfocused_alpha((WindowAccessor<int>::Getter)&FluxboxWindow::getUnfocusedAlpha, 42 static WindowMenuAccessor<int> m_unfocused_alpha((WindowMenuAccessor<int>::Getter)&FluxboxWindow::getUnfocusedAlpha,
45 (WindowAccessor<int>::Setter)&FluxboxWindow::setUnfocusedAlpha, 255); 43 (WindowMenuAccessor<int>::Setter)&FluxboxWindow::setUnfocusedAlpha, 255);
46 44
47 _FB_USES_NLS; 45 _FB_USES_NLS;
48 46