diff options
author | fluxgen <fluxgen> | 2003-01-12 19:19:31 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-01-12 19:19:31 (GMT) |
commit | 60073cee69c6d312dab4508c92fce0fdff5140b2 (patch) | |
tree | bf4a2aebd8b8179b4ae55fca670df0611ca1854c /src/Configmenu.hh | |
parent | 6fda6d83face1fd7af864ac519209c677ca90e1e (diff) | |
download | fluxbox-60073cee69c6d312dab4508c92fce0fdff5140b2.zip fluxbox-60073cee69c6d312dab4508c92fce0fdff5140b2.tar.bz2 |
removed
Diffstat (limited to 'src/Configmenu.hh')
-rw-r--r-- | src/Configmenu.hh | 83 |
1 files changed, 0 insertions, 83 deletions
diff --git a/src/Configmenu.hh b/src/Configmenu.hh deleted file mode 100644 index 6f79a21..0000000 --- a/src/Configmenu.hh +++ /dev/null | |||
@@ -1,83 +0,0 @@ | |||
1 | // Configmenu.hh for Fluxbox Window Manager | ||
2 | // Copyright (c) 2001 - 2002 Henrik Kinnunen (fluxgen@linuxmail.org) | ||
3 | // | ||
4 | // Configmenu.hh for Blackbox - An X11 Window Manager | ||
5 | // Copyright (c) 1997 - 2000 Brad Hughes (bhughes@tcac.net) | ||
6 | // | ||
7 | // Permission is hereby granted, free of charge, to any person obtaining a | ||
8 | // copy of this software and associated documentation files (the "Software"), | ||
9 | // to deal in the Software without restriction, including without limitation | ||
10 | // the rights to use, copy, modify, merge, publish, distribute, sublicense, | ||
11 | // and/or sell copies of the Software, and to permit persons to whom the | ||
12 | // Software is furnished to do so, subject to the following conditions: | ||
13 | // | ||
14 | // The above copyright notice and this permission notice shall be included in | ||
15 | // all copies or substantial portions of the Software. | ||
16 | // | ||
17 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
18 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
19 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL | ||
20 | // THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
21 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | ||
22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | ||
23 | // DEALINGS IN THE SOFTWARE. | ||
24 | |||
25 | // $Id: Configmenu.hh,v 1.7 2002/12/01 13:41:55 rathnor Exp $ | ||
26 | |||
27 | #ifndef CONFIGMENU_HH | ||
28 | #define CONFIGMENU_HH | ||
29 | |||
30 | #include "Basemenu.hh" | ||
31 | |||
32 | class BScreen; | ||
33 | |||
34 | class Configmenu : public Basemenu { | ||
35 | public: | ||
36 | explicit Configmenu(BScreen *scr); | ||
37 | virtual ~Configmenu(); | ||
38 | |||
39 | Basemenu &focusmenu() { return m_focusmenu; } | ||
40 | Basemenu &getPlacementmenu() { return m_placementmenu; } | ||
41 | Basemenu &getTabmenu() { return m_tabmenu; } | ||
42 | |||
43 | const Basemenu &focusmenu() const { return m_focusmenu; } | ||
44 | const Basemenu &placementmenu() const { return m_placementmenu; } | ||
45 | const Basemenu &tabmenu() const { return m_tabmenu; } | ||
46 | |||
47 | void reconfigure(); | ||
48 | |||
49 | protected: | ||
50 | virtual void itemSelected(int button, unsigned int index); | ||
51 | |||
52 | private: | ||
53 | class Focusmenu : public Basemenu { | ||
54 | public: | ||
55 | explicit Focusmenu(BScreen *scr); | ||
56 | protected: | ||
57 | virtual void itemSelected(int button, unsigned int index); | ||
58 | }; | ||
59 | |||
60 | class Placementmenu : public Basemenu { | ||
61 | public: | ||
62 | explicit Placementmenu(BScreen *scr); | ||
63 | |||
64 | protected: | ||
65 | virtual void itemSelected(int button, unsigned int index); | ||
66 | }; | ||
67 | |||
68 | class Tabmenu : public Basemenu { | ||
69 | public: | ||
70 | explicit Tabmenu(BScreen *scr); | ||
71 | protected: | ||
72 | virtual void itemSelected(int button, unsigned int index); | ||
73 | private: | ||
74 | void setSelected(); | ||
75 | }; | ||
76 | |||
77 | Focusmenu m_focusmenu; | ||
78 | Placementmenu m_placementmenu; | ||
79 | Tabmenu m_tabmenu; | ||
80 | }; | ||
81 | |||
82 | |||
83 | #endif // _CONFIGMENU_HH_ | ||