freebsd-dev/sbin/sysinstall/editor.h
Paul Richards 6dd3a38fff Implemented buttons for all the screens.
Could do with some cosmetic tuning regarding placement and things.

Fixed some dialog code (from Andrew).
Pass mountpoints onto stage2 in a struct fstab *mounts[]
Fix all the field connections to conform to the new L&F document.
1994-11-19 17:29:19 +00:00

28 lines
409 B
C

#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);