summaryrefslogtreecommitdiffstats
path: root/lib/libforms/examples
Commit message (Collapse)AuthorAgeFilesLines
* Remove libforms, it was never used.jkh1996-06-193-239/+0
|
* recording cvs-1.6 file deathpeter1995-12-302-112/+0
|
* Removed libdialog.paul1995-09-161-1/+1
|
* Remove trailing whitespace.rgrimes1995-05-301-2/+2
|
* New libforms.paul1995-05-123-95/+165
| | | | | | | Bumped major number. Ncurses backend still needs improving. Other back-ends need to be written.
* Tweak a few things just to show how form traversal might work fully.jkh1995-03-282-8/+8
| | | | | Fix some spelling errors in the example.c file and make error handling a little more explanatory.
* Include <strhash.h> instead now.jkh1995-03-281-1/+1
|
* Use a hash table to hold all the bindings info rather than a linked list.paul1995-03-262-8/+17
| | | | | | | | | | 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.
* Completely rewrite libforms so everything is done at runtime ratherpaul1995-03-013-41/+57
| | | | | | | | than at compile time. Should have same functionality as old libforms but with new mechanism. Lots of new features that use the new mechanism are still to be added.
* Implemented height field for text fields so they can now be more thanpaul1995-02-013-72/+25
| | | | | | | | | | | | one line long. Fixed a bug in the input field with cursor positioning at the end of the field. Make the print_status function available to apps so they can print status messages. Updated the example for the new fib parser.
* Add all the necessary bits to use color if the terminal allows it.paul1995-01-301-3/+10
| | | | | | | | | | | You can now specify separate attributes for selected/not selected cases individually for each field and also an attr for the form as a whole so you can now have colored backgrounds for the form and different coloured fields etc. Update the example. Change the copyright to a BSD style one.
* Truncate any default inputs to the input width.paul1995-01-252-11/+11
| | | | Update the example so it works properly.
* New example that uses the new forms language.paul1995-01-251-6/+96
|
* Changed the example to use the forms spec file.paul1995-01-242-2/+74
|
* Added emacs ^A,^E,^B & ^F keybindings to field editor.paul1995-01-111-1/+1
| | | | Changed a constant to a sizeof in test.c
* Change size of example form from 80x25 to 80x24 so it workspaul1995-01-111-1/+1
| | | | in a standard xterm.
* As long as I can't figure out why this doesn't work, I might as welljkh1995-01-102-2/+14
| | | | add some error checking to it and clean this up a bit.
* New forms library. This provides some basic functions for writingpaul1995-01-102-4/+95
| | | | | | | | | | | | | | | | | | | | | input forms. It has the following simple fields: Text fields: Just titles, labels etc. Input fields: An editable text field that may or may not have an initial default value. Labelled input field: This is an input field that has an initial informative entry in it but it vanishes when you start editing the field. Toggle fields: These are fields with a pre-defined list of options which you cycle through using the space bar. Action fields: These are button type fields that call functions when they are selected. A simple demo is included in examples.
* The start of a forms editor library. Currently implements text andpaul1994-11-133-0/+31
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.
OpenPOWER on IntegriCloud