diff options
-rw-r--r-- | src/Windowmenu.hh | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/src/Windowmenu.hh b/src/Windowmenu.hh index b4b9781..5e167ed 100644 --- a/src/Windowmenu.hh +++ b/src/Windowmenu.hh | |||
@@ -19,8 +19,8 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | #ifndef WINDOWMENU_HH | 22 | #ifndef WINDOWMENU_HH |
23 | #define WINDOWMENU_HH | 23 | #define WINDOWMENU_HH |
24 | 24 | ||
25 | // forward declaration | 25 | // forward declaration |
26 | class Windowmenu; | 26 | class Windowmenu; |
@@ -35,24 +35,24 @@ class Toolbar; | |||
35 | 35 | ||
36 | class Windowmenu : public Basemenu { | 36 | class Windowmenu : public Basemenu { |
37 | private: | 37 | private: |
38 | FluxboxWindow *window; | 38 | FluxboxWindow *window; |
39 | BScreen *screen; | 39 | BScreen *screen; |
40 | 40 | ||
41 | 41 | ||
42 | class SendtoWorkspacemenu : public Basemenu { | 42 | class SendtoWorkspacemenu : public Basemenu { |
43 | private: | 43 | private: |
44 | Windowmenu *windowmenu; | 44 | Windowmenu *windowmenu; |
45 | 45 | ||
46 | protected: | 46 | protected: |
47 | virtual void itemSelected(int, int); | 47 | virtual void itemSelected(int, int); |
48 | 48 | ||
49 | public: | 49 | public: |
50 | SendtoWorkspacemenu(Windowmenu *); | 50 | SendtoWorkspacemenu(Windowmenu *); |
51 | inline Windowmenu *getWindowMenu() const { return windowmenu; } | 51 | inline Windowmenu *getWindowMenu() const { return windowmenu; } |
52 | void update(void); | 52 | void update(void); |
53 | 53 | ||
54 | virtual void show(void); | 54 | virtual void show(void); |
55 | }; | 55 | }; |
56 | 56 | ||
57 | class SendGroupToWorkspacemenu : public SendtoWorkspacemenu { | 57 | class SendGroupToWorkspacemenu : public SendtoWorkspacemenu { |
58 | protected: | 58 | protected: |
@@ -62,26 +62,26 @@ private: | |||
62 | 62 | ||
63 | }; | 63 | }; |
64 | 64 | ||
65 | SendtoWorkspacemenu *sendToMenu; | 65 | SendtoWorkspacemenu *sendToMenu; |
66 | SendGroupToWorkspacemenu *sendGroupToMenu; | 66 | SendGroupToWorkspacemenu *sendGroupToMenu; |
67 | 67 | ||
68 | friend class SendtoWorkspacemenu; | 68 | friend class SendtoWorkspacemenu; |
69 | friend class SendGroupToWorkspacemenu; | 69 | friend class SendGroupToWorkspacemenu; |
70 | 70 | ||
71 | protected: | 71 | protected: |
72 | virtual void itemSelected(int, int); | 72 | virtual void itemSelected(int, int); |
73 | 73 | ||
74 | 74 | ||
75 | public: | 75 | public: |
76 | Windowmenu(FluxboxWindow *); | 76 | Windowmenu(FluxboxWindow *); |
77 | virtual ~Windowmenu(void); | 77 | virtual ~Windowmenu(void); |
78 | 78 | ||
79 | inline Basemenu *getSendToMenu(void) { return static_cast<Basemenu *>(sendToMenu); } | 79 | inline Basemenu *getSendToMenu(void) { return static_cast<Basemenu *>(sendToMenu); } |
80 | inline Basemenu *getSendGroupToMenu(void) { return static_cast<Basemenu *>(sendGroupToMenu); } | 80 | inline Basemenu *getSendGroupToMenu(void) { return static_cast<Basemenu *>(sendGroupToMenu); } |
81 | void reconfigure(void); | 81 | void reconfigure(void); |
82 | void setClosable(void); | 82 | void setClosable(void); |
83 | 83 | ||
84 | virtual void show(void); | 84 | virtual void show(void); |
85 | }; | 85 | }; |
86 | 86 | ||
87 | 87 | ||