gtk/gdk/linux-fb
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 gdk/linux-fb/gdkdrawable-fb2.c update to latest Pango API 2001-11-24 21:52:50 +00:00
gdkcolor-fb.c Fixes #136082 and #135265, patch by Morten Welinder. 2004-03-06 03:38:59 +00:00
gdkcursor-fb.c Fix many sparse warnings. (#157253, Kjartan Maraas. 2004-11-10 13:30:55 +00:00
gdkdisplay-fb.c Fixes #136082 and #135265, patch by Morten Welinder. 2004-03-06 03:38:59 +00:00
gdkdnd-fb.c Fixes #136082 and #135265, patch by Morten Welinder. 2004-03-06 03:38:59 +00:00
gdkdrawable-fb2.c Add a draw-border style property to allow themes to draw outside the 2005-05-02 23:29:24 +00:00
gdkevents-fb.c Fixes #136082 and #135265, patch by Morten Welinder. 2004-03-06 03:38:59 +00:00
gdkfb.h Add gdk_window_lookup, gdk_window_foreign_new, gdk_pixmap_lookup and 2001-10-18 20:23:17 +00:00
gdkfbmanager.c Fixes #136082 and #135265, patch by Morten Welinder. 2004-03-06 03:38:59 +00:00
gdkfbmanager.h Added --enable-fbmanager. This is some experimental code that lets several 2001-06-25 23:01:36 +00:00
gdkfbswitch.c Fixes #136082 and #135265, patch by Morten Welinder. 2004-03-06 03:38:59 +00:00
gdkfont-fb.c Fixes #136082 and #135265, patch by Morten Welinder. 2004-03-06 03:38:59 +00:00
gdkgc-fb.c Add a draw-border style property to allow themes to draw outside the 2005-05-02 23:29:24 +00:00
gdkgeometry-fb.c Fixes #136082 and #135265, patch by Morten Welinder. 2004-03-06 03:38:59 +00:00
gdkglobals-fb.c Make <config.h> the very first include. Likewise. Likewise. 2004-03-06 04:00:07 +00:00
gdkim-fb.c Call setlocale (LC_ALL, ""). (#60606) 2001-10-10 21:54:25 +00:00
gdkimage-fb.c gdk_image_get_pixel, gdk_image_put_pixel: Fixed sense of bounds checks. 2002-10-07 15:16:06 +00:00
gdkinput-none.c Fixes #136082 and #135265, patch by Morten Welinder. 2004-03-06 03:38:59 +00:00
gdkinput.c Make <config.h> the very first include. Likewise. Likewise. 2004-03-06 04:00:07 +00:00
gdkinputprivate.h Patch from Eric Warmonhoven to get linux-fb compiling with multihead 2002-09-10 15:19:13 +00:00
gdkkeyboard-fb.c Fix many sparse warnings. (#157253, Kjartan Maraas. 2004-11-10 13:30:55 +00:00
gdkmain-fb.c Fix many sparse warnings. (#157253, Kjartan Maraas. 2004-11-10 13:30:55 +00:00
gdkmouse-fb.c Fix many sparse warnings. (#157253, Kjartan Maraas. 2004-11-10 13:30:55 +00:00
gdkpango-fb.c Fixes #136082 and #135265, patch by Morten Welinder. 2004-03-06 03:38:59 +00:00
gdkpixmap-fb.c Fix many sparse warnings. (#157253, Kjartan Maraas. 2004-11-10 13:30:55 +00:00
gdkprivate-fb.h Add a draw-border style property to allow themes to draw outside the 2005-05-02 23:29:24 +00:00
gdkproperty-fb.c Fixes #136082 and #135265, patch by Morten Welinder. 2004-03-06 03:38:59 +00:00
gdkrender-fb.c Fixes #136082 and #135265, patch by Morten Welinder. 2004-03-06 03:38:59 +00:00
gdkscreen-fb.c Fixes #136082 and #135265, patch by Morten Welinder. 2004-03-06 03:38:59 +00:00
gdkselection-fb.c Fix many sparse warnings. (#157253, Kjartan Maraas. 2004-11-10 13:30:55 +00:00
gdkspawn-fb.c s/gdk_spawn/gdk_spawn_on_screen/. 2003-12-10 14:17:07 +00:00
gdkvisual-fb.c Fixes #136082 and #135265, patch by Morten Welinder. 2004-03-06 03:38:59 +00:00
gdkwindow-fb.c Fix many sparse warnings. (#157253, Kjartan Maraas. 2004-11-10 13:30:55 +00:00
Makefile.am Utility functions for multi-screen applications which need to ensure 2003-12-10 13:49:58 +00:00
mi.h Put it into CVS. 2000-05-31 21:50:38 +00:00
miarc.c Fix many sparse warnings. (#157253, Kjartan Maraas. 2004-11-10 13:30:55 +00:00
midash.c Fix many sparse warnings. (#157253, Kjartan Maraas. 2004-11-10 13:30:55 +00:00
mifillarc.c Fix many sparse warnings. (#157253, Kjartan Maraas. 2004-11-10 13:30:55 +00:00
mifillarc.h Fix many sparse warnings. (#157253, Kjartan Maraas. 2004-11-10 13:30:55 +00:00
mifpoly.h Fix many sparse warnings. (#157253, Kjartan Maraas. 2004-11-10 13:30:55 +00:00
mifpolycon.c Fix many sparse warnings. (#157253, Kjartan Maraas. 2004-11-10 13:30:55 +00:00
miline.h Fix many sparse warnings. (#157253, Kjartan Maraas. 2004-11-10 13:30:55 +00:00
mipoly.c Fix many sparse warnings. (#157253, Kjartan Maraas. 2004-11-10 13:30:55 +00:00
mipoly.h Fix many sparse warnings. (#157253, Kjartan Maraas. 2004-11-10 13:30:55 +00:00
mipolygen.c Fix many sparse warnings. (#157253, Kjartan Maraas. 2004-11-10 13:30:55 +00:00
mipolyutil.c Fix many sparse warnings. (#157253, Kjartan Maraas. 2004-11-10 13:30:55 +00:00
miscanfill.h Put it into CVS. 2000-05-31 21:50:38 +00:00
mispans.c Fix many sparse warnings. (#157253, Kjartan Maraas. 2004-11-10 13:30:55 +00:00
mispans.h Fix many sparse warnings. (#157253, Kjartan Maraas. 2004-11-10 13:30:55 +00:00
mistruct.h Put it into CVS. 2000-05-31 21:50:38 +00:00
mitypes.h Added virtual functions set_pixel, get_color, fill_span and draw_drawable 2000-11-15 12:45:30 +00:00
miwideline.c Fix many sparse warnings. (#157253, Kjartan Maraas. 2004-11-10 13:30:55 +00:00
miwideline.h Fix many sparse warnings. (#157253, Kjartan Maraas. 2004-11-10 13:30:55 +00:00
mizerclip.c Fix many sparse warnings. (#157253, Kjartan Maraas. 2004-11-10 13:30:55 +00:00
mizerline.c Fix many sparse warnings. (#157253, Kjartan Maraas. 2004-11-10 13:30:55 +00:00
x-cursors.xbm Set serif font to something sane. 2000-08-03 02:33:46 +00:00