From f031dc9d65df69a74efa9a2021fcdecd59b79702 Mon Sep 17 00:00:00 2001 From: Joursoir Date: Sat, 27 Nov 2021 16:56:54 +0300 Subject: panel: add the window for display the amount of marked files --- Library/UefiShellUfmCommandLib/panel.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Library/UefiShellUfmCommandLib/panel.c') diff --git a/Library/UefiShellUfmCommandLib/panel.c b/Library/UefiShellUfmCommandLib/panel.c index 850191f..3c6cc6c 100644 --- a/Library/UefiShellUfmCommandLib/panel.c +++ b/Library/UefiShellUfmCommandLib/panel.c @@ -57,6 +57,10 @@ struct panel_ctx *panel_alloc(struct screen *scr, CONST CHAR16 *path, if(!panel->wfname) break; + panel->wmarked = newwin(scr, cols - 4, 1, x + 2, lines - 2); + if(!panel->wmarked) + break; + res = TRUE; } while(0); // END DO @@ -93,6 +97,8 @@ VOID panel_release(struct panel_ctx *p) delwin(p->wlist); if(p->wfname) delwin(p->wfname); + if(p->wmarked) + delwin(p->wmarked); FreePool(p); } -- cgit v1.2.3-18-g5258