aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-11-14 10:31:10 (GMT)
committerfluxgen <fluxgen>2002-11-14 10:31:10 (GMT)
commitd6e2f5d0ee329a90ca06916007467b19c8026c16 (patch)
treecf6fa9d9f8c41903b988deeffc6e8fc60222a4d0 /src
parentd6ed5970a8f91d42d75dc7106a4ba03e0da23f97 (diff)
downloadfluxbox_pavel-d6e2f5d0ee329a90ca06916007467b19c8026c16.zip
fluxbox_pavel-d6e2f5d0ee329a90ca06916007467b19c8026c16.tar.bz2
cleaning
Diffstat (limited to 'src')
-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