From 9163668e98e1683b95fb5cc44c19b3695c7857c4 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Wed, 16 Apr 2003 16:02:14 +0000 Subject: changed size_t to unsigned --- src/FbTk/FbWindow.cc | 6 ++++-- 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 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: FbWindow.cc,v 1.8 2003/04/14 12:06:25 fluxgen Exp $ +// $Id: FbWindow.cc,v 1.9 2003/04/16 16:02:14 fluxgen Exp $ #include "FbWindow.hh" @@ -40,7 +40,9 @@ FbWindow::FbWindow():m_parent(0), m_screen_num(0), m_window(0), m_x(0), m_y(0), } FbWindow::FbWindow(int screen_num, - int x, int y, size_t width, size_t height, long eventmask, + int x, int y, + unsigned int width, unsigned int height, + long eventmask, bool override_redirect, int depth, 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 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: FbWindow.hh,v 1.9 2003/04/14 12:04:32 fluxgen Exp $ +// $Id: FbWindow.hh,v 1.10 2003/04/16 16:01:38 fluxgen Exp $ #ifndef FBTK_FBWINDOW_HH #define FBTK_FBWINDOW_HH @@ -43,7 +43,9 @@ public: int depth = CopyFromParent, int class_type = InputOutput); FbWindow(const FbWindow &parent, - int x, int y, size_t width, size_t height, long eventmask, + int x, int y, + unsigned int width, unsigned int height, + long eventmask, bool overrride_redirect = false, int depth = CopyFromParent, int class_type = InputOutput); @@ -52,7 +54,7 @@ public: void setBackgroundColor(const FbTk::Color &bg_color); void setBackgroundPixmap(Pixmap bg_pixmap); void setBorderColor(const FbTk::Color &border_color); - void setBorderWidth(size_t size); + void setBorderWidth(unsigned int size); /// set window name (for title) void setName(const char *name); void setEventMask(long mask); -- cgit v0.11.2