comparison dw.h @ 1148:439f276042cc

Implemented dw_pixmap_set_font() on GTK3. Better fix for missing font during dw_draw_text() on GTK3... Don't clobber fontname variable.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Sun, 11 Sep 2011 22:09:10 +0000
parents 9d97610b2140
children 58b5374355ab
comparison
equal deleted inserted replaced
1147:091ed7c20b3f 1148:439f276042cc
1257 }; 1257 };
1258 1258
1259 typedef struct _hpixmap { 1259 typedef struct _hpixmap {
1260 unsigned long width, height; 1260 unsigned long width, height;
1261 HWND handle; 1261 HWND handle;
1262 void *font; 1262 char *font;
1263 #if GTK_MAJOR_VERSION > 2 1263 #if GTK_MAJOR_VERSION > 2
1264 GdkPixbuf *pixbuf; /* the actual image */ 1264 GdkPixbuf *pixbuf; /* the actual image */
1265 cairo_surface_t *image; /* Going to have dual storage for now */ 1265 cairo_surface_t *image; /* Going to have dual storage for now */
1266 #else 1266 #else
1267 GdkPixmap *pixmap; /* the actual image */ 1267 GdkPixmap *pixmap; /* the actual image */