freebsd-skq/sbin/sysinstall/editor.h

28 lines
409 B
C
Raw Normal View History

1994-11-18 18:24:00 +00:00
#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;
1994-11-18 18:24:00 +00:00
};
#define F_EDIT 0
#define F_TITLE 1
#define F_BUTTON 2
#define F_TOGGLE 3
1994-11-18 18:24:00 +00:00
int disp_fields(WINDOW *, struct field *, int);
int change_field(struct field, int);
int edit_line(WINDOW *, int, int, char *, int, int);