20 Commits

Author SHA1 Message Date
jkh
2ee0ebfbc4 Fix a bug which did not properly bias checklist items by their scroll
factor.
1996-04-19 10:39:16 +00:00
jkh
a4dd56c7c9 Remove a long-standing window leak I just noticed. 1996-04-18 13:36:39 +00:00
jkh
adeba4991f Remove the special-case behavior for fire actions that return
DITEM_FAILURE - formerly they would simply act as an implicit "continue",
but this is wrong.  If you want this behavior, you should now return
with the DITEM_CONTINUE flag set.

Also make the semantics of DITEM_RESTORE quite a bit different - rather
than restore the screen back to pre-menu state, we restore the menu
itself.  This is more correct for a variety of reasons when dealing with
nested menus (whoops!).
1996-04-18 13:21:26 +00:00
jkh
24a0bc2e77 More changes to attempt to make this whole new dialog scheme more
robust.  The new "fire" actions, while affording signficantly more
interactivity to libdialog, come at a cost - if the fire action trashes
the screen then you're not going to be in Kansas anymore when you
come back to the menu and there had better be considerable extra
smarts in place for coping with such a situation.  These changes are my
attempt to do just that.
1996-04-16 12:17:27 +00:00
jkh
06a2488050 Refresh dialogs if a callback action fails. 1996-04-08 10:02:55 +00:00
jkh
cb56a0376f Fix small bug with negative item_no. 1996-01-10 13:57:46 +00:00
jkh
17c6a37b39 Refresh before calling selection hook. 1996-01-05 04:00:51 +00:00
jkh
ff9186df13 Next round of changes - make dialog boxes drawable at arbitrary X,Y locations
and add selection traversal callbacks so context-sensitive behavior can
even be implemented for individual menu items.  These work around the two
largest issues holding me back with some of my sysinstall changes.
1996-01-01 03:43:58 +00:00
jkh
09146e9c17 Add changes to:
o Support a new, fully backwards-compatible API for controling
	  individual items in dialog menus.
	o Write a man page.
	o Add some test code.
1995-12-23 01:10:20 +00:00
rgrimes
2ad6f3dee6 Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
ache
bcf65c80f5 Fix arrows printout for non-arrows keys in menubox
Move arrows printout to single kernel function
Add PgUp/PgDn/Home/End to checkbox and radiobox
1995-03-02 01:03:39 +00:00
ache
8606846519 file selector, helpline, helpfile and more, with my fixes
Submitted by: wmbfmk@urc.tue.nl
1995-02-15 19:44:08 +00:00
ache
6a9b44b167 Add more range/argument checking
Submitted by: charnier@lirmm.fr
1995-01-30 14:11:58 +00:00
ache
91b9eb92f4 silently restrict all boxes to LINES, COLS 1994-11-18 22:49:09 +00:00
ache
afba98eb13 Fix original bug with wrong calculated dims for items list.
Add args check for functions when autosizing impossible.
1994-11-17 19:21:51 +00:00
ache
e26dcdfe6d Full autosizing support, now you can pass -1, -1 for any
string
1994-11-16 14:37:37 +00:00
ache
cc17583236 Add pointer check after each newwin/subwin with error diagnostic 1994-10-31 04:02:31 +00:00
ache
a984cc06a4 Implement dialog_prgbox() function which allows run program
(via pipe) with output to dialog box
1994-10-28 03:08:28 +00:00
ache
ab76452c48 Declare more functions externally.
Don't forget to use 'make beforeinstall'...
1994-10-20 21:56:45 +00:00
ache
ef40875ab1 Make all dialog box available from C programs via functions calls 1994-10-11 23:30:51 +00:00