From 8860615d9a41a550ad830c78a6d2dd63340e0f1d Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Fri, 2 Mar 2001 20:02:17 +0000 Subject: use _gdk_region_get_xrectangles() 2001-03-02 Havoc Pennington * gdk/x11/gdkgc-x11.c (_gdk_x11_gc_flush): use _gdk_region_get_xrectangles() * gdk/x11/gdkmain-x11.c (_gdk_region_get_xrectangles): new function * gtk/testgtk.c (create_shapes): add test for shape_combine_region * gdk/x11/gdkwindow-x11.c (gdk_window_shape_combine_region): new function, contributed by Ron Steinke * gdk/x11/gdkevents-x11.c (gdk_wmspec_supported): rename gdk_net_wm_supports * gdk/gdkregion-generic.c (gdk_region_get_rectangles): New function, contributed by Ron Steinke * gtk/gtkentry.c (gtk_entry_get_layout_offsets): New function, used to line up the text in the entry when using the entry for editable sheet cell hacks * gtk/testgtk.c (create_entry): test the activate_default setting on GtkEntry * gtk/gtkentry.c (gtk_entry_set_activates_default): New function to cause the entry to activate the default button for a dialog when activated (gtk_entry_get_activates_default): new function --- gdk/gdkwindow.h | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'gdk/gdkwindow.h') diff --git a/gdk/gdkwindow.h b/gdk/gdkwindow.h index 9976265edc..13d1aac253 100644 --- a/gdk/gdkwindow.h +++ b/gdk/gdkwindow.h @@ -278,10 +278,15 @@ void gdk_window_scroll (GdkWindow *window, * The shape_mask can be the mask * from gdk_pixmap_create_from_xpm. Stefan Wille */ -void gdk_window_shape_combine_mask (GdkWindow *window, - GdkBitmap *shape_mask, - gint offset_x, - gint offset_y); +void gdk_window_shape_combine_mask (GdkWindow *window, + GdkBitmap *shape_mask, + gint offset_x, + gint offset_y); +void gdk_window_shape_combine_region (GdkWindow *window, + GdkRegion *shape_region, + gint offset_x, + gint offset_y); + /* * This routine allows you to quickly take the shapes of all the child windows * of a window and use their shapes as the shape mask for this window - useful -- cgit v1.2.1