diff options
Diffstat (limited to 'src/AlphaMenu.cc')
-rw-r--r-- | src/AlphaMenu.cc | 10 |
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 | ||