gtk/gdk/x11
Owen Taylor 788bbf520a Add a draw-border style property to allow themes to draw outside the
2005-04-28  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwidget.c: Add a draw-border style property to allow
	themes to draw outside the widget's allocation.

	* gdk/gdkwindow.c gtk/gtkstyle.c: Remove some save/restore pairs
	that were working around the clip-leakage bug in Cairo.

	* gtk/gtkstyle.c: Use cairo_fill_preserve() rathe than
	save/fill/restore.

	* gdk/gdkgc.c gdk/gdkinternals.h: Add _gdk_gc_update_context()
	That updates a Cairo context to match a GC.

	* gdk/gdkdraw.c: Use _gdk_gc_update_context() to add support
	for tiles/stipples/clipping to gdk_draw_glyphs(),
	gdk_draw_trapezoids().

	* gdk/gdkpango.c: Use _gdk_gc_update_context() instead of internal
	implementation of stipples. Use one cairo_t across the entire
	drawing operation. Replace cairo_matrix_create() with
	stack-allocated matrices.

	* gdk/gdkgc.c gdk/gdkinternals.h gdk/x11/gdkgc-x11.c
	gdk/win32/gdkgc-win32.c: Save various aspects of the
	GC state (fill, tile, stipple, foreground, background, clip region)
	in instance-private-data for future use. Add getters.
	Get rid of _gdk_windowing_gc_get_foreground() function implemented
	by the backends.

	* gdk/gdkgc.c gdk/gdkinternals.h gdk/x11/gdkgc-x11.c
	gdk/win32/gdkgc-win32.c gdk/linux-fb/gdkgc-fb.c: Add
	_gdk_gc_init() to do initial setup of the GC from values;
	fixes some problems from drawable redirection.

	* gdk/gdkgc.c gdk/gdkinternals.h gdk/x11/gdkgc-x11.c
	gdk/win32/gdkgc-win32.c gdk/linux-fb/gdkgc-fb.c: Move
	gdk_gc_copy() and gdk_gc_set_clip_{region,rectangle}() into
	the generic code, add _gdk_windowing_gc_copy(),
	_gdk_windowing_gc_set_clip_region() to do backend specific
	stuff.

	* gdk/x11/{gdkprivate-x11.h,gdkgc-x11.c.c,gdkdrawable-x11.c}
	gdk/win32/{gdkprivate-win32.h,gdkgc-x11.c.c,gdkdrawable-x11.c}
	gdk/linux-fb/{gdkprivate-fb.h,gdkgc-fb.c.c,gdkdrawable-fb.c}:
	Don't duplicate state that now is stored by the generic code.

	* gdk/gdk.symbols Update
2005-05-02 23:29:24 +00:00
..
.cvsignore Substitute gdkx.h => gdkprivate.h since we need to accesss only 1999-11-08 22:33:28 +00:00
gdkasync.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdkasync.h Change _gdk_x11_send_xevent_async() to 2003-07-08 22:27:47 +00:00
gdkcolor-x11.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdkcursor-x11.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdkdisplay-x11.c Switch set_cairo_target() virtual function to ref_cairo_surface() 2005-03-17 01:54:40 +00:00
gdkdisplay-x11.h Switch set_cairo_target() virtual function to ref_cairo_surface() 2005-03-17 01:54:40 +00:00
gdkdnd-x11.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdkdrawable-x11.c Add a draw-border style property to allow themes to draw outside the 2005-05-02 23:29:24 +00:00
gdkdrawable-x11.h Switch set_cairo_target() virtual function to ref_cairo_surface() 2005-03-17 01:54:40 +00:00
gdkevents-x11.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdkfont-x11.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdkgc-x11.c Add a draw-border style property to allow themes to draw outside the 2005-05-02 23:29:24 +00:00
gdkgeometry-x11.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdkglobals-x11.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdkim-x11.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdkimage-x11.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdkinput-none.c Some more fixes necessary to make building with gcc 4 work. 2005-04-10 01:01:18 +00:00
gdkinput-x11.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdkinput-xfree.c Some more fixes necessary to make building with gcc 4 work. 2005-04-10 01:01:18 +00:00
gdkinput.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdkinputprivate.h Bug #107664 continued: 2003-03-08 21:11:39 +00:00
gdkkeys-x11.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdkmain-x11.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdkpixmap-x11.c Switch set_cairo_target() virtual function to ref_cairo_surface() 2005-03-17 01:54:40 +00:00
gdkpixmap-x11.h Make gdkx.h the only installed header from gdk/x11. All structures in 2001-09-07 21:50:20 +00:00
gdkprivate-x11.h Add a draw-border style property to allow themes to draw outside the 2005-05-02 23:29:24 +00:00
gdkproperty-x11.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdkscreen-x11.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdkscreen-x11.h Add GdkPangoRenderer, a subclass of PangoRenderer targeting GDK drawables. 2004-11-21 16:24:01 +00:00
gdkselection-x11.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdkspawn-x11.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdkvisual-x11.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdkwindow-x11.c Switch set_cairo_target() virtual function to ref_cairo_surface() 2005-03-17 01:54:40 +00:00
gdkwindow-x11.h Fix #155658, Sebastian Bacher: 2004-10-18 21:02:37 +00:00
gdkx.h Add a function to obtain the last user interaction time. (#163119, Elijah 2005-01-19 14:37:56 +00:00
gdkxid.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gxid_proto.h Initial revision 1997-11-24 22:37:52 +00:00
Makefile.am Switch set_cairo_target() virtual function to ref_cairo_surface() 2005-03-17 01:54:40 +00:00
MwmUtil.h Account for the fact that Xlib expects format == 32 to be a long, even on 1999-02-21 20:55:04 +00:00
xsettings-client.c Make GDK+ compile with X11R5 (#148032) 2004-11-12 19:48:43 +00:00
xsettings-client.h Remove unused variable 'result' 2004-02-02 18:01:27 +00:00
xsettings-common.c Fixes #136082 and #135265, patch by Morten Welinder. 2004-03-06 03:38:59 +00:00
xsettings-common.h Add xsettings_client_set_grab_func, Add xsettings_client_set_ungrab_func 2004-02-27 00:56:04 +00:00