Update of /cvsroot/htoolkit/port/src/cbits/GTK
In directory sc8-pr-cvs1:/tmp/cvs-serv28903/src/cbits/GTK
Modified Files:
Window.c
Log Message:
Update GTK backend to make it compatible with Win32 backend after development of MDI for Win32
Index: Window.c
===================================================================
RCS file: /cvsroot/htoolkit/port/src/cbits/GTK/Window.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** Window.c 10 Feb 2003 22:42:09 -0000 1.3
--- Window.c 3 Mar 2003 00:23:51 -0000 1.4
***************
*** 1,679 ****
! #include "Window.h"
! #include "Internals.h"
! #include "Handlers_stub.h"
! #include <gdk/gdkkeysyms.h>
!
!
! static void getWindowClipRect(GtkWidget *window, GdkRegion *region)
! {
! GtkFixed *fixed = GTK_FIXED(GTK_BIN(GetSW(window)->child)->child);
! GList *childrens = gtk_container_get_children(GTK_CONTAINER(fixed));
[...1335 lines suppressed...]
! {
! int x = 0;
! int y = 0;
! int w = 0;
!
! int h = 0;
!
! gtk_window_get_position( GTK_WINDOW(window), &x, &y );
! gtk_window_get_size( GTK_WINDOW(window), &w, &h );
!
! res[0] = x;
! res[1] = y;
! res[2] = x+w;
! res[3] = y+h;
! }
!
! void osSetWindowResizeable(WindowHandle window, int resizeable )
! {
! gtk_window_set_resizable(GTK_WINDOW(window), resizeable != 0);
! }
|