1 /* 2 window.h 3 4 Mike Hufnagel and Bill Kendrick 5 Last modified: 11/18/95 (clean up) 6 7 Window creation routines. 8 */ 9 10 #ifndef WINDOW_H 11 #define WINDOW_H 12 13 #include <X11/Xlib.h> 14 #include <X11/Xutil.h> 15 16 #define BORDER_WIDTH 2 17 18 Window OpenWindow(Display *display, Window parent, int x, int y, int width, 19 int height, unsigned long bordercolor, 20 unsigned long backcolor, unsigned long event_mask, 21 Visual *visual); 22 /* 23 Creates a window. 24 25 returns: Window id. 26 */ 27 28 #endif /* WINDOW_H */ 29