diff options
author | Jason Rumney <jasonr@gnu.org> | 2002-03-20 21:00:50 +0000 |
---|---|---|
committer | Jason Rumney <jasonr@gnu.org> | 2002-03-20 21:00:50 +0000 |
commit | 73e66133d0988da868c1e3eeaa86e3a20f257506 (patch) | |
tree | 7055acc1ca025863016c8cb3e7ae93cbf8dbceab /src/w32gui.h | |
parent | e81916d1ba3fcf0a09fb7634f1d0c982714a39d6 (diff) |
(struct XImage): Define.
Diffstat (limited to 'src/w32gui.h')
-rw-r--r-- | src/w32gui.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/w32gui.h b/src/w32gui.h index 12e77e3fec..9f59290027 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) |