comparison dw.h @ 815:c1e93dd575a5

Initial implementation of a slightly disjointed dual cairo_surface gdkpixbuf image model.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Sat, 26 Mar 2011 04:53:41 +0000
parents 425f3d46b75f
children 2dd7638a7719
comparison
equal deleted inserted replaced
814:f5972669d7e9 815:c1e93dd575a5
1256 1256
1257 typedef struct _hpixmap { 1257 typedef struct _hpixmap {
1258 unsigned long width, height; 1258 unsigned long width, height;
1259 #if GTK_MAJOR_VERSION > 2 1259 #if GTK_MAJOR_VERSION > 2
1260 GdkPixbuf *pixbuf; /* the actual image */ 1260 GdkPixbuf *pixbuf; /* the actual image */
1261 cairo_surface_t *image; /* Going to have dual storage for now */
1261 #else 1262 #else
1262 GdkPixmap *pixmap; /* the actual image */ 1263 GdkPixmap *pixmap; /* the actual image */
1263 GdkBitmap *bitmap; /* if not null, the image mask representing the transparency mask */ 1264 GdkBitmap *bitmap; /* if not null, the image mask representing the transparency mask */
1264 #endif 1265 #endif
1265 HWND handle; 1266 HWND handle;