From 73e66133d0988da868c1e3eeaa86e3a20f257506 Mon Sep 17 00:00:00 2001 From: Jason Rumney Date: Wed, 20 Mar 2002 21:00:50 +0000 Subject: [PATCH] (struct XImage): Define. --- src/w32gui.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/w32gui.h b/src/w32gui.h index 12e77e3fecc..9f59290027c 100644 --- a/src/w32gui.h +++ b/src/w32gui.h @@ -78,8 +78,13 @@ typedef DWORD Time; typedef HWND Window; typedef HCURSOR Cursor; -/* Dummy; we don't yet support images in the Windows port */ -typedef int XImage; +/* Windows equivalent of XImage. */ +typedef struct _XImage +{ + unsigned char * data; + BITMAPINFO info; + /* Optional RGBQUAD array for palette follows (see BITMAPINFO docs). */ +} XImage; #define FACE_DEFAULT (~0) -- 2.39.2