diff options
author | fluxgen <fluxgen> | 2002-11-14 10:31:10 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2002-11-14 10:31:10 (GMT) |
commit | d6e2f5d0ee329a90ca06916007467b19c8026c16 (patch) | |
tree | cf6fa9d9f8c41903b988deeffc6e8fc60222a4d0 | |
parent | d6ed5970a8f91d42d75dc7106a4ba03e0da23f97 (diff) | |
download | fluxbox_paul-d6e2f5d0ee329a90ca06916007467b19c8026c16.zip fluxbox_paul-d6e2f5d0ee329a90ca06916007467b19c8026c16.tar.bz2 |
cleaning
-rw-r--r-- | src/Rootmenu.hh | 28 |
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 | ||
26 | class Rootmenu; | ||
27 | class BScreen; | ||
28 | |||
29 | #include "Basemenu.hh" | 28 | #include "Basemenu.hh" |
30 | 29 | ||
31 | 30 | class Rootmenu: public Basemenu { | |
32 | class Rootmenu : public Basemenu { | 31 | public: |
33 | private: | 32 | explicit Rootmenu(BScreen *scr); |
34 | BScreen *screen; | 33 | void setAutoGroupWindow(Window window); |
35 | Window auto_group_window; | 34 | void show(); |
36 | |||
37 | 35 | ||
38 | protected: | 36 | protected: |
39 | virtual void itemSelected(int button, unsigned int index); | 37 | virtual void itemSelected(int button, unsigned int index); |
40 | 38 | ||
41 | |||
42 | public: | ||
43 | Rootmenu(BScreen *); | ||
44 | void setAutoGroupWindow(Window window); | ||
45 | |||
46 | |||
47 | private: | 39 | private: |
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 | ||