diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-02-09 22:40:47 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-02-09 22:40:47 +0000 |
| commit | 74cfb1b4c115cdb4e05aa823b09d2b5ea9d0d690 (patch) | |
| tree | 0741de84d1a575abb757c7c3f5e5afc10853453c /otk/rect.hh | |
| parent | 9e05db9518c528ac0d2d44311cde267d9886b36a (diff) | |
signed ints instead of unsigned ints again. less pain. pain bad.
Diffstat (limited to 'otk/rect.hh')
| -rw-r--r-- | otk/rect.hh | 6 |
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(); } |
