aboutsummaryrefslogtreecommitdiff
path: root/src/Screen.hh
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2004-01-11 16:06:22 (GMT)
committerfluxgen <fluxgen>2004-01-11 16:06:22 (GMT)
commit3af441d3ef082111b5718a3ea76de7b6ab102225 (patch)
treeab90a178ff9ee738c426eb7bc1509b31eb42d9a5 /src/Screen.hh
parentfabfc410029cfd606729dfd118e50dc336abf010 (diff)
downloadfluxbox-3af441d3ef082111b5718a3ea76de7b6ab102225.zip
fluxbox-3af441d3ef082111b5718a3ea76de7b6ab102225.tar.bz2
hideMenus function, hides all menus on current screen
Diffstat (limited to 'src/Screen.hh')
-rw-r--r--src/Screen.hh5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Screen.hh b/src/Screen.hh
index 114957e..0b606a8 100644
--- a/src/Screen.hh
+++ b/src/Screen.hh
@@ -1,5 +1,5 @@
1// Screen.hh for Fluxbox Window Manager 1// Screen.hh for Fluxbox Window Manager
2// Copyright (c) 2001 - 2003 Henrik Kinnunen (fluxgen at users.sourceforge.net) 2// Copyright (c) 2001 - 2004 Henrik Kinnunen (fluxgen at users.sourceforge.net)
3// 3//
4// Screen.hh for Blackbox - an X11 Window manager 4// Screen.hh for Blackbox - an X11 Window manager
5// Copyright (c) 1997 - 2000 Brad Hughes (bhughes at tcac.net) 5// Copyright (c) 1997 - 2000 Brad Hughes (bhughes at tcac.net)
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: Screen.hh,v 1.131 2003/12/30 17:57:12 fluxgen Exp $ 25// $Id: Screen.hh,v 1.132 2004/01/11 16:05:55 fluxgen Exp $
26 26
27#ifndef SCREEN_HH 27#ifndef SCREEN_HH
28#define SCREEN_HH 28#define SCREEN_HH
@@ -172,6 +172,7 @@ public:
172 void update(FbTk::Subject *subj); 172 void update(FbTk::Subject *subj);
173 173
174 FbTk::Menu *createMenu(const std::string &label); 174 FbTk::Menu *createMenu(const std::string &label);
175 void hideMenus();
175 176
176 /// @return the resource value of number of workspace 177 /// @return the resource value of number of workspace
177 inline int getNumberOfWorkspaces() const { return *resource.workspaces; } 178 inline int getNumberOfWorkspaces() const { return *resource.workspaces; }