diff options
author | Michael Brown <mcb30@ipxe.org> | 2024-05-31 10:10:53 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2024-06-20 16:28:46 -0700 |
commit | f417f0b6a56956137d75c77f344d798f6b30a27c (patch) | |
tree | c87b523ab9f64a267555f20e8ffef84d40c6c87d /src/include/ipxe/dynui.h | |
parent | 1c3c5e2b22ca31bbf77c39aef51671d0b6e95767 (diff) | |
download | ipxe-f417f0b6a56956137d75c77f344d798f6b30a27c.tar.gz |
[form] Add support for dynamically created interactive forms
Add support for presenting a dynamic user interface as an interactive
form, alongside the existing support for presenting a dynamic user
interface as a menu.
An interactive form may be used to allow a user to input (or edit)
values for multiple settings on a single screen, as a user-friendly
alternative to prompting for setting values via the "read" command.
In the present implementation, all input fields must fit on a single
screen (with no scrolling), and the only supported widget type is an
editable text box.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/dynui.h')
-rw-r--r-- | src/include/ipxe/dynui.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/ipxe/dynui.h b/src/include/ipxe/dynui.h index 5029e5850..67eb8b8f8 100644 --- a/src/include/ipxe/dynui.h +++ b/src/include/ipxe/dynui.h @@ -61,5 +61,6 @@ extern struct dynamic_item * dynui_shortcut ( struct dynamic_ui *dynui, int key ); extern int show_menu ( struct dynamic_ui *dynui, unsigned long timeout, const char *select, struct dynamic_item **selected ); +extern int show_form ( struct dynamic_ui *dynui ); #endif /* _IPXE_DYNUI_H */ |