diff options
author | fluxgen <fluxgen> | 2003-09-06 15:43:27 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-09-06 15:43:27 (GMT) |
commit | 39abccae4af9d290de33c7f7877f4f4af92c6db8 (patch) | |
tree | 4d313b4f1629ce3a668a24dccdcd28ae439b2af2 /src/CurrentWindowCmd.hh | |
parent | d75ac0afcc21375081000cbcb3bee763c90c8d08 (diff) | |
download | fluxbox_pavel-39abccae4af9d290de33c7f7877f4f4af92c6db8.zip fluxbox_pavel-39abccae4af9d290de33c7f7877f4f4af92c6db8.tar.bz2 |
resize command
Diffstat (limited to 'src/CurrentWindowCmd.hh')
-rw-r--r-- | src/CurrentWindowCmd.hh | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/src/CurrentWindowCmd.hh b/src/CurrentWindowCmd.hh index 7927add..05015a0 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.3 2003/08/19 23:37:31 fluxgen Exp $ | 23 | // $Id: CurrentWindowCmd.hh,v 1.4 2003/09/06 15:43:27 fluxgen Exp $ |
24 | 24 | ||
25 | #ifndef CURRENTWINDOWCMD_HH | 25 | #ifndef CURRENTWINDOWCMD_HH |
26 | #define CURRENTWINDOWCMD_HH | 26 | #define CURRENTWINDOWCMD_HH |
@@ -110,19 +110,16 @@ protected: | |||
110 | void real_execute(); | 110 | void real_execute(); |
111 | }; | 111 | }; |
112 | 112 | ||
113 | // resize vertical | ||
114 | class ResizeVerticalCmd: public MoveHelper { | ||
115 | public: | ||
116 | explicit ResizeVerticalCmd(int step_size); | ||
117 | protected: | ||
118 | void real_execute(); | ||
119 | }; | ||
120 | |||
121 | // resize horizontal | 113 | // resize horizontal |
122 | class ResizeHorizontalCmd: public MoveHelper{ | 114 | class ResizeCmd: public WindowHelperCmd{ |
123 | public: | 115 | public: |
124 | explicit ResizeHorizontalCmd(int step_size); | 116 | explicit ResizeCmd(int step_size_x, int step_size_y); |
125 | protected: | 117 | protected: |
126 | void real_execute(); | 118 | void real_execute(); |
119 | |||
120 | private: | ||
121 | |||
122 | const int m_step_size_x; | ||
123 | const int m_step_size_y; | ||
127 | }; | 124 | }; |
128 | #endif // CURRENTWINDOWCMD_HH | 125 | #endif // CURRENTWINDOWCMD_HH |