aboutsummaryrefslogtreecommitdiff
path: root/src/AlphaMenu.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/AlphaMenu.hh')
-rw-r--r--src/AlphaMenu.hh7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/AlphaMenu.hh b/src/AlphaMenu.hh
index 833b0d2..27f26dd 100644
--- a/src/AlphaMenu.hh
+++ b/src/AlphaMenu.hh
@@ -28,6 +28,10 @@
28#include "WindowMenuAccessor.hh" 28#include "WindowMenuAccessor.hh"
29#include "FbTk/MenuItem.hh" 29#include "FbTk/MenuItem.hh"
30 30
31namespace FbTk {
32 class IntMenuItem;
33}
34
31class AlphaMenu : public ToggleMenu { 35class AlphaMenu : public ToggleMenu {
32public: 36public:
33 AlphaMenu(FbTk::ThemeProxy<FbTk::MenuTheme> &tm, 37 AlphaMenu(FbTk::ThemeProxy<FbTk::MenuTheme> &tm,
@@ -36,6 +40,9 @@ public:
36 // we override these to update the menu when the active window changes 40 // we override these to update the menu when the active window changes
37 void move(int x, int y); 41 void move(int x, int y);
38 void show(); 42 void show();
43private:
44 FbTk::IntMenuItem* m_focused_alpha_item;
45 FbTk::IntMenuItem* m_unfocused_alpha_item;
39}; 46};
40 47
41class AlphaMenuSelectItem : public FbTk::MenuItem { 48class AlphaMenuSelectItem : public FbTk::MenuItem {