1 /* This file is part of the Project Athena Zephyr Notification System.
2 * It is one of the source files comprising zwgc, the Zephyr WindowGram
5 * Created by: Marc Horowitz <marc@athena.mit.edu>
9 * Copyright (c) 1989 by the Massachusetts Institute of Technology.
10 * For copying and distribution information, see the file
15 #include <zephyr/mit-copyright.h>
21 #include <X11/Xutil.h>
24 #include "formatter.h"
26 typedef struct _xblock {
27 unsigned long fgcolor;
30 int x1,y1,x2,y2; /* bounds of block. used for cut and paste. */
35 typedef struct _x_gram {
36 unsigned long bgcolor;
40 struct _x_gram *below,*above;
42 struct timeval can_die;
45 typedef struct _xauxblock {
53 typedef struct _xmode {
64 typedef struct _xlinedesc {
74 /* alignment values: */
79 extern void x_gram_init(Display *);
80 extern void x_gram_create(Display *, x_gram *, int, int, int, int, int, int, int);
81 extern void x_gram_expose(Display *, Window, x_gram *, XExposeEvent *);
82 extern void xshow(Display *, desctype *, int, int);
83 extern void xcut(Display *, XEvent *, XContext);
84 extern void x_get_input(Display *);
85 extern void xshowinit(void);