]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[hci] Provide a general concept of a text widget set
authorMichael Brown <mcb30@ipxe.org>
Wed, 15 May 2024 13:10:33 +0000 (14:10 +0100)
committerMichael Brown <mcb30@ipxe.org>
Wed, 15 May 2024 13:22:01 +0000 (14:22 +0100)
commitdc118c53696af6a0b1a8ee78fc9a4d28a217fb21
treea651a3f7fdf3889bd21f74c9fcd2aa8ad71431c6
parentd7e58c5a812988c341ec4ad19f79faf067388d58
[hci] Provide a general concept of a text widget set

Create a generic abstraction of a text widget, refactor the existing
editable text box widget to use this abstraction, add an
implementation of a non-editable text label widget, and generalise the
login user interface to use this generic widget abstraction.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/hci/mucurses/widgets/editbox.c
src/hci/mucurses/widgets/label.c [new file with mode: 0644]
src/hci/tui/login_ui.c
src/hci/tui/settings_ui.c
src/hci/tui/widget_ui.c [new file with mode: 0644]
src/include/ipxe/editbox.h
src/include/ipxe/errfile.h
src/include/ipxe/label.h [new file with mode: 0644]
src/include/ipxe/widget.h [new file with mode: 0644]