| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
from yacc.
Put the lex.c parser.c and y.tab.h into a CLEANFILES target in the
makefile, they are all generated and need to be removed on a clean.
|
|
|
|
|
| |
Fix some spelling errors in the example.c file and make error handling
a little more explanatory.
|
| |
|
|
|
|
| |
Manpage for strhash functions to follow tomorrow.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Update the example so it works properly.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Made a couple of variable name changes.
|
|
|
|
| |
Changed a constant to a sizeof in test.c
|
|
|
|
| |
in a standard xterm.
|
|
|
|
| |
add some error checking to it and clean this up a bit.
|
|
|
|
| |
Stop field display attributes getting clobbered.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Add an extern form to forms.h for apps to pick up.
|
|
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.
|