From 99cd843fc6dc7a7f55b6c90fd1162f233853aad2 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 8 Feb 2003 07:33:48 +0000 Subject: Brand spankin new widgets for otk (Label and Button). Add a new Size class. Rect, Point, and Size are immutable classes. Size uses *UNSIGNED* ints. This is causing me headaches * a bajillion right now, so we'll see about that. --- otk/screeninfo.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'otk/screeninfo.cc') diff --git a/otk/screeninfo.cc b/otk/screeninfo.cc index 087f4efd..560a5636 100644 --- a/otk/screeninfo.cc +++ b/otk/screeninfo.cc @@ -22,8 +22,8 @@ ScreenInfo::ScreenInfo(unsigned int num) { _root_window = RootWindow(**display, _screen); - _rect.setSize(WidthOfScreen(ScreenOfDisplay(**display, - _screen)), + _size = Size(WidthOfScreen(ScreenOfDisplay(**display, + _screen)), HeightOfScreen(ScreenOfDisplay(**display, _screen))); /* -- cgit v1.2.3