diff options
Diffstat (limited to 'src/CurrentWindowCmd.hh')
-rw-r--r-- | src/CurrentWindowCmd.hh | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/src/CurrentWindowCmd.hh b/src/CurrentWindowCmd.hh index 0ef7eca..34fba57 100644 --- a/src/CurrentWindowCmd.hh +++ b/src/CurrentWindowCmd.hh | |||
@@ -161,26 +161,34 @@ private: | |||
161 | 161 | ||
162 | class MoveToCmd: public WindowHelperCmd { | 162 | class MoveToCmd: public WindowHelperCmd { |
163 | public: | 163 | public: |
164 | explicit MoveToCmd(const int step_size_x, const int step_size_y); | 164 | enum { |
165 | LEFT = 1 << 0, | ||
166 | RIGHT = 1 << 1, | ||
167 | UPPER = 1 << 2, | ||
168 | LOWER = 1 << 3, | ||
169 | |||
170 | IGNORE_X = 1 << 8, | ||
171 | IGNORE_Y = 1 << 9 | ||
172 | }; | ||
173 | explicit MoveToCmd(const int step_size_x, const int step_size_y, const unsigned int refc); | ||
165 | protected: | 174 | protected: |
166 | void real_execute(); | 175 | void real_execute(); |
167 | 176 | ||
168 | private: | 177 | private: |
169 | const int m_step_size_x; | 178 | const int m_step_size_x; |
170 | const int m_step_size_y; | 179 | const int m_step_size_y; |
180 | const unsigned int m_refc; | ||
171 | }; | 181 | }; |
172 | 182 | ||
173 | // resize cmd | 183 | // resize cmd |
174 | class ResizeToCmd: public WindowHelperCmd{ | 184 | class ResizeToCmd: public WindowHelperCmd{ |
175 | public: | 185 | public: |
176 | explicit ResizeToCmd(int step_size_x, int step_size_y); | 186 | explicit ResizeToCmd(int step_size_x, int step_size_y); |
177 | protected: | 187 | protected: |
178 | void real_execute(); | 188 | void real_execute(); |
179 | |||
180 | private: | 189 | private: |
181 | 190 | const int m_step_size_x; | |
182 | const int m_step_size_x; | 191 | const int m_step_size_y; |
183 | const int m_step_size_y; | ||
184 | }; | 192 | }; |
185 | 193 | ||
186 | class FullscreenCmd: public WindowHelperCmd{ | 194 | class FullscreenCmd: public WindowHelperCmd{ |