gtk2/tests
Owen Taylor 4f1ccca594 Add gdk_rgb_find_color() to get a pixel value using GdkRGB functionality
Sun Jul  2 12:45:50 2000  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkrgb.[ch]: Add gdk_rgb_find_color() to get a pixel
	value using GdkRGB functionality given GdkColormap and GdkColor.
	(name not final, waiting for inspiration.)

	* gdk/gdkgc.[ch] (gdk_gc_set_rgb_fg/bg_color): New functions to
	set the foreground/background of a GC using the GC's colormap
	and GdkRGB. (name not final, waiting for inspiration.)

	* gdk/gdkcompat.h gdk/gdkrgb.c (gdk_rgb_get_colormap): Rename from
	gdk_rgb_get_cmap(), put #define in gdkcompat.h.

	* gtk/gtkwidget.[ch] gtkcompat.h: Make visuals for
	gtk_widget_get_visual(), gtk_widget_get_default_visual, etc,
	purely a function of the corresponding colormap. Make
	gtk_widget_set_visual(), etc, noop macros in gtkcompat.h.

	* gdk/gdkpixmap.c gdk/x11/gdkpixmap-c11.c: Rewrite
	gdk_pixbuf_*create_from_xpm_* in terms of
	gdk_pixbuf_new_from_xpm_data(), move into platform independent
	code.

	* gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable): Take
	advantage of the new draw_rgb_32_image_dithalign.

	* gdk/gdkrgb.c (gdk_draw_rgb_32_image_dithalign): Added.

	* gtk/gtkgc.c (gtk_gc_new): Set the appropriate colormap
	on each created GC.

	* gdk/gdkgc.[ch]: Add gdk_gc_get/set_colormap.

	* gdk/gdkgc.[ch]: Add a colormap field to the GdkGC structure
	which we initialize from the drawable when the GC is created,
	if the drawable has a colormap.

	* gdk/x11/gdkgc-x11.c: include string.h for memset.

	* gdk/x11/gdkinput-x11.c: include string.h for strlen, etc.

	* gtk/gtklayout.[ch]: Remove unsed configure serial member.
2000-07-02 17:03:21 +00:00
..
3DRings.xpm Initial revision 1997-11-24 22:37:52 +00:00
check-n.xpm reworked the redrawing heuristics somewhat, this fixed a bunch of existing 1999-01-12 15:12:14 +00:00
check-y.xpm reworked the redrawing heuristics somewhat, this fixed a bunch of existing 1999-01-12 15:12:14 +00:00
circles.xbm gtk/gtktext.c 1998-02-27 06:13:22 +00:00
FilesQueue.xpm Initial revision 1997-11-24 22:37:52 +00:00
marble.xpm Initial revision 1997-11-24 22:37:52 +00:00
Modeller.xpm Initial revision 1997-11-24 22:37:52 +00:00
simple.c Add call to g_type_init() - we'll need this later, and this makes sure 2000-06-06 00:56:00 +00:00
test.xpm Initial revision 1997-11-24 22:37:52 +00:00
testcalendar.c Remove all references to offscreen flag which was no longer used. 2000-06-02 03:14:07 +00:00
testdnd.c documented necessary changes for 1.4 transition. 2000-05-12 15:25:50 +00:00
testgtk.1 Added gtk/testgtk.1 man page for testgtk 1998-03-24 04:01:21 +00:00
testgtk.c Add gdk_rgb_find_color() to get a pixel value using GdkRGB functionality 2000-07-02 17:03:21 +00:00
testgtkrc Remove all references to offscreen flag which was no longer used. 2000-06-02 03:14:07 +00:00
testgtkrc2 Remove all references to offscreen flag which was no longer used. 2000-06-02 03:14:07 +00:00
testinput.c Added notice to look in AUTHORS and ChangeLog files for a list of changes. 1999-02-24 07:37:18 +00:00
testrgb.c Add gdk_rgb_find_color() to get a pixel value using GdkRGB functionality 2000-07-02 17:03:21 +00:00
testselection.c Added notice to look in AUTHORS and ChangeLog files for a list of changes. 1999-02-24 07:37:18 +00:00
testtext.c Remove use of libunicode in favor of new GLib functions. 2000-06-21 16:19:59 +00:00
testtextbuffer.c Use gunichar instead of gint when appropriate in the interfaces 2000-06-21 18:51:36 +00:00
testthreads.c Added notice to look in AUTHORS and ChangeLog files for a list of changes. 1999-02-24 07:37:18 +00:00