From bea6e5f78d38417ea64c283236eee72ecdcaf502 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 14 Apr 2002 18:28:11 +0000 Subject: changed OpenboxWindow to not have getFrameX/getWidth/etc functions, and to return Origins and Sizes and Rects, in fuctions like size(), origin(), and area(). --- src/Geometry.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/Geometry.cc') diff --git a/src/Geometry.cc b/src/Geometry.cc index e9fa2b9e..e09058d5 100644 --- a/src/Geometry.cc +++ b/src/Geometry.cc @@ -30,11 +30,11 @@ Point::Point(const Point &point) : m_x(point.m_x), m_y(point.m_y) { Point::Point(const int x, const int y) : m_x(x), m_y(y) { } -inline void Point::setX(const int x) { +void Point::setX(const int x) { m_x = x; } -inline void Point::setY(const int y) { +void Point::setY(const int y) { m_y = y; } @@ -47,11 +47,11 @@ Size::Size(const Size &size) : m_w(size.m_w), m_h(size.m_h) { Size::Size(const int w, const int h) : m_w(w), m_h(h) { } -inline void Size::setW(const int w) { +void Size::setW(const int w) { m_w = w; } -inline void Size::setH(const int h) { +void Size::setH(const int h) { m_h = h; } -- cgit v1.2.3