Commit | Line | Data |
---|---|---|
ed5733e5 RC |
1 | /* aed.h 4.1 83/11/11 */ |
2 | /* | |
3 | * Displays plot files on an AED512 graphics terminal. | |
4 | */ | |
5 | ||
6 | #include <stdio.h> | |
7 | #include <sgtty.h> | |
8 | ||
9 | extern char dbuf[BUFSIZ]; /* Used to buffer display characters */ | |
10 | extern struct sgttyb sgttyb; /* Used to save terminal control bits */ | |
11 | extern curx, cury; /* Current screen position */ | |
12 | extern int xbot, ybot; /* Coordinates of screen lower-left corner */ | |
13 | extern int scale; /* The number of pixels per 2**12 units | |
14 | * of world coordinates. | |
15 | */ | |
16 | ||
17 | /* The following variables describe the screen. */ | |
18 | ||
19 | #define GRXMAX 511 /* Maximum x-coordinate of screen */ | |
20 | #define GRYMAX 482 /* Maximum y-coordinate of screen */ |