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: xmark.h,v 1.6 1999/01/22 23:20:45 ghudson Exp $
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>
20 #define XMARK_START_BOUND 0
21 #define XMARK_END_BOUND 1
22 #define XMARK_TEMP_BOUND 2
24 #define XMARK_REDRAW_CURRENT 1
25 #define XMARK_REDRAW_OLD 2
26 #define XMARK_REDRAW_START 3
27 #define XMARK_REDRAW_END 4
29 #define xmarkStart(gram,x,y) xmarkSetBound(gram,x,y,XMARK_START_BOUND)
30 #define xmarkEnd(gram,x,y) xmarkSetBound(gram,x,y,XMARK_END_BOUND)
32 extern int markblock[];
33 extern int markchar[];
34 extern int markpixel[];
35 extern x_gram *markgram;
37 #define STARTBLOCK (markblock[XMARK_START_BOUND])
38 #define ENDBLOCK (markblock[XMARK_END_BOUND])
39 #define STARTCHAR (markchar[XMARK_START_BOUND])
40 #define ENDCHAR (markchar[XMARK_END_BOUND])
41 #define STARTPIXEL (markpixel[XMARK_START_BOUND])
42 #define ENDPIXEL (markpixel[XMARK_END_BOUND])
44 extern void xmarkSetBound();
45 extern int xmarkSecond();
46 extern void xmarkRedraw();
47 extern void xmarkClear();
48 extern int xmarkExtendFromStart();
49 extern int xmarkExtendFromNearest();