diff options
| author | Juanma Barranquero | 2002-10-23 16:54:36 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2002-10-23 16:54:36 +0000 |
| commit | b9c3f7eb150b3e91c83c1fccc34de075d8ef9a6d (patch) | |
| tree | 01d99d75c2b21f5b1cc31712429822b9deab49ae /src/w32gui.h | |
| parent | 316ed8219536370e4c278c388b902bc148cad74b (diff) | |
| download | emacs-b9c3f7eb150b3e91c83c1fccc34de075d8ef9a6d.tar.gz emacs-b9c3f7eb150b3e91c83c1fccc34de075d8ef9a6d.zip | |
Add definition of XColor.
Diffstat (limited to 'src/w32gui.h')
| -rw-r--r-- | src/w32gui.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/w32gui.h b/src/w32gui.h index 9f59290027c..4121639fbf6 100644 --- a/src/w32gui.h +++ b/src/w32gui.h | |||
| @@ -86,6 +86,16 @@ typedef struct _XImage | |||
| 86 | /* Optional RGBQUAD array for palette follows (see BITMAPINFO docs). */ | 86 | /* Optional RGBQUAD array for palette follows (see BITMAPINFO docs). */ |
| 87 | } XImage; | 87 | } XImage; |
| 88 | 88 | ||
| 89 | /* A definition of XColor for non-X frames. */ | ||
| 90 | #ifndef HAVE_X_WINDOWS | ||
| 91 | typedef struct { | ||
| 92 | unsigned long pixel; | ||
| 93 | unsigned short red, green, blue; | ||
| 94 | char flags; | ||
| 95 | char pad; | ||
| 96 | } XColor; | ||
| 97 | #endif | ||
| 98 | |||
| 89 | #define FACE_DEFAULT (~0) | 99 | #define FACE_DEFAULT (~0) |
| 90 | 100 | ||
| 91 | extern HINSTANCE hinst; | 101 | extern HINSTANCE hinst; |