summaryrefslogtreecommitdiff
path: root/otk/rect.hh
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-02-09 22:40:47 +0000
committerDana Jansens <danakj@orodu.net>2003-02-09 22:40:47 +0000
commit74cfb1b4c115cdb4e05aa823b09d2b5ea9d0d690 (patch)
tree0741de84d1a575abb757c7c3f5e5afc10853453c /otk/rect.hh
parent9e05db9518c528ac0d2d44311cde267d9886b36a (diff)
signed ints instead of unsigned ints again. less pain. pain bad.
Diffstat (limited to 'otk/rect.hh')
-rw-r--r--otk/rect.hh6
1 files changed, 3 insertions, 3 deletions
diff --git a/otk/rect.hh b/otk/rect.hh
index fe98dcb5..f5e755cc 100644
--- a/otk/rect.hh
+++ b/otk/rect.hh
@@ -14,13 +14,13 @@ public:
Rect() : _p(), _s() {}
Rect(const Point &p, const Size &s) : _p(p), _s(s) {}
Rect(const Rect &r) : _p(r._p), _s(r._s) {}
- Rect(int x, int y, unsigned int w, unsigned int h)
+ Rect(int x, int y, int w, int h)
: _p(x, y), _s(w, h) {}
inline int x() const { return _p.x(); }
inline int y() const { return _p.y(); }
- inline unsigned int width() const { return _s.width(); }
- inline unsigned int height() const { return _s.height(); }
+ inline int width() const { return _s.width(); }
+ inline int height() const { return _s.height(); }
inline int left() const { return _p.x(); }
inline int top() const { return _p.y(); }