(struct XImage): Define.
authorJason Rumney <jasonr@gnu.org>
Wed, 20 Mar 2002 21:00:50 +0000 (21:00 +0000)
committerJason Rumney <jasonr@gnu.org>
Wed, 20 Mar 2002 21:00:50 +0000 (21:00 +0000)
src/w32gui.h

index 12e77e3..9f59290 100644 (file)
@@ -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)