summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Rootmenu.hh28
1 files changed, 11 insertions, 17 deletions
diff --git a/src/Rootmenu.hh b/src/Rootmenu.hh
index 16efb62..0ac83f8 100644
--- a/src/Rootmenu.hh
+++ b/src/Rootmenu.hh
@@ -1,3 +1,6 @@
1// Rootmenu.hh for fluxbox
2// Copyright (c) 2002 Henrik Kinnunen (fluxgen at linuxmail.org)
3//
1// Rootmenu.hh for Blackbox - an X11 Window manager 4// Rootmenu.hh for Blackbox - an X11 Window manager
2// Copyright (c) 1997 - 2000 Brad Hughes (bhughes@tcac.net) 5// Copyright (c) 1997 - 2000 Brad Hughes (bhughes@tcac.net)
3// 6//
@@ -22,32 +25,23 @@
22#ifndef ROOTMENU_HH 25#ifndef ROOTMENU_HH
23#define ROOTMENU_HH 26#define ROOTMENU_HH
24 27
25// forward declarations
26class Rootmenu;
27class BScreen;
28
29#include "Basemenu.hh" 28#include "Basemenu.hh"
30 29
31 30class Rootmenu: public Basemenu {
32class Rootmenu : public Basemenu { 31public:
33private: 32 explicit Rootmenu(BScreen *scr);
34 BScreen *screen; 33 void setAutoGroupWindow(Window window);
35 Window auto_group_window; 34 void show();
36
37 35
38protected: 36protected:
39 virtual void itemSelected(int button, unsigned int index); 37 virtual void itemSelected(int button, unsigned int index);
40 38
41
42public:
43 Rootmenu(BScreen *);
44 void setAutoGroupWindow(Window window);
45
46
47private: 39private:
48 Window useAutoGroupWindow(); 40 Window useAutoGroupWindow();
41 Window auto_group_window;
42
49}; 43};
50 44
51 45
52#endif // _ROOTMENU_HH_ 46#endif // ROOTMENU_HH
53 47