]> git.eshelyaron.com Git - emacs.git/commitdiff
(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 12e77e3feccc0dcf42d3e423c416126a71ac412c..9f59290027cb1a0fd457f7ed734a7718a6b1e0a8 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)