25 |
#define DISPEXTERN_H_INCLUDED |
#define DISPEXTERN_H_INCLUDED |
26 |
|
|
27 |
#ifdef HAVE_X_WINDOWS |
#ifdef HAVE_X_WINDOWS |
28 |
|
|
29 |
#include <X11/Xlib.h> |
#include <X11/Xlib.h> |
30 |
#ifdef USE_X_TOOLKIT |
#ifdef USE_X_TOOLKIT |
31 |
#include <X11/Intrinsic.h> |
#include <X11/Intrinsic.h> |
32 |
#endif /* USE_X_TOOLKIT */ |
#endif /* USE_X_TOOLKIT */ |
33 |
|
|
34 |
|
#else /* !HAVE_X_WINDOWS */ |
35 |
|
|
36 |
|
/* X-related stuff used by non-X gui code. */ |
37 |
|
|
38 |
|
typedef struct { |
39 |
|
unsigned long pixel; |
40 |
|
unsigned short red, green, blue; |
41 |
|
char flags; |
42 |
|
char pad; |
43 |
|
} XColor; |
44 |
|
|
45 |
#endif /* HAVE_X_WINDOWS */ |
#endif /* HAVE_X_WINDOWS */ |
46 |
|
|
47 |
#ifdef MSDOS |
#ifdef MSDOS |