diff options
author | paul <paul@FreeBSD.org> | 1994-11-13 06:45:44 +0000 |
---|---|---|
committer | paul <paul@FreeBSD.org> | 1994-11-13 06:45:44 +0000 |
commit | ec3127d29c777128be8df287d32e7ba0f04fb5a7 (patch) | |
tree | cd0c6245017543bfc740dc61d4255fac3130ed97 /lib/libforms/examples/example.frm | |
parent | f427ece6c5f21d208351c2b2a3e1a7eddad1150d (diff) | |
download | FreeBSD-src-ec3127d29c777128be8df287d32e7ba0f04fb5a7.zip FreeBSD-src-ec3127d29c777128be8df287d32e7ba0f04fb5a7.tar.gz |
The start of a forms editor library. Currently implements text and
input fields. It reads a template file passed to init_forms(char *)
and creates a curses based form editor. See the examples directory
for a basic demo.
Diffstat (limited to 'lib/libforms/examples/example.frm')
-rw-r--r-- | lib/libforms/examples/example.frm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/libforms/examples/example.frm b/lib/libforms/examples/example.frm new file mode 100644 index 0000000..f09ded5 --- /dev/null +++ b/lib/libforms/examples/example.frm @@ -0,0 +1,6 @@ +Form template: 0 0 24 79 +Text 0 0 "This is non-editable text field" +Input 1 2 4 2 3 3 2 2 8 "Prompt1:" 2 20 10 25 "First" +Input 2 3 1 4 2 2 5 2 8 "Prompt2:" 5 20 10 25 "Second" +Input 3 4 2 4 1 1 2 40 8 "Prompt3:" 2 50 10 25 "Third" +Input 4 1 2 1 4 4 10 2 8 "Prompt4:" 10 20 10 25 "Fourth" |