gtk2/gdk
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
..
linux-fb Add a draw-border style property to allow themes to draw outside the 2005-05-02 23:29:24 +00:00
win32 Add a draw-border style property to allow themes to draw outside the 2005-05-02 23:29:24 +00:00
x11 Add a draw-border style property to allow themes to draw outside the 2005-05-02 23:29:24 +00:00
.cvsignore Shut up CVS 2005-03-16 04:36:05 +00:00
abicheck.sh Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
COPYING [ Merges from gtk-1-2 ] 1999-09-28 20:19:13 +00:00
gdk.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdk.h Mark as const. 2004-11-28 06:45:52 +00:00
gdk.symbols Add a draw-border style property to allow themes to draw outside the 2005-05-02 23:29:24 +00:00
gdkcolor.c gtk/gtkstyle.c gtk/gtkcolorsel.c gtk/gtkhsv.c gtk/gtkiconview.c Update to 2005-04-18 15:11:01 +00:00
gdkcolor.h Switch set_cairo_target() virtual function to ref_cairo_surface() 2005-03-17 01:54:40 +00:00
gdkconfig.h.win32 Massive changes. Too many to list here, but I'll try a summary: 2002-02-17 00:25:05 +00:00
gdkcursor.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdkcursor.h Mark as const. 2004-11-28 06:45:52 +00:00
gdkdisplay.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdkdisplay.h Remove the accidentally added prototype for this unimplemented 2005-01-23 04:26:41 +00:00
gdkdisplaymanager.c Use canonical names for g_object_notify() as well. 2005-03-26 05:49:15 +00:00
gdkdisplaymanager.h Renames: 2002-06-20 23:59:27 +00:00
gdkdnd.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdkdnd.h Really fix the initialization of the target list. 2004-08-06 17:03:52 +00:00
gdkdraw.c Add a draw-border style property to allow themes to draw outside the 2005-05-02 23:29:24 +00:00
gdkdrawable.h Switch set_cairo_target() virtual function to ref_cairo_surface() 2005-03-17 01:54:40 +00:00
gdkevents.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdkevents.h Mark as const. 2004-11-28 06:45:52 +00:00
gdkfont.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdkfont.h Mark as const. 2004-11-28 06:45:52 +00:00
gdkgc.c Add a draw-border style property to allow themes to draw outside the 2005-05-02 23:29:24 +00:00
gdkgc.h Fix #105497; constify uses of GdkColor. 2004-01-26 20:21:09 +00:00
gdkglobals.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdki18n.h Deprecate GtkPreviewType, GtkSignalRunType, GtkSideType, 2002-01-30 02:01:10 +00:00
gdkimage.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdkimage.h and a bit more. 2004-01-05 18:28:09 +00:00
gdkinput.h Mark as const. 2004-11-28 06:45:52 +00:00
gdkinternals.h Add a draw-border style property to allow themes to draw outside the 2005-05-02 23:29:24 +00:00
gdkintl.h Split the gtk translations into the domains gtk20 and gtk20-properties. 2004-01-17 22:15:58 +00:00
gdkkeynames.c gdk_key is a typedef, not a struct tag. 2005-03-17 12:05:16 +00:00
gdkkeys.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdkkeys.h Add a keys_changed signal emitted when the keymap changes. (#72148) 2002-09-23 21:35:00 +00:00
gdkkeysyms.h Add dead_hook and dead_horn. 2004-11-29 13:57:53 +00:00
gdkkeyuni.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdkmarshalers.list New demo for window migration between different displays and screens. 2002-08-01 23:43:13 +00:00
gdkpango.c Add a draw-border style property to allow themes to draw outside the 2005-05-02 23:29:24 +00:00
gdkpango.h Add GdkPangoRenderer, a subclass of PangoRenderer targeting GDK drawables. 2004-11-21 16:24:01 +00:00
gdkpixbuf-drawable.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdkpixbuf-render.c gtk/gtkstyle.c gtk/gtkcolorsel.c gtk/gtkhsv.c gtk/gtkiconview.c Update to 2005-04-18 15:11:01 +00:00
gdkpixbuf.h Include cairo.h 2005-03-30 17:40:39 +00:00
gdkpixmap.c Switch set_cairo_target() virtual function to ref_cairo_surface() 2005-03-17 01:54:40 +00:00
gdkpixmap.h Fix #105497; constify uses of GdkColor. 2004-01-26 20:21:09 +00:00
gdkpoly-generic.h Merge no-flicker branch into HEAD 2000-03-28 01:24:44 +00:00
gdkpolyreg-generic.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdkprivate.h Make gdkx.h the only installed header from gdk/x11. All structures in 2001-09-07 21:50:20 +00:00
gdkproperty.h Start of integration of Erwann Chenede's multihead work from the 2002-04-25 22:29:14 +00:00
gdkrectangle.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdkregion-generic.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdkregion-generic.h (Part 2) Remove gdk_*_lookup() defines, since they are defined by the 2000-07-24 16:19:00 +00:00
gdkregion.h use _gdk_region_get_xrectangles() 2001-03-02 20:02:17 +00:00
gdkrgb.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdkrgb.h Add hidden aliases for exported symbols which are used internally in order 2004-08-09 20:14:43 +00:00
gdkscreen.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdkscreen.h Mark as const. 2004-11-28 06:45:52 +00:00
gdkselection.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdkselection.h docs/reference/gdk/tmpl/dnd.sgml docs/reference/gdk/tmpl/drawing.sgml 2002-11-08 19:41:50 +00:00
gdkspawn.h Utility functions for multi-screen applications which need to ensure 2003-12-10 13:49:58 +00:00
gdktypes.h Add a comment about unused bits. 2004-05-14 13:37:07 +00:00
gdkvisual.c Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
gdkvisual.h Mark as const. 2004-11-28 06:45:52 +00:00
gdkwindow.c Add a draw-border style property to allow themes to draw outside the 2005-05-02 23:29:24 +00:00
gdkwindow.h Bug 143330, support update counter spec. 2004-07-11 13:26:57 +00:00
gen-keyname-table.pl Convert the gdk keyval-keyname tables to a big string + offsets. (#168901) 2005-03-08 04:35:29 +00:00
keyname-table.h Convert the gdk keyval-keyname tables to a big string + offsets. (#168901) 2005-03-08 04:35:29 +00:00
keynames.txt Convert the gdk keyval-keyname tables to a big string + offsets. (#168901) 2005-03-08 04:35:29 +00:00
makeenums.pl Add GdkEventSetting event for notification of changes to system settings, 2001-04-02 23:33:47 +00:00
Makefile.am Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
makefile.msc [merged from gtk-2-6 branch] let dash_offset shift the start of the line 2005-04-03 21:03:08 +00:00
makegdkalias.pl Make PLT-reduction work with gcc4, and don't include everything in 2005-03-16 03:17:27 +00:00
testgdk.c Fixes #136082 and #135265, patch by Morten Welinder. 2004-03-06 03:38:59 +00:00