Files
gtk2/gdk
Tor Lillqvist abda40ede4 Fix some bugs, and introduce a minor feature.
2002-04-04  Tor Lillqvist  <tml@iki.fi>

	* gdk/gdkrgb.c: Fix some bugs, and introduce a minor feature.

	(gdk_rgb_convert_4_pack): New function, for 16-color (4 bits per
	pixel) static visuals (fixes #858).

	(gdk_rgb_convert_gray4_pack, gdk_rgb_convert_gray4_d_pack): Fix
	same bugs in both functions: Odd start coordinate (partial byte)
	was not handled correctly. Also a partial final byte was not
	handled correctly.

	(gdk_rgb_do_colormaps): Use G_N_ELEMENTS.
	(gdk_rgb_create_info): For pseudocolor visuals, use the 2x2x2
	colorcube only for depths 3 and 4. For static color, use it for
	depths 3..7 like before. (Depth 5..7 pseudocolor probably never
	occurs on X11. It doesn't normally occur on Win32 either, but
	there is experimental code in gdkvisual-win32.c to let the user
	restrict the size of palette used.)
	(gdk_rgb_init): Set gdk_rgb_verbose if the GDK_DEBUG_GDKRGB flag
	is set.
	(gdk_rgb_select_conv): Use gdk_rgb_convert_8 also for depths 5, 6
	and 7 (see above). Use gdk_rgb_convert_4_pack for 4 bits per pixel
	static color.
2002-04-04 20:23:56 +00:00
..
2001-12-23 22:59:30 +00:00
2001-12-05 00:06:40 +00:00
2001-11-30 22:55:28 +00:00
2002-01-11 03:47:49 +00:00
2001-12-23 22:59:30 +00:00
2002-01-31 15:48:58 +00:00
2001-12-06 21:38:12 +00:00
2002-02-18 03:29:00 +00:00
2001-11-30 22:55:28 +00:00
2002-03-05 21:04:09 +00:00