blob: 15e63769fe9130b507c293813d89bd1973e6bcce (
plain) (
blame)
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
/************************************************************/
/* Windows Write, Copyright 1985-1992 Microsoft Corporation */
/************************************************************/
/* Originally, this file contained nothing but screen constants, but these
constants had to become variables to account for all different display devices.
*/
/* size of lines for dnMax estimation purposes */
extern int dypAveInit;
/* width of the selection bar area to the left of lines */
extern int xpSelBar;
extern int dxpScrlBar;
extern int dypScrlBar;
extern int dxpInfoSize;
#define xaRightMax 31680
extern int xpRightMax;
extern int xpMinScroll;
extern int xpRightLim;
/* these define the initial window size and amount of white space above
the first line */
extern int ypMaxWwInit;
/* should be > than largest window height + height of blank line after
the endmark */
extern int ypMaxAll; /* used for invalidation */
extern int dypWwInit;
extern int dypBand; /* formerly dpxyLineSizeMin */
extern int dypRuler;
extern int ypSubSuper;
/* number of quanta in elevator control */
#define drMax 256
#define ctcAuto 10
#define ctrAuto 4
#define cxpAuto 72
/* DL structure revised, 3 Sept KJS, CS */
/* 14 Nov 89 ..pault (changed dcpMac from int to
typeCP because we experienced
wraparound when sizing large
graphics objects) */
struct EDL
{
unsigned char dcpDepend : 8;
unsigned char ichCpMin : 8;
unsigned fValid : 1;
#ifdef CASHMERE
unsigned fStyleInfo : 1;
#else
unsigned fSplat: 1;
#endif
unsigned fGraphics : 1;
unsigned fIchCpIncr : 1;
unsigned xpLeft : 12;
typeCP dcpMac; /* representing cpMac */
typeCP cpMin;
int xpMac;
int dyp; /* height of the dl */
int yp; /* position of the dl */
};
#define cchEDL (sizeof (struct EDL))
#define cwEDL (cchEDL / sizeof(int))
#define cedlInit 20
|