diff options
author | paul <paul@FreeBSD.org> | 1995-03-26 07:44:33 +0000 |
---|---|---|
committer | paul <paul@FreeBSD.org> | 1995-03-26 07:44:33 +0000 |
commit | e0abbde8cf65bc85c00329f124c29ebadabca1a4 (patch) | |
tree | 74529f2af39672789431bf89b4541f799c86b669 /lib/libforms/examples/example.frm | |
parent | 91aac05da2413bf79364520453818b2c52f8650e (diff) | |
download | FreeBSD-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/examples/example.frm')
-rw-r--r-- | lib/libforms/examples/example.frm | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/libforms/examples/example.frm b/lib/libforms/examples/example.frm index d1f5349..f28b2c6 100644 --- a/lib/libforms/examples/example.frm +++ b/lib/libforms/examples/example.frm @@ -1,9 +1,14 @@ -field1 { attributes = 0 text = "This text is bold and flashy" } +Colours example_colors { + pair = red, yellow + pair = blue, white +} + +field1 { attributes = 0 text = "\standout This text is \bold bold and \blink flashy" } field2 { height = 2 width = 22 - text = "This is an input field with a default" + text = "This is an input fieldwith a default" } field3 { |