/
VARS.C
48 lines (41 loc) · 1.45 KB
/
VARS.C
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/* vars.c - global variables
*
* Author:
* Benjamin W. Slivka
* (c) 1987,1988
* Microsoft Corporation
*
* History:
* 17-Aug-1987 bws Removed unneeded globals
* 13-Feb-1988 bws Add fColor flag
*/
#include "asrt.h"
#include "vio.h"
#include "ps.h"
#include "os2.h"
#include "queue.h"
int N_of_Cols; /* Number of columns on screen */
int N_of_Rows; /* Number of rows on screen */
int dataRows; /* Number of rows in data region */
int color[] = {
attr(blue,black), /* border */
attr(green,black), /* title */
attr(red,black), /* header */
attr(white,black), /* menu */
attr(black,white), /* cursor */
attr(blue,white), /* help */
attr(white,black), /* data */
attr(white,blue), /* option screen */
attr(white,blue), /* option field */
attr(blue,white), /* option cursor */
attr(magenta,black) /* debug text */
};
int cColors=sizeof(color)/sizeof(int); /* Number of entries in color array */
int fDebug=FALSE; /* TRUE for debug output */
int fXDebug=FALSE; /* TRUE for eXtensive debug output */
int fFile=FALSE; /* TRUE if dump images to file */
int fProfile=FALSE; /* TRUE for profiling */
int fRecord=FALSE; /* TRUE if echo OS records */
int f43mode=TRUE; /* TRUE if 43 line mode desired */
int fColor=TRUE; /* TRUE if colors desired */
dword refreshPeriod=300; /* refresh period, in milliseconds */