From 0577f53ae0a452ad01c8872e263e05bae5dc296d Mon Sep 17 00:00:00 2001 From: Joursoir Date: Fri, 26 Nov 2021 13:30:56 +0300 Subject: panel: reimplement windows usage The initial implementation can be difficult to expand. This version is more flexible --- Library/UefiShellUfmCommandLib/panel.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Library/UefiShellUfmCommandLib/panel.h') diff --git a/Library/UefiShellUfmCommandLib/panel.h b/Library/UefiShellUfmCommandLib/panel.h index b0492e7..c4cebdf 100644 --- a/Library/UefiShellUfmCommandLib/panel.h +++ b/Library/UefiShellUfmCommandLib/panel.h @@ -9,9 +9,10 @@ struct dir_list; struct fs_array; struct panel_ctx { - struct window *wname, *wsize, *wmodt; - struct window *winfo; BOOLEAN show_fs; // is filesystems showing now? + struct window *wbg; // static window + struct window *wcwd, *wlist, *wfname; // dynamic windows + UINTN name_cols; CONST CHAR16 *cwd; // current work directory -- cgit v1.2.3-18-g5258