mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-05 12:19:30 +00:00
6dd3a38fff
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.
28 lines
409 B
C
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);
|