Mercurial > dwindows
comparison dw.h @ 776:425f3d46b75f
Accidentally clobbered something in dw.h required for GTK 2.x.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sun, 20 Mar 2011 05:21:09 +0000 |
parents | 5ec50e403a8a |
children | c1e93dd575a5 |
comparison
equal
deleted
inserted
replaced
775:5ec50e403a8a | 776:425f3d46b75f |
---|---|
1254 int size; | 1254 int size; |
1255 }; | 1255 }; |
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 GdkPixbuf *pixbuf; /* the actual image */ | 1260 GdkPixbuf *pixbuf; /* the actual image */ |
1261 #else | |
1262 GdkPixmap *pixmap; /* the actual image */ | |
1263 GdkBitmap *bitmap; /* if not null, the image mask representing the transparency mask */ | |
1264 #endif | |
1260 HWND handle; | 1265 HWND handle; |
1261 } *HPIXMAP; | 1266 } *HPIXMAP; |
1262 | 1267 |
1263 typedef GtkWidget *HMENUI; | 1268 typedef GtkWidget *HMENUI; |
1264 typedef void *HTREEITEM; | 1269 typedef void *HTREEITEM; |