summaryrefslogtreecommitdiff
path: root/src/CurrentWindowCmd.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-08-19 23:37:31 (GMT)
committerfluxgen <fluxgen>2003-08-19 23:37:31 (GMT)
commit5749014fa76f6019d0507776bcadec12bae54635 (patch)
tree5c846471ba97eec7822cd08dfc11ab7c840dddc9 /src/CurrentWindowCmd.cc
parent6d1ac53b5f99c098b149e472143d46df68378347 (diff)
downloadfluxbox_lack-5749014fa76f6019d0507776bcadec12bae54635.zip
fluxbox_lack-5749014fa76f6019d0507776bcadec12bae54635.tar.bz2
added resizehorizontal and resizevertical, patch from Mathias Gumz
Diffstat (limited to 'src/CurrentWindowCmd.cc')
-rw-r--r--src/CurrentWindowCmd.cc12
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
88ResizeHorizontalCmd::ResizeHorizontalCmd(int step_size):MoveHelper(step_size) { }
89void ResizeHorizontalCmd::real_execute() {
90 fbwindow().resize(fbwindow().width() + stepSize() * fbwindow().winClient().width_inc, fbwindow().height());
91}
92
93ResizeVerticalCmd::ResizeVerticalCmd(int step_size):MoveHelper(step_size) { }
94void ResizeVerticalCmd::real_execute() {
95 fbwindow().resize(fbwindow().width(), fbwindow().height() + stepSize() * fbwindow().winClient().height_inc);
96}
97