diff options
author | fluxgen <fluxgen> | 2003-04-16 16:02:14 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-04-16 16:02:14 (GMT) |
commit | 9163668e98e1683b95fb5cc44c19b3695c7857c4 (patch) | |
tree | e9331b7ae5fd815d2146d6d23510caff882ab181 | |
parent | ee81f56a6011479d048d4225bdb4ab31c6d807e8 (diff) | |
download | fluxbox-9163668e98e1683b95fb5cc44c19b3695c7857c4.zip fluxbox-9163668e98e1683b95fb5cc44c19b3695c7857c4.tar.bz2 |
changed size_t to unsigned
-rw-r--r-- | src/FbTk/FbWindow.cc | 6 | ||||
-rw-r--r-- | src/FbTk/FbWindow.hh | 8 |
2 files changed, 9 insertions, 5 deletions
diff --git a/src/FbTk/FbWindow.cc b/src/FbTk/FbWindow.cc index e92c3d2..7d07957 100644 --- a/src/FbTk/FbWindow.cc +++ b/src/FbTk/FbWindow.cc | |||
@@ -19,7 +19,7 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | // $Id: FbWindow.cc,v 1.8 2003/04/14 12:06:25 fluxgen Exp $ | 22 | // $Id: FbWindow.cc,v 1.9 2003/04/16 16:02:14 fluxgen Exp $ |
23 | 23 | ||
24 | #include "FbWindow.hh" | 24 | #include "FbWindow.hh" |
25 | 25 | ||
@@ -40,7 +40,9 @@ FbWindow::FbWindow():m_parent(0), m_screen_num(0), m_window(0), m_x(0), m_y(0), | |||
40 | } | 40 | } |
41 | 41 | ||
42 | FbWindow::FbWindow(int screen_num, | 42 | FbWindow::FbWindow(int screen_num, |
43 | int x, int y, size_t width, size_t height, long eventmask, | 43 | int x, int y, |
44 | unsigned int width, unsigned int height, | ||
45 | long eventmask, | ||
44 | bool override_redirect, | 46 | bool override_redirect, |
45 | int depth, | 47 | int depth, |
46 | int class_type): | 48 | int class_type): |
diff --git a/src/FbTk/FbWindow.hh b/src/FbTk/FbWindow.hh index 23b7880..186ed15 100644 --- a/src/FbTk/FbWindow.hh +++ b/src/FbTk/FbWindow.hh | |||
@@ -19,7 +19,7 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | // $Id: FbWindow.hh,v 1.9 2003/04/14 12:04:32 fluxgen Exp $ | 22 | // $Id: FbWindow.hh,v 1.10 2003/04/16 16:01:38 fluxgen Exp $ |
23 | 23 | ||
24 | #ifndef FBTK_FBWINDOW_HH | 24 | #ifndef FBTK_FBWINDOW_HH |
25 | #define FBTK_FBWINDOW_HH | 25 | #define FBTK_FBWINDOW_HH |
@@ -43,7 +43,9 @@ public: | |||
43 | int depth = CopyFromParent, | 43 | int depth = CopyFromParent, |
44 | int class_type = InputOutput); | 44 | int class_type = InputOutput); |
45 | FbWindow(const FbWindow &parent, | 45 | FbWindow(const FbWindow &parent, |
46 | int x, int y, size_t width, size_t height, long eventmask, | 46 | int x, int y, |
47 | unsigned int width, unsigned int height, | ||
48 | long eventmask, | ||
47 | bool overrride_redirect = false, | 49 | bool overrride_redirect = false, |
48 | int depth = CopyFromParent, | 50 | int depth = CopyFromParent, |
49 | int class_type = InputOutput); | 51 | int class_type = InputOutput); |
@@ -52,7 +54,7 @@ public: | |||
52 | void setBackgroundColor(const FbTk::Color &bg_color); | 54 | void setBackgroundColor(const FbTk::Color &bg_color); |
53 | void setBackgroundPixmap(Pixmap bg_pixmap); | 55 | void setBackgroundPixmap(Pixmap bg_pixmap); |
54 | void setBorderColor(const FbTk::Color &border_color); | 56 | void setBorderColor(const FbTk::Color &border_color); |
55 | void setBorderWidth(size_t size); | 57 | void setBorderWidth(unsigned int size); |
56 | /// set window name (for title) | 58 | /// set window name (for title) |
57 | void setName(const char *name); | 59 | void setName(const char *name); |
58 | void setEventMask(long mask); | 60 | void setEventMask(long mask); |