comparison src/glyphs.h @ 265:8efd647ea9ca r20-5b31

Import from CVS: tag r20-5b31
author cvs
date Mon, 13 Aug 2007 10:25:37 +0200
parents b405438285a2
children b2472a1930f2
comparison
equal deleted inserted replaced
264:682d2a9d41a5 265:8efd647ea9ca
340 Lisp_Object filename; /* string or Qnil */ 340 Lisp_Object filename; /* string or Qnil */
341 Lisp_Object mask_filename; /* string or Qnil */ 341 Lisp_Object mask_filename; /* string or Qnil */
342 Lisp_Object fg, bg; /* foreground and background colors, 342 Lisp_Object fg, bg; /* foreground and background colors,
343 if this is a colorized mono-pixmap 343 if this is a colorized mono-pixmap
344 or a pointer */ 344 or a pointer */
345 Lisp_Object auxdata; /* list or Qnil: any additional data
346 to be seen from lisp */
345 } pixmap; /* used for pointers as well */ 347 } pixmap; /* used for pointers as well */
346 struct 348 struct
347 { 349 {
348 int dummy; /* #### fill in this structure */ 350 int dummy; /* #### fill in this structure */
349 } subwindow; 351 } subwindow;
369 #define IMAGE_INSTANCE_PIXMAP_MASK_FILENAME(i) ((i)->u.pixmap.mask_filename) 371 #define IMAGE_INSTANCE_PIXMAP_MASK_FILENAME(i) ((i)->u.pixmap.mask_filename)
370 #define IMAGE_INSTANCE_PIXMAP_HOTSPOT_X(i) ((i)->u.pixmap.hotspot_x) 372 #define IMAGE_INSTANCE_PIXMAP_HOTSPOT_X(i) ((i)->u.pixmap.hotspot_x)
371 #define IMAGE_INSTANCE_PIXMAP_HOTSPOT_Y(i) ((i)->u.pixmap.hotspot_y) 373 #define IMAGE_INSTANCE_PIXMAP_HOTSPOT_Y(i) ((i)->u.pixmap.hotspot_y)
372 #define IMAGE_INSTANCE_PIXMAP_FG(i) ((i)->u.pixmap.fg) 374 #define IMAGE_INSTANCE_PIXMAP_FG(i) ((i)->u.pixmap.fg)
373 #define IMAGE_INSTANCE_PIXMAP_BG(i) ((i)->u.pixmap.bg) 375 #define IMAGE_INSTANCE_PIXMAP_BG(i) ((i)->u.pixmap.bg)
376 #define IMAGE_INSTANCE_PIXMAP_AUXDATA(i) ((i)->u.pixmap.auxdata)
374 377
375 #define XIMAGE_INSTANCE_DEVICE(i) \ 378 #define XIMAGE_INSTANCE_DEVICE(i) \
376 IMAGE_INSTANCE_DEVICE (XIMAGE_INSTANCE (i)) 379 IMAGE_INSTANCE_DEVICE (XIMAGE_INSTANCE (i))
377 #define XIMAGE_INSTANCE_NAME(i) \ 380 #define XIMAGE_INSTANCE_NAME(i) \
378 IMAGE_INSTANCE_NAME (XIMAGE_INSTANCE (i)) 381 IMAGE_INSTANCE_NAME (XIMAGE_INSTANCE (i))