X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Frect.hh;h=f5e755ccb9ce9f6600cf029856a2a9a2a7161d4c;hb=9c2b06668e349901791fb9fe459cc511e460287e;hp=fe98dcb59d9e45725efc2ea8c0068c7cd2c775da;hpb=99cd843fc6dc7a7f55b6c90fd1162f233853aad2;p=chaz%2Fopenbox 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(); }