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>
7 * $Id: X_gram.h 2437 2009-04-21 04:11:03Z kcr@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. */
37 typedef struct _x_gram {
38 unsigned long bgcolor;
42 struct _x_gram *below,*above;
47 struct timeval can_die;
50 typedef struct _xauxblock {
58 typedef struct _xmode {
69 typedef struct _xlinedesc {
79 /* alignment values: */
84 extern void x_gram_init(Display *);
85 extern void x_gram_create(Display *, x_gram *, int, int, int, int, int, int, int);
86 extern void x_gram_expose(Display *, Window, x_gram *, XExposeEvent *);
87 extern void xshow(Display *, desctype *, int, int);
88 extern void xcut(Display *, XEvent *, XContext);
89 extern void x_get_input(Display *);
90 extern void xshowinit(void);