blob: 2783cc811a39b99744cf1ace8362ecb8470c46e7 (
plain)
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
|
#define ESC 27
#define TAB 9
struct field {
int y;
int x;
int width;
int maxlen;
int next;
int up;
int down;
int left;
int right;
char field[80];
int type;
int spare;
char *misc;
};
#define F_EDIT 0
#define F_TITLE 1
#define F_BUTTON 2
#define F_TOGGLE 3
int disp_fields(WINDOW *, struct field *, int);
int change_field(struct field, int);
int edit_line(WINDOW *, int, int, char *, int, int);
|