1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-21 05:21:37 -07:00

Add definition of XColor.

This commit is contained in:
Juanma Barranquero 2002-10-23 16:54:36 +00:00
parent 316ed82195
commit b9c3f7eb15
2 changed files with 20 additions and 0 deletions

View file

@ -37,6 +37,16 @@ typedef struct OpaqueWindowPtr* Window;
typedef WindowPtr Window;
#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)

View file

@ -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;