aboutsummaryrefslogtreecommitdiff
path: root/src/Workspacemenu.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/Workspacemenu.hh')
-rw-r--r--src/Workspacemenu.hh26
1 files changed, 8 insertions, 18 deletions
diff --git a/src/Workspacemenu.hh b/src/Workspacemenu.hh
index e776f2b..e1b9996 100644
--- a/src/Workspacemenu.hh
+++ b/src/Workspacemenu.hh
@@ -1,3 +1,5 @@
1// Workspacemenu.hh for Fluxbox
2// Copyright (c) 2002 Henrik Kinnunen (fluxgen@linuxmail.org)
1// WorkspaceMenu.hh for Blackbox - an X11 Window manager 3// WorkspaceMenu.hh for Blackbox - an X11 Window manager
2// Copyright (c) 1997 - 2000 Brad Hughes (bhughes@tcac.net) 4// Copyright (c) 1997 - 2000 Brad Hughes (bhughes@tcac.net)
3// 5//
@@ -19,30 +21,18 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 21// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 22// DEALINGS IN THE SOFTWARE.
21 23
22#ifndef _WORKSPACEMENU_HH_ 24#ifndef WORKSPACEMENU_HH
23#define _WORKSPACEMENU_HH_ 25#define WORKSPACEMENU_HH
24
25// forward declaration
26class Workspacemenu;
27
28class Toolbar;
29 26
30#include "Basemenu.hh" 27#include "Basemenu.hh"
31 28
32
33class Workspacemenu : public Basemenu { 29class Workspacemenu : public Basemenu {
34private: 30public:
35 BScreen *screen; 31 Workspacemenu(BScreen *screen);
36
37 32
38protected: 33protected:
39 virtual void itemSelected(int, int); 34 virtual void itemSelected(int button, unsigned int index);
40 35
41
42public:
43 Workspacemenu(BScreen *);
44}; 36};
45 37
46 38#endif // WORKSPACEMENU_HH
47#endif // _WORKSPACEMENU_HH_
48