Moved the BITMAPOBJ structure to gdi_private.h.
authorAlexandre Julliard <julliard@winehq.org>
Wed, 13 Apr 2005 16:11:18 +0000 (16:11 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 13 Apr 2005 16:11:18 +0000 (16:11 +0000)
dlls/gdi/bitmap.c
dlls/gdi/gdi_private.h
dlls/gdi/wing.c
include/gdi.h

index 10d5b0141b108cbf8ee9fe0c7b7e11fc8be484cc..19517edfa7171ae6e999ae557cd5549c8381a0c6 100644 (file)
@@ -277,7 +277,6 @@ HBITMAP WINAPI CreateBitmapIndirect( const BITMAP *bmp )
     bmpobj->bitmap = bm;
     bmpobj->bitmap.bmBits = NULL;
     bmpobj->funcs = NULL;
-    bmpobj->physBitmap = NULL;
     bmpobj->dib = NULL;
     bmpobj->segptr_bits = 0;
 
index c87eec20e2f11395cca3220e762e7c5373cb40f1..77201f0254e5d4c80cb01190a91380c81512c1f4 100644 (file)
@@ -294,6 +294,19 @@ static inline INT GDI_ROUND(FLOAT val)
    return (int)floor(val + 0.5);
 }
 
+/* bitmap object */
+
+typedef struct tagBITMAPOBJ
+{
+    GDIOBJHDR           header;
+    BITMAP              bitmap;
+    SIZE                size;   /* For SetBitmapDimension() */
+    const DC_FUNCTIONS *funcs; /* DC function table */
+    /* For device-independent bitmaps: */
+    DIBSECTION         *dib;
+    SEGPTR              segptr_bits;  /* segptr to DIB bits */
+} BITMAPOBJ;
+
 /* bidi.c */
 
 /* Wine_GCPW Flags */
index 7124424a1a764fb3ccb6bf84b379e7954735c087..fc28cd67da076b30a9e4bdc21d0648915c4638b9 100644 (file)
@@ -23,6 +23,7 @@
 #include "windef.h"
 #include "wownt32.h"
 #include "gdi.h"
+#include "gdi_private.h"
 #include "wine/wingdi16.h"
 #include "wine/debug.h"
 
index 0faae82a4edbfa6b538faa8d10c1db86c1d02503..e4f608553dae612173ad688c6d4573deabff5847 100644 (file)
@@ -65,20 +65,6 @@ typedef struct tagGDIOBJHDR
     struct hdc_list *hdcs;
 } GDIOBJHDR;
 
-/* bitmap object */
-
-typedef struct tagBITMAPOBJ
-{
-    GDIOBJHDR   header;
-    BITMAP      bitmap;
-    SIZE        size;   /* For SetBitmapDimension() */
-    const struct tagDC_FUNCS *funcs; /* DC function table */
-    void       *physBitmap; /* ptr to device specific data */
-    /* For device-independent bitmaps: */
-    DIBSECTION *dib;
-    SEGPTR      segptr_bits;  /* segptr to DIB bits */
-} BITMAPOBJ;
-
 /* palette object */
 
 #define NB_RESERVED_COLORS     20   /* number of fixed colors in system palette */