diff options
| author | Paul Richards <paul@FreeBSD.org> | 1995-03-26 07:44:33 +0000 |
|---|---|---|
| committer | Paul Richards <paul@FreeBSD.org> | 1995-03-26 07:44:33 +0000 |
| commit | 62773adf71f81f85a396213412e55bec1f9c7186 (patch) | |
| tree | 74529f2af39672789431bf89b4541f799c86b669 /lib/libforms/forms.h | |
| parent | bdb44d5fb6c056c07dc2ad478bb50b3756349a8a (diff) | |
Notes
Diffstat (limited to 'lib/libforms/forms.h')
| -rw-r--r-- | lib/libforms/forms.h | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/lib/libforms/forms.h b/lib/libforms/forms.h index 636b55c90979..ae1c06d8e341 100644 --- a/lib/libforms/forms.h +++ b/lib/libforms/forms.h @@ -80,7 +80,6 @@ struct Form { char *startfield; struct Field *current_field; struct Field *prev_field; - struct Field *fieldlist; int height; int width; int y; @@ -88,6 +87,7 @@ struct Form { int attr; char *colortable; WINDOW *window; + hash_table *bindings; }; struct TextField { @@ -117,6 +117,8 @@ struct help_link { struct Field { char *defname; + char *enter; + char *leave; int type; int y; int x; @@ -136,7 +138,6 @@ struct Field { struct InputField *input; struct MenuField *menu; }field; - struct Field *next; /* struct help_link help; */ @@ -146,18 +147,11 @@ struct Field { extern unsigned int keymap[]; /* Externally visible function declarations */ -struct Form *form_start(const char *); -struct Tuple *form_get_tuple(const char *, TupleType); -struct Tuple *form_next_tuple(const char *, TupleType, struct Tuple *); -int form_bind_tuple(char *, TupleType, void *); +struct Form *form_start(char *); +struct Tuple *form_get_tuple(hash_table *, char *, TupleType); +int form_bind_tuple(hash_table *, char *, TupleType, void *); void print_status(char *); void exit_form(struct Form *form); void cancel_form(struct Form *form); - - -#ifdef not -int update_form(struct form *); -int initfrm(struct form *); -void endfrm(struct form *); void print_status(char *); -#endif +int add_menu_option(struct MenuField *, char *); |
