diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-10-31 06:30:23 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-10-31 06:30:23 +0000 |
| commit | 60b016b7fc54a01c19a3ab9a6d127b0509c38f11 (patch) | |
| tree | 94f27fc6d5a812ec956eca77ed6dd95f045587f9 /src/Windowmenu.hh | |
| parent | 87e63d53af67d5ea98f55a27007663d4c9c8fc6c (diff) | |
no more menus, at last. woop
Diffstat (limited to 'src/Windowmenu.hh')
| -rw-r--r-- | src/Windowmenu.hh | 79 |
1 files changed, 0 insertions, 79 deletions
diff --git a/src/Windowmenu.hh b/src/Windowmenu.hh deleted file mode 100644 index 26c51457..00000000 --- a/src/Windowmenu.hh +++ /dev/null @@ -1,79 +0,0 @@ -// Windowmenu.hh for Blackbox - an X11 Window manager -// Copyright (c) 2001 Sean 'Shaleh' Perry <shaleh@debian.org> -// Copyright (c) 1997 - 2000 Brad Hughes (bhughes@tcac.net) -// -// Permission is hereby granted, free of charge, to any person obtaining a -// copy of this software and associated documentation files (the "Software"), -// to deal in the Software without restriction, including without limitation -// the rights to use, copy, modify, merge, publish, distribute, sublicense, -// and/or sell copies of the Software, and to permit persons to whom the -// Software is furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -// DEALINGS IN THE SOFTWARE. - -#ifndef __Windowmenu_hh -#define __Windowmenu_hh - -#include "Basemenu.hh" - -// forward declaration -class Windowmenu; -class SendtoWorkspaceMenu; - -class BlackboxWindow; - -class Windowmenu : public Basemenu { -private: - BlackboxWindow *window; - - class SendtoWorkspacemenu : public Basemenu { - private: - BlackboxWindow *window; - SendtoWorkspacemenu(const SendtoWorkspacemenu&); - SendtoWorkspacemenu& operator=(const SendtoWorkspacemenu&); - - protected: - virtual void itemSelected(int button, unsigned int index); - - public: - SendtoWorkspacemenu(Windowmenu *w); - - void update(void); - - virtual void show(void); - }; - - SendtoWorkspacemenu *sendToMenu; - - friend class SendtoWorkspacemenu; - - Windowmenu(const Windowmenu&); - Windowmenu& operator=(const Windowmenu&); - -protected: - virtual void itemSelected(int button, unsigned int index); - - -public: - Windowmenu(BlackboxWindow *win); - virtual ~Windowmenu(void); - - inline Basemenu *getSendToMenu(void) { return (Basemenu *) sendToMenu; } - - void reconfigure(void); - void setClosable(void); - - virtual void show(void); -}; - - -#endif // __Windowmenu_hh |
