summaryrefslogtreecommitdiffstats
path: root/lib/libforms/internal.h
diff options
context:
space:
mode:
authorpaul <paul@FreeBSD.org>1995-03-26 07:44:33 +0000
committerpaul <paul@FreeBSD.org>1995-03-26 07:44:33 +0000
commite0abbde8cf65bc85c00329f124c29ebadabca1a4 (patch)
tree74529f2af39672789431bf89b4541f799c86b669 /lib/libforms/internal.h
parent91aac05da2413bf79364520453818b2c52f8650e (diff)
downloadFreeBSD-src-e0abbde8cf65bc85c00329f124c29ebadabca1a4.zip
FreeBSD-src-e0abbde8cf65bc85c00329f124c29ebadabca1a4.tar.gz
Use a hash table to hold all the bindings info rather than a linked list.
Forms now have their own local bindings table so that anything declared within a form is local to that form. This means you can have fields of the same name in different forms. Added inlined attribute setting for strings e.g. "This is \bold bold" Added entry and exit functions for fields.
Diffstat (limited to 'lib/libforms/internal.h')
-rw-r--r--lib/libforms/internal.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libforms/internal.h b/lib/libforms/internal.h
index 96b099c..f91b8395 100644
--- a/lib/libforms/internal.h
+++ b/lib/libforms/internal.h
@@ -58,8 +58,9 @@ unsigned int do_key_bind(struct Form *, unsigned int);
int do_action(struct Form *);
int do_menu(struct Form *);
int do_input(struct Form *);
-int init_field(struct Field *);
-
+int init_field(char *, void *, void *);
+int calc_string_width(char *);
+void calc_field_height(struct Field *, char *);
#ifdef not
static void show_form(struct form *);
OpenPOWER on IntegriCloud