gtk2/gdk
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
..
linux-fb Fix conditionality to work the "right" way. Missed commits from previous. 2000-06-20 22:24:49 +00:00
nanox Fix conditionality to work the "right" way. Missed commits from previous. 2000-06-20 22:24:49 +00:00
win32 Remove all references to offscreen flag which was no longer used. 2000-06-02 03:14:07 +00:00
x11 Add gdk_rgb_find_color() to get a pixel value using GdkRGB functionality 2000-07-02 17:03:21 +00:00
.cvsignore Call gdk_window_withdraw rather than gdk_window_hide; this makes things 2000-06-12 21:08:07 +00:00
COPYING [ Merges from gtk-1-2 ] 1999-09-28 20:19:13 +00:00
gdk.c Make this compile without framebuffer enabled 2000-06-20 21:04:44 +00:00
gdk.def Large changes to the Win32 backend, partially made necessary by the 2000-05-01 22:06:49 +00:00
gdk.h Welcome aboard, gdk-pixbuf. 2000-06-21 20:47:22 +00:00
gdkcc.h Started 1999-10-01 23:18:30 +00:00
gdkcolor.c Make this compile without framebuffer enabled 2000-06-20 21:04:44 +00:00
gdkcolor.h Make this compile without framebuffer enabled 2000-06-20 21:04:44 +00:00
gdkcompat.h Add gdk_rgb_find_color() to get a pixel value using GdkRGB functionality 2000-07-02 17:03:21 +00:00
gdkconfig.h.win32 Fix typo. 1999-11-21 21:21:58 +00:00
gdkcursor.c Include gdkinternals.h instead of gdkprivate.h. 2000-03-28 01:40:57 +00:00
gdkcursor.h s/refcount/ref_count/. 2000-02-13 08:16:48 +00:00
gdkcursors.h Merge from themes-2. See the ChangeLog for a somewhat detailed 1998-11-06 22:05:02 +00:00
gdkdnd.h Make this compile without framebuffer enabled 2000-06-20 21:04:44 +00:00
gdkdraw.c Make this compile without framebuffer enabled 2000-06-20 21:04:44 +00:00
gdkdrawable.h Make this compile without framebuffer enabled 2000-06-20 21:04:44 +00:00
gdkevents.c *** empty log message *** 2000-06-20 20:20:38 +00:00
gdkevents.h *** empty log message *** 2000-06-20 20:20:38 +00:00
gdkfont.c Include gdkinternals.h instead of gdkprivate.h. 2000-03-28 01:40:57 +00:00
gdkfont.h Remove all references to offscreen flag which was no longer used. 2000-06-02 03:14:07 +00:00
gdkgc.c Add gdk_rgb_find_color() to get a pixel value using GdkRGB functionality 2000-07-02 17:03:21 +00:00
gdkgc.h Add gdk_rgb_find_color() to get a pixel value using GdkRGB functionality 2000-07-02 17:03:21 +00:00
gdkglobals.c Move all X specific code into the x11/ directory. Aside from shuffling 1999-11-08 20:14:59 +00:00
gdki18n.h Merges from gtk-1-2 2000-03-14 19:57:25 +00:00
gdkim.h Merges from gtk-1-2 2000-03-14 19:57:25 +00:00
gdkimage.c Make this compile without framebuffer enabled 2000-06-20 21:04:44 +00:00
gdkimage.h Make this compile without framebuffer enabled 2000-06-20 21:04:44 +00:00
gdkinput.h Fix up merge slipup. 2000-03-28 01:58:05 +00:00
gdkinternals.h Make this compile without framebuffer enabled 2000-06-20 21:04:44 +00:00
gdkkeysyms.h Remove all references to offscreen flag which was no longer used. 2000-06-02 03:14:07 +00:00
gdkkeyuni.c Remove all references to offscreen flag which was no longer used. 2000-06-02 03:14:07 +00:00
gdkpango.c Make this compile without framebuffer enabled 2000-06-20 21:04:44 +00:00
gdkpango.h Remove all references to offscreen flag which was no longer used. 2000-06-02 03:14:07 +00:00
gdkpixbuf-drawable.c Indentation fixups to GTK+ standard. 2000-06-21 23:29:51 +00:00
gdkpixbuf-render.c Add gdk_rgb_find_color() to get a pixel value using GdkRGB functionality 2000-07-02 17:03:21 +00:00
gdkpixbuf.h Welcome aboard, gdk-pixbuf. 2000-06-21 20:47:22 +00:00
gdkpixmap.c Add gdk_rgb_find_color() to get a pixel value using GdkRGB functionality 2000-07-02 17:03:21 +00:00
gdkpixmap.h Make this compile without framebuffer enabled 2000-06-20 21:04:44 +00:00
gdkpoly-generic.h Merge no-flicker branch into HEAD 2000-03-28 01:24:44 +00:00
gdkpolyreg-generic.c Merge no-flicker branch into HEAD 2000-03-28 01:24:44 +00:00
gdkprivate.h Make this compile without framebuffer enabled 2000-06-20 21:04:44 +00:00
gdkproperty.h Merges from gtk-1-2 2000-03-14 19:57:25 +00:00
gdkrectangle.c Merge no-flicker branch into HEAD 2000-03-28 01:24:44 +00:00
gdkregion-generic.c If a region does not have any rectangles, or if the specified rectangle is 2000-05-18 22:44:19 +00:00
gdkregion-generic.h Remove use of libunicode in favor of new GLib functions. 2000-06-21 16:19:59 +00:00
gdkregion.h Merge no-flicker branch into HEAD 2000-03-28 01:24:44 +00:00
gdkrgb.c Add gdk_rgb_find_color() to get a pixel value using GdkRGB functionality 2000-07-02 17:03:21 +00:00
gdkrgb.h Add gdk_rgb_find_color() to get a pixel value using GdkRGB functionality 2000-07-02 17:03:21 +00:00
gdkselection.h Merges from gtk-1-2 2000-03-14 19:57:25 +00:00
gdktypes.h Make this compile without framebuffer enabled 2000-06-20 21:04:44 +00:00
gdkvisual.h Started 1999-10-01 23:18:30 +00:00
gdkwindow.c Convert GdkPixbuf to GObject, leaving it opaque (i.e. derivation is not 2000-06-22 15:36:12 +00:00
gdkwindow.h Make this compile without framebuffer enabled 2000-06-20 21:04:44 +00:00
Makefile.am Welcome aboard, gdk-pixbuf. 2000-06-21 20:47:22 +00:00
makefile.cygwin Large changes to the Win32 backend, partially made necessary by the 2000-05-01 22:06:49 +00:00
makefile.msc Internal GDK error reporting changes: (gdk_win32_gdi_failed) New function 2000-03-08 06:18:41 +00:00
TODO Move all X specific code into the x11/ directory. Aside from shuffling 1999-11-08 20:14:59 +00:00