diff options
author | jkh <jkh@FreeBSD.org> | 1996-04-18 13:21:26 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1996-04-18 13:21:26 +0000 |
commit | adeba4991fea2fc6babd0748918268bdf7fe4cbf (patch) | |
tree | 4243f3e0b560b8af0cadc5215dfe1c4a9d49ecbe /gnu/lib/libdialog/dialog.h | |
parent | 599cdbb685fef81ed4bb99425bae3564cb89df10 (diff) | |
download | FreeBSD-src-adeba4991fea2fc6babd0748918268bdf7fe4cbf.zip FreeBSD-src-adeba4991fea2fc6babd0748918268bdf7fe4cbf.tar.gz |
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!).
Diffstat (limited to 'gnu/lib/libdialog/dialog.h')
-rw-r--r-- | gnu/lib/libdialog/dialog.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/lib/libdialog/dialog.h b/gnu/lib/libdialog/dialog.h index 9619adf..37f05af 100644 --- a/gnu/lib/libdialog/dialog.h +++ b/gnu/lib/libdialog/dialog.h @@ -48,6 +48,7 @@ #define DITEM_REDRAW (1 << 17) #define DITEM_RECREATE (1 << 18) #define DITEM_RESTORE (1 << 19) +#define DITEM_CONTINUE (1 << 20) /* negative offsets for buttons in item lists, if specified */ |