From 35b2305b62e106e5b0ca38200a50064287da99aa Mon Sep 17 00:00:00 2001 From: fluxgen Date: Sun, 26 Oct 2003 12:36:55 +0000 Subject: minor fix --- src/CurrentWindowCmd.cc | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/src/CurrentWindowCmd.cc b/src/CurrentWindowCmd.cc index 37e4782..4320f73 100644 --- a/src/CurrentWindowCmd.cc +++ b/src/CurrentWindowCmd.cc @@ -20,7 +20,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: CurrentWindowCmd.cc,v 1.7 2003/10/25 22:11:22 fluxgen Exp $ +// $Id: CurrentWindowCmd.cc,v 1.8 2003/10/26 12:36:55 fluxgen Exp $ #include "CurrentWindowCmd.hh" @@ -69,7 +69,7 @@ MoveCmd::MoveCmd(const int step_size_x, const int step_size_y) : void MoveCmd::real_execute() { fbwindow().move( fbwindow().x() + m_step_size_x, - fbwindow().y() + m_step_size_y ); + fbwindow().y() + m_step_size_y); } ResizeCmd::ResizeCmd(const int step_size_x, const int step_size_y) : @@ -77,24 +77,22 @@ ResizeCmd::ResizeCmd(const int step_size_x, const int step_size_y) : void ResizeCmd::real_execute() { fbwindow().resize( - fbwindow().width() + m_step_size_x * fbwindow().winClient().width_inc, - fbwindow().height() + m_step_size_y * fbwindow().winClient().height_inc ); + fbwindow().width() + + m_step_size_x * fbwindow().winClient().width_inc, + fbwindow().height() + + m_step_size_y * fbwindow().winClient().height_inc); } MoveToCmd::MoveToCmd(const int step_size_x, const int step_size_y) : - m_step_size_x(step_size_x), m_step_size_y(step_size_y) { } + m_step_size_x(step_size_x), m_step_size_y(step_size_y) { } void MoveToCmd::real_execute() { - fbwindow().move( - m_step_size_x, - m_step_size_y ); + fbwindow().move(m_step_size_x, m_step_size_y); } ResizeToCmd::ResizeToCmd(const int step_size_x, const int step_size_y) : - m_step_size_x(step_size_x), m_step_size_y(step_size_y) { } + m_step_size_x(step_size_x), m_step_size_y(step_size_y) { } void ResizeToCmd::real_execute() { - fbwindow().resize( - m_step_size_x * fbwindow().winClient().width_inc, - m_step_size_y * fbwindow().winClient().height_inc ); + fbwindow().resize(m_step_size_x, m_step_size_y); } -- cgit v0.11.2