Mercurial > dwindows
diff dw.h @ 1253:28c2c7e6671c
On GTK2 save the original pixbuf that is loaded so we can use it
to store the alpha channel for use later when doing stretched
bitblts... only negative is when drawing to pixmaps it won't
modify the alpha mask.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Mon, 24 Oct 2011 05:21:29 +0000 |
parents | c191a562c14a |
children | 61d0c5f84644 |
line wrap: on
line diff
--- a/dw.h Mon Oct 24 03:44:24 2011 +0000 +++ b/dw.h Mon Oct 24 05:21:29 2011 +0000 @@ -1260,8 +1260,10 @@ unsigned long width, height; HWND handle; char *font; +#if GTK_MAJOR_VERSION > 1 + GdkPixbuf *pixbuf; /* the actual image */ +#endif #if GTK_MAJOR_VERSION > 2 - GdkPixbuf *pixbuf; /* the actual image */ cairo_surface_t *image; /* Going to have dual storage for now */ #else GdkPixmap *pixmap; /* the actual image */