aboutsummaryrefslogtreecommitdiff
path: root/src/Workspacemenu.hh
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-02-27 23:43:41 (GMT)
committerfluxgen <fluxgen>2002-02-27 23:43:41 (GMT)
commit188d53a879f1c61c95f0c281c3100b08e57df2f4 (patch)
treeaaa6ab9d77dc9f337727258bd8caea62dc7d4208 /src/Workspacemenu.hh
parent0cba1e7dffae670d1a4bbaa6fb300d6888f1e7ce (diff)
downloadfluxbox_pavel-188d53a879f1c61c95f0c281c3100b08e57df2f4.zip
fluxbox_pavel-188d53a879f1c61c95f0c281c3100b08e57df2f4.tar.bz2
added remove/add workspace
Diffstat (limited to 'src/Workspacemenu.hh')
-rw-r--r--src/Workspacemenu.hh12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/Workspacemenu.hh b/src/Workspacemenu.hh
index fc18654..80732b2 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//
@@ -22,24 +24,20 @@
22#ifndef WORKSPACEMENU_HH 24#ifndef WORKSPACEMENU_HH
23#define WORKSPACEMENU_HH 25#define WORKSPACEMENU_HH
24 26
25// forward declaration
26class Workspacemenu;
27class Toolbar;
28
29#include "Basemenu.hh" 27#include "Basemenu.hh"
30 28class Workspace;
31 29
32class Workspacemenu : public Basemenu { 30class Workspacemenu : public Basemenu {
33private: 31private:
34 BScreen *screen; 32 BScreen *screen;
35 33
36
37protected: 34protected:
38 virtual void itemSelected(int, int); 35 virtual void itemSelected(int, int);
39 36
40
41public: 37public:
42 Workspacemenu(BScreen *); 38 Workspacemenu(BScreen *);
39 void removeWorkspace(unsigned int id);
40 void addWorkspace(Workspace *wkspc);
43}; 41};
44 42
45 43