diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-04-14 18:28:11 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-04-14 18:28:11 +0000 |
| commit | bea6e5f78d38417ea64c283236eee72ecdcaf502 (patch) | |
| tree | a5983d9e22d0a1ca4ea9f28f97da74af374e3eee /src/Geometry.cc | |
| parent | 973880dd25a3a212c0812b9d6d8955f0f91b558a (diff) | |
changed OpenboxWindow to not have getFrameX/getWidth/etc functions, and to return Origins and Sizes and Rects, in fuctions like size(), origin(), and area().
Diffstat (limited to 'src/Geometry.cc')
| -rw-r--r-- | src/Geometry.cc | 8 |
1 files changed, 4 insertions, 4 deletions
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; } |
