changeset 54363:58fe37b82d00

(XImagePtr, XImagePtr_or_DC): Move typedefs to dispextern.h.
author Kim F. Storm <storm@cua.dk>
date Thu, 11 Mar 2004 22:43:06 +0000
parents 64ae6f2c8fee
children 935dc2deee34
files src/image.c
diffstat 1 files changed, 0 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/src/image.c	Thu Mar 11 22:42:47 2004 +0000
+++ b/src/image.c	Thu Mar 11 22:43:06 2004 +0000
@@ -49,8 +49,6 @@
 #define COLOR_TABLE_SUPPORT 1
 
 typedef struct x_bitmap_record Bitmap_Record;
-typedef XImage * XImagePtr;
-typedef XImagePtr XImagePtr_or_DC;
 #define GET_PIXEL(ximg, x, y) XGetPixel(ximg, x, y)
 #define NO_PIXMAP None
 #define PNG_BG_COLOR_SHIFT 0
@@ -69,8 +67,6 @@
 #undef COLOR_TABLE_SUPPORT
 
 typedef struct w32_bitmap_record Bitmap_Record;
-typedef XImage *XImagePtr;
-typedef HDC XImagePtr_or_DC;
 #define GET_PIXEL(ximg, x, y) GetPixel(ximg, x, y)
 #define NO_PIXMAP 0
 #define PNG_BG_COLOR_SHIFT 0
@@ -103,12 +99,9 @@
 /* MAC_TODO : Color tables on Mac.  */
 #undef COLOR_TABLE_SUPPORT
 
-/* Mac equivalent of XImage.  */
-typedef Pixmap XImagePtr;
 #define ZPixmap 0 		/* arbitrary */
 typedef struct mac_bitmap_record Bitmap_Record;
 
-typedef XImagePtr XImagePtr_or_DC;
 #define GET_PIXEL(ximg, x, y) XGetPixel(ximg, x, y)
 #define NO_PIXMAP 0
 #define PNG_BG_COLOR_SHIFT 8