diff options
author | fluxgen <fluxgen> | 2003-08-19 23:37:31 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-08-19 23:37:31 (GMT) |
commit | 5749014fa76f6019d0507776bcadec12bae54635 (patch) | |
tree | 5c846471ba97eec7822cd08dfc11ab7c840dddc9 /src/CurrentWindowCmd.cc | |
parent | 6d1ac53b5f99c098b149e472143d46df68378347 (diff) | |
download | fluxbox_paul-5749014fa76f6019d0507776bcadec12bae54635.zip fluxbox_paul-5749014fa76f6019d0507776bcadec12bae54635.tar.bz2 |
added resizehorizontal and resizevertical, patch from Mathias Gumz
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 | |||