aboutsummaryrefslogtreecommitdiff
path: root/src/CurrentWindowCmd.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/CurrentWindowCmd.hh')
-rw-r--r--src/CurrentWindowCmd.hh21
1 files changed, 19 insertions, 2 deletions
diff --git a/src/CurrentWindowCmd.hh b/src/CurrentWindowCmd.hh
index da929d5..53dc7b8 100644
--- a/src/CurrentWindowCmd.hh
+++ b/src/CurrentWindowCmd.hh
@@ -26,8 +26,7 @@
26#define CURRENTWINDOWCMD_HH 26#define CURRENTWINDOWCMD_HH
27 27
28#include "Command.hh" 28#include "Command.hh"
29 29#include "Window.hh"
30class FluxboxWindow;
31 30
32/// helper class for window commands 31/// helper class for window commands
33/// calls real_execute if there's a focused window or a window in button press/release window 32/// calls real_execute if there's a focused window or a window in button press/release window
@@ -131,6 +130,24 @@ private:
131 const int m_tab_num; 130 const int m_tab_num;
132}; 131};
133 132
133// begin moving with mouse
134class StartMovingCmd: public WindowHelperCmd {
135public:
136 StartMovingCmd() { }
137protected:
138 void real_execute();
139};
140
141// begin resizing with mouse
142class StartResizingCmd: public WindowHelperCmd {
143public:
144 explicit StartResizingCmd(FluxboxWindow::ResizeModel mode):m_mode(mode) { }
145protected:
146 void real_execute();
147private:
148 const FluxboxWindow::ResizeModel m_mode;
149};
150
134// move cmd, relative position 151// move cmd, relative position
135class MoveCmd: public WindowHelperCmd { 152class MoveCmd: public WindowHelperCmd {
136public: 153public: