Merged DDBitmap and physBitmap into the generic bitmap structure
(suggested by Andrew Lewycky).
diff --git a/include/bitmap.h b/include/bitmap.h
index 9c699dc..4d171fb 100644
--- a/include/bitmap.h
+++ b/include/bitmap.h
@@ -18,20 +18,14 @@
#define DDB_COPY 4
#define DDB_SETWITHFILLER 8
-typedef struct {
- const struct tagDC_FUNCS *funcs; /* DC function table */
- void *physBitmap; /* ptr to device specific data */
-} DDBITMAP;
-
/* GDI logical bitmap object */
typedef struct tagBITMAPOBJ
{
GDIOBJHDR header;
BITMAP bitmap;
SIZE size; /* For SetBitmapDimension() */
-
- DDBITMAP *DDBitmap;
-
+ const struct tagDC_FUNCS *funcs; /* DC function table */
+ void *physBitmap; /* ptr to device specific data */
/* For device-independent bitmaps: */
DIBSECTION *dib;
} BITMAPOBJ;