diff options
Diffstat (limited to 'src/CurrentWindowCmd.cc')
-rw-r--r-- | src/CurrentWindowCmd.cc | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/CurrentWindowCmd.cc b/src/CurrentWindowCmd.cc index b8913bb..6906926 100644 --- a/src/CurrentWindowCmd.cc +++ b/src/CurrentWindowCmd.cc | |||
@@ -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.cc,v 1.3 2003/07/28 15:06:33 rathnor Exp $ | 23 | // $Id: CurrentWindowCmd.cc,v 1.4 2003/08/19 23:37:31 fluxgen Exp $ |
24 | 24 | ||
25 | #include "CurrentWindowCmd.hh" | 25 | #include "CurrentWindowCmd.hh" |
26 | 26 | ||
@@ -85,3 +85,13 @@ void MoveUpCmd::real_execute() { | |||
85 | fbwindow().move(fbwindow().x(), fbwindow().y() - stepSize()); | 85 | fbwindow().move(fbwindow().x(), fbwindow().y() - stepSize()); |
86 | } | 86 | } |
87 | 87 | ||
88 | ResizeHorizontalCmd::ResizeHorizontalCmd(int step_size):MoveHelper(step_size) { } | ||
89 | void ResizeHorizontalCmd::real_execute() { | ||
90 | fbwindow().resize(fbwindow().width() + stepSize() * fbwindow().winClient().width_inc, fbwindow().height()); | ||
91 | } | ||
92 | |||
93 | ResizeVerticalCmd::ResizeVerticalCmd(int step_size):MoveHelper(step_size) { } | ||
94 | void ResizeVerticalCmd::real_execute() { | ||
95 | fbwindow().resize(fbwindow().width(), fbwindow().height() + stepSize() * fbwindow().winClient().height_inc); | ||
96 | } | ||
97 | |||