changeset 44046:994f2deaa5bc

(struct XImage): Define.
author Jason Rumney <jasonr@gnu.org>
date Wed, 20 Mar 2002 21:00:50 +0000
parents b90b8e8e3626
children 73645cbc79a7
files src/w32gui.h
diffstat 1 files changed, 7 insertions(+), 2 deletions(-) [+]
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)