diff src/w32gui.h @ 44046:994f2deaa5bc

(struct XImage): Define.
author Jason Rumney <jasonr@gnu.org>
date Wed, 20 Mar 2002 21:00:50 +0000
parents 57a44aac3228
children cd58bd276a86
line wrap: on
line diff
--- a/src/w32gui.h	Wed Mar 20 20:58:03 2002 +0000
+++ b/src/w32gui.h	Wed Mar 20 21:00:50 2002 +0000
@@ -78,8 +78,13 @@
 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)