1 |
greg |
1.1 |
/* Copyright (c) 1987 Regents of the University of California */ |
2 |
|
|
|
3 |
|
|
/* SCCSid "$SunId$ LBL" */ |
4 |
|
|
|
5 |
|
|
/* |
6 |
|
|
* xtwind.h - header for X text window routines. |
7 |
|
|
* |
8 |
|
|
* 10/30/87 |
9 |
|
|
*/ |
10 |
|
|
|
11 |
|
|
#define LEFTMAR 2 /* left margin width */ |
12 |
|
|
|
13 |
|
|
typedef struct { |
14 |
|
|
Window w; /* window */ |
15 |
|
|
FontInfo f; /* font information */ |
16 |
|
|
short nc, nr; /* text size */ |
17 |
|
|
char **lp; /* null-terminated lines */ |
18 |
|
|
short c, r; /* current position */ |
19 |
|
|
short cursor; /* cursor type */ |
20 |
|
|
} TEXTWIND; /* a text window */ |
21 |
|
|
|
22 |
|
|
#define TNOCURS 0 |
23 |
|
|
#define TBLKCURS 1 |
24 |
|
|
|
25 |
|
|
extern TEXTWIND *xt_open(); |