From d6e2f5d0ee329a90ca06916007467b19c8026c16 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Thu, 14 Nov 2002 10:31:10 +0000 Subject: cleaning --- src/Rootmenu.hh | 28 +++++++++++----------------- 1 file 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 @@ +// Rootmenu.hh for fluxbox +// Copyright (c) 2002 Henrik Kinnunen (fluxgen at linuxmail.org) +// // Rootmenu.hh for Blackbox - an X11 Window manager // Copyright (c) 1997 - 2000 Brad Hughes (bhughes@tcac.net) // @@ -22,32 +25,23 @@ #ifndef ROOTMENU_HH #define ROOTMENU_HH -// forward declarations -class Rootmenu; -class BScreen; - #include "Basemenu.hh" - -class Rootmenu : public Basemenu { -private: - BScreen *screen; - Window auto_group_window; - +class Rootmenu: public Basemenu { +public: + explicit Rootmenu(BScreen *scr); + void setAutoGroupWindow(Window window); + void show(); protected: virtual void itemSelected(int button, unsigned int index); - -public: - Rootmenu(BScreen *); - void setAutoGroupWindow(Window window); - - private: Window useAutoGroupWindow(); + Window auto_group_window; + }; -#endif // _ROOTMENU_HH_ +#endif // ROOTMENU_HH -- cgit v0.11.2