Commit Graph

4 Commits

Author SHA1 Message Date
Jordan K. Hubbard
c50c22c798 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
Jordan K. Hubbard
6562be49a5 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
Jordan K. Hubbard
371a943ab5 Strive for a little more consistency with my examples. 1996-04-07 03:21:01 +00:00
Jordan K. Hubbard
cd5e85eb47 Create individual tests for each dialog feature. 1996-01-01 03:45:32 +00:00