summaryrefslogtreecommitdiff
path: root/src/w32gui.h
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2002-10-23 16:54:36 +0000
committerJuanma Barranquero <lekktu@gmail.com>2002-10-23 16:54:36 +0000
commitb9c3f7eb150b3e91c83c1fccc34de075d8ef9a6d (patch)
tree01d99d75c2b21f5b1cc31712429822b9deab49ae /src/w32gui.h
parent316ed8219536370e4c278c388b902bc148cad74b (diff)
downloademacs-b9c3f7eb150b3e91c83c1fccc34de075d8ef9a6d.tar.gz
Add definition of XColor.
Diffstat (limited to 'src/w32gui.h')
-rw-r--r--src/w32gui.h10
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
/* Optional RGBQUAD array for palette follows (see BITMAPINFO docs). */
} XImage;
+/* A definition of XColor for non-X frames. */
+#ifndef HAVE_X_WINDOWS
+typedef struct {
+ unsigned long pixel;
+ unsigned short red, green, blue;
+ char flags;
+ char pad;
+} XColor;
+#endif
+
#define FACE_DEFAULT (~0)
extern HINSTANCE hinst;