Commit b9c3f7eb authored by Juanma Barranquero's avatar Juanma Barranquero
Browse files

Add definition of XColor.

parent 316ed821
...@@ -37,6 +37,16 @@ typedef struct OpaqueWindowPtr* Window; ...@@ -37,6 +37,16 @@ typedef struct OpaqueWindowPtr* Window;
typedef WindowPtr Window; typedef WindowPtr Window;
#endif #endif
/* 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) #define FACE_DEFAULT (~0)
......
...@@ -86,6 +86,16 @@ typedef struct _XImage ...@@ -86,6 +86,16 @@ typedef struct _XImage
/* Optional RGBQUAD array for palette follows (see BITMAPINFO docs). */ /* Optional RGBQUAD array for palette follows (see BITMAPINFO docs). */
} XImage; } 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) #define FACE_DEFAULT (~0)
extern HINSTANCE hinst; extern HINSTANCE hinst;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment