comparison src/objects-x.h @ 442:abe6d1db359e r21-2-36

Import from CVS: tag r21-2-36
author cvs
date Mon, 13 Aug 2007 11:35:02 +0200
parents 8de8e3f6228a
children 79c6ff3eef26
comparison
equal deleted inserted replaced
441:72a7cfa4a488 442:abe6d1db359e
20 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 20 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
21 Boston, MA 02111-1307, USA. */ 21 Boston, MA 02111-1307, USA. */
22 22
23 /* Synched up with: Not in FSF. */ 23 /* Synched up with: Not in FSF. */
24 24
25 /* This file Mule-ized (more like Mule-verified) by Ben Wing, 7-10-00. */
26
25 #ifndef INCLUDED_objects_x_h_ 27 #ifndef INCLUDED_objects_x_h_
26 #define INCLUDED_objects_x_h_ 28 #define INCLUDED_objects_x_h_
27 29
28 #include "objects.h" 30 #include "objects.h"
29 31
41 43
42 #define X_COLOR_INSTANCE_DATA(c) ((struct x_color_instance_data *) (c)->data) 44 #define X_COLOR_INSTANCE_DATA(c) ((struct x_color_instance_data *) (c)->data)
43 #define COLOR_INSTANCE_X_COLOR(c) (X_COLOR_INSTANCE_DATA (c)->color) 45 #define COLOR_INSTANCE_X_COLOR(c) (X_COLOR_INSTANCE_DATA (c)->color)
44 #define COLOR_INSTANCE_X_DEALLOC(c) (X_COLOR_INSTANCE_DATA (c)->dealloc_on_gc) 46 #define COLOR_INSTANCE_X_DEALLOC(c) (X_COLOR_INSTANCE_DATA (c)->dealloc_on_gc)
45 47
46 int allocate_nearest_color (Display *display, Colormap screen_colormap, Visual *visual, 48 int allocate_nearest_color (Display *display, Colormap screen_colormap,
47 XColor *color_def); 49 Visual *visual, XColor *color_def);
48 int x_parse_nearest_color (struct device *d, XColor *color, Bufbyte *name,
49 Bytecount len, Error_behavior errb);
50 50
51 /***************************************************************************** 51 /*****************************************************************************
52 Font-Instance 52 Font-Instance
53 ****************************************************************************/ 53 ****************************************************************************/
54 54