home *** CD-ROM | disk | FTP | other *** search
- /*
- * lemglobal.c -- global variables
- *
- * copyright (c) by Alan W. Paeth, 1987. All rights reserved.
- */
-
- #include "lem.h"
- #include "lemfont.h"
-
- /* global object array */
-
- pel objs[MAXOBJS];
- int lastobj;
-
- /* global font information */
-
- fontdir lemfont[RCLEN];
- BFont bfont[RCLEN];
-
- int rclen;
-
- /* command line globals */
-
- char *firstfile; /* name of first input dataset */
- int displayon; /* true if display is running */
-
- /* global cursor and screen info */
-
- int changes; /* objects added/deleted since last write */
- int tickflag, ticksize; /* true if ticks turned on, tick size [0..6] */
- int tx, ty; /* tick x,y spacing */
- int txoff, tyoff; /* tick x,y offset */
- int tickdot; /* hwidth of tick dot: 0/1 for DEC/SUN X-windows */
- int markx, marky; /* current mark */
- int markon; /* if any mark is present */
- int markobj; /* object number if mark is present and on an object */
- int anysel; /* if at least one selection */
-
- char gtype; /* default object creation */
- char galign; /* default alignment */
- char gemph; /* default emphasis */
- char gsize; /* default size */
-
- /* undo information */
-
- char undo; /* 'T' - transform 'M' - move 'U' - undelete */
- int unx,uny, unxe,unye; /* translation and affine transformation values */
- float un11, un12, un21, un22;
-
- int screenw, screenh; /* maximum screen size */
- int cred, cgreen, cwhite, cblack; /* system colors */
- char line[MAXCHAR]; /* input text line */
- char msgtext[MAXCHAR]; /* pending warning messages */
- char prompttext[MAXCHAR]; /* messages to the user */
-