aboutsummaryrefslogtreecommitdiff
path: root/src/CurrentWindowCmd.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/CurrentWindowCmd.hh')
-rw-r--r--src/CurrentWindowCmd.hh29
1 files changed, 27 insertions, 2 deletions
diff --git a/src/CurrentWindowCmd.hh b/src/CurrentWindowCmd.hh
index 18bcc45..c4c559b 100644
--- a/src/CurrentWindowCmd.hh
+++ b/src/CurrentWindowCmd.hh
@@ -20,7 +20,7 @@
20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21// DEALINGS IN THE SOFTWARE. 21// DEALINGS IN THE SOFTWARE.
22 22
23// $Id: CurrentWindowCmd.hh,v 1.5 2003/09/10 14:07:48 fluxgen Exp $ 23// $Id: CurrentWindowCmd.hh,v 1.6 2003/10/25 22:11:22 fluxgen Exp $
24 24
25#ifndef CURRENTWINDOWCMD_HH 25#ifndef CURRENTWINDOWCMD_HH
26#define CURRENTWINDOWCMD_HH 26#define CURRENTWINDOWCMD_HH
@@ -69,6 +69,7 @@ private:
69 const int m_workspace_num; 69 const int m_workspace_num;
70}; 70};
71 71
72// move cmd, relative position
72class MoveCmd: public WindowHelperCmd { 73class MoveCmd: public WindowHelperCmd {
73public: 74public:
74 explicit MoveCmd(const int step_size_x, const int step_size_y); 75 explicit MoveCmd(const int step_size_x, const int step_size_y);
@@ -80,7 +81,7 @@ private:
80 const int m_step_size_y; 81 const int m_step_size_y;
81}; 82};
82 83
83// resize cmd 84// resize cmd, relative size
84class ResizeCmd: public WindowHelperCmd{ 85class ResizeCmd: public WindowHelperCmd{
85public: 86public:
86 explicit ResizeCmd(int step_size_x, int step_size_y); 87 explicit ResizeCmd(int step_size_x, int step_size_y);
@@ -92,4 +93,28 @@ private:
92 const int m_step_size_x; 93 const int m_step_size_x;
93 const int m_step_size_y; 94 const int m_step_size_y;
94}; 95};
96
97class MoveToCmd: public WindowHelperCmd {
98public:
99 explicit MoveToCmd(const int step_size_x, const int step_size_y);
100protected:
101 void real_execute();
102
103private:
104 const int m_step_size_x;
105 const int m_step_size_y;
106};
107
108// resize cmd
109class ResizeToCmd: public WindowHelperCmd{
110public:
111 explicit ResizeToCmd(int step_size_x, int step_size_y);
112protected:
113 void real_execute();
114
115private:
116
117 const int m_step_size_x;
118 const int m_step_size_y;
119};
95#endif // CURRENTWINDOWCMD_HH 120#endif // CURRENTWINDOWCMD_HH