diff options
author | Erkin Bahceci <erkinbah@gmail.com> | 2009-07-30 19:41:38 -0500 |
---|---|---|
committer | Erkin Bahceci <erkinbah@gmail.com> | 2009-07-30 19:41:38 -0500 |
commit | e234d8717fc54f6adf4e8fa74bd9929cc912eaf7 (patch) | |
tree | 075bc50d29463a5b3033dce2296bd16662aa874e /include | |
parent | 955e5653053af15a7c7732558fa4a4b7dda4099d (diff) | |
download | zcomp-e234d8717fc54f6adf4e8fa74bd9929cc912eaf7.tar.gz zcomp-e234d8717fc54f6adf4e8fa74bd9929cc912eaf7.tar.bz2 |
More unsigned int to int conversion.
Diffstat (limited to 'include')
-rw-r--r-- | include/core/window.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/include/core/window.h b/include/core/window.h index d7d0387..7983c03 100644 --- a/include/core/window.h +++ b/include/core/window.h @@ -242,15 +242,15 @@ class CompWindow : { public: Geometry (); - Geometry (int, int, unsigned int, unsigned int, unsigned int); + Geometry (int, int, int, int, int); - unsigned int border () const; + int border () const; - void set (int, int, unsigned int, unsigned int, unsigned int); - void setBorder (unsigned int); + void set (int, int, int, int, int); + void setBorder (int); private: - unsigned int mBorder; + int mBorder; }; typedef boost::function<void (CompWindow *)> ForEach; @@ -272,8 +272,8 @@ class CompWindow : CompPoint pos () const; /* With border */ - unsigned int width () const; - unsigned int height () const; + int width () const; + int height () const; CompSize size () const; Geometry & serverGeometry () const; @@ -283,8 +283,8 @@ class CompWindow : CompPoint serverPos () const; /* With border */ - unsigned int serverWidth () const; - unsigned int serverHeight () const; + int serverWidth () const; + int serverHeight () const; const CompSize serverSize () const; /* includes decorations */ @@ -375,8 +375,8 @@ class CompWindow : bool resize (Geometry); - bool resize (int x, int y, unsigned int width, unsigned int height, - unsigned int border = 0); + bool resize (int x, int y, int width, int height, + int border = 0); void move (int dx, int dy, bool immediate = true); |