diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2008-05-28 09:32:57 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2008-05-28 09:32:57 (GMT) |
commit | 467fefaae453e0c1eae0340f1d1d7d89eafd3e22 (patch) | |
tree | d0dfbeae07795965a27a860adb8f1fe65ab0b57c /src/AlphaMenu.hh | |
parent | 130012c01056250e969d02bc82a26e4a28899e1a (diff) | |
download | fluxbox-467fefaae453e0c1eae0340f1d1d7d89eafd3e22.zip fluxbox-467fefaae453e0c1eae0340f1d1d7d89eafd3e22.tar.bz2 |
more more fun with the window menu
Diffstat (limited to 'src/AlphaMenu.hh')
-rw-r--r-- | src/AlphaMenu.hh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/AlphaMenu.hh b/src/AlphaMenu.hh index 41580c3..833b0d2 100644 --- a/src/AlphaMenu.hh +++ b/src/AlphaMenu.hh | |||
@@ -25,6 +25,7 @@ | |||
25 | 25 | ||
26 | #include "ToggleMenu.hh" | 26 | #include "ToggleMenu.hh" |
27 | #include "WindowCmd.hh" | 27 | #include "WindowCmd.hh" |
28 | #include "WindowMenuAccessor.hh" | ||
28 | #include "FbTk/MenuItem.hh" | 29 | #include "FbTk/MenuItem.hh" |
29 | 30 | ||
30 | class AlphaMenu : public ToggleMenu { | 31 | class AlphaMenu : public ToggleMenu { |
@@ -47,7 +48,7 @@ public: | |||
47 | } | 48 | } |
48 | 49 | ||
49 | bool isSelected() const { | 50 | bool isSelected() const { |
50 | static ConstWindowAccessor<bool> s_is_default(&FluxboxWindow::getUseDefaultAlpha, true); | 51 | static ConstWindowMenuAccessor<bool> s_is_default(&FluxboxWindow::getUseDefaultAlpha, true); |
51 | return s_is_default; | 52 | return s_is_default; |
52 | } | 53 | } |
53 | void click(int button, int time, unsigned int mods) { | 54 | void click(int button, int time, unsigned int mods) { |