gtk2/gdk/x11
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
..
.cvsignore Substitute gdkx.h => gdkprivate.h since we need to accesss only 1999-11-08 22:33:28 +00:00
gdkcc-x11.c Merge no-flicker branch into HEAD 2000-03-28 01:24:44 +00:00
gdkcolor-x11.c Make this compile without framebuffer enabled 2000-06-20 21:04:44 +00:00
gdkcursor-x11.c Make this compile without framebuffer enabled 2000-06-20 21:04:44 +00:00
gdkdnd-x11.c Make this compile without framebuffer enabled 2000-06-20 21:04:44 +00:00
gdkdrawable-x11.c Make this compile without framebuffer enabled 2000-06-20 21:04:44 +00:00
gdkdrawable-x11.h Make this compile without framebuffer enabled 2000-06-20 21:04:44 +00:00
gdkevents-x11.c When actually returning expose events, make sure to set the count field 2000-07-01 21:15:05 +00:00
gdkfont-x11.c Remove all references to offscreen flag which was no longer used. 2000-06-02 03:14:07 +00:00
gdkgc-x11.c Add gdk_rgb_find_color() to get a pixel value using GdkRGB functionality 2000-07-02 17:03:21 +00:00
gdkgeometry-x11.c Make this compile without framebuffer enabled 2000-06-20 21:04:44 +00:00
gdkglobals-x11.c Make this compile without framebuffer enabled 2000-06-20 21:04:44 +00:00
gdkim-x11.c Make this compile without framebuffer enabled 2000-06-20 21:04:44 +00:00
gdkimage-x11.c If possible, create only a single shm segment and use multiple parts of it 2000-06-26 22:55:42 +00:00
gdkinput-gxi.c Add missing include, fix GdkWindowPrivate => GdkDrawablePrivate. 1999-11-08 21:25:04 +00:00
gdkinput-none.c Add missing include, fix GdkWindowPrivate => GdkDrawablePrivate. 1999-11-08 21:25:04 +00:00
gdkinput-x11.c Add gdk_rgb_find_color() to get a pixel value using GdkRGB functionality 2000-07-02 17:03:21 +00:00
gdkinput-xfree.c Call XFreeDeviceState() on results of XQueryDeviceState(). 1999-11-10 17:15:58 +00:00
gdkinput.c Make this compile without framebuffer enabled 2000-06-20 21:04:44 +00:00
gdkinputprivate.h Merge no-flicker branch into HEAD 2000-03-28 01:24:44 +00:00
gdkmain-x11.c Make this compile without framebuffer enabled 2000-06-20 21:04:44 +00:00
gdkpango-x11.c Remove all references to offscreen flag which was no longer used. 2000-06-02 03:14:07 +00:00
gdkpixmap-x11.c Add gdk_rgb_find_color() to get a pixel value using GdkRGB functionality 2000-07-02 17:03:21 +00:00
gdkpixmap-x11.h Make this compile without framebuffer enabled 2000-06-20 21:04:44 +00:00
gdkprivate-x11.h Make this compile without framebuffer enabled 2000-06-20 21:04:44 +00:00
gdkproperty-x11.c Make this compile without framebuffer enabled 2000-06-20 21:04:44 +00:00
gdkselection-x11.c Make this compile without framebuffer enabled 2000-06-20 21:04:44 +00:00
gdkvisual-x11.c Merge no-flicker branch into HEAD 2000-03-28 01:24:44 +00:00
gdkwindow-x11.c Make this compile without framebuffer enabled 2000-06-20 21:04:44 +00:00
gdkwindow-x11.h Make this compile without framebuffer enabled 2000-06-20 21:04:44 +00:00
gdkx.h Make this compile without framebuffer enabled 2000-06-20 21:04:44 +00:00
gdkxid.c Move all X specific code into the x11/ directory. Aside from shuffling 1999-11-08 20:14:59 +00:00
gxid_lib.c Removed DEFS "+=" mess that breaks recent automakes. INCLUDES is the 1998-11-24 05:58:53 +00:00
gxid_lib.h Initial revision 1997-11-24 22:37:52 +00:00
gxid_proto.h Initial revision 1997-11-24 22:37:52 +00:00
gxid.c Merges from gtk-1-2 2000-03-14 19:57:25 +00:00
Makefile.am use $(mkinstalldirs) not $(MKINSTALLDIRS) 2000-06-21 16:44: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