]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[hci] Draw all widgets on the standard screen
authorMichael Brown <mcb30@ipxe.org>
Fri, 14 Jun 2024 10:47:55 +0000 (11:47 +0100)
committerMichael Brown <mcb30@ipxe.org>
Tue, 18 Jun 2024 21:46:31 +0000 (14:46 -0700)
commitbb4a10696fb6541fdcfc2c057cf698de37fa5eba
treee568749785a510b8cbebfcbe714183dcfea1e2f3
parente965f179e1654103eca33feed7a9cc4c51d91be6
[hci] Draw all widgets on the standard screen

The curses concept of a window has been supported but never actively
used in iPXE since the mucurses library was first implemented in 2006.

Simplify the code by removing the ability to place a widget set in a
specified window, and instead use the standard screen for all drawing
operations.

This simplification allows the widget set parameter to be omitted for
the draw_widget() and edit_widget() operations, since the only reason
for its inclusion was to provide access to the specified window.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/hci/mucurses/widgets/editbox.c
src/hci/mucurses/widgets/label.c
src/hci/tui/login_ui.c
src/hci/tui/settings_ui.c
src/hci/tui/widget_ui.c
src/include/ipxe/widget.h