From 1610ce54d4dbc7c73dac837cdda2eb23520bc1c6 Mon Sep 17 00:00:00 2001 From: Joursoir Date: Wed, 1 Dec 2021 20:06:47 +0300 Subject: implement the command bar --- Library/UefiShellUfmCommandLib/command-bar.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Library/UefiShellUfmCommandLib/command-bar.h (limited to 'Library/UefiShellUfmCommandLib/command-bar.h') diff --git a/Library/UefiShellUfmCommandLib/command-bar.h b/Library/UefiShellUfmCommandLib/command-bar.h new file mode 100644 index 0000000..274bb02 --- /dev/null +++ b/Library/UefiShellUfmCommandLib/command-bar.h @@ -0,0 +1,21 @@ +#ifndef UFM_COMMAND_BAR_H +#define UFM_COMMAND_BAR_H + +/* + * Command bar: + * Located on the last line, occupies its entire length. + * Contains a list of actions and buttons that require to press for + * perform the operation. +*/ + +#include + +struct screen; +struct window; +struct shortcut; + +struct window *init_cmdbar(struct screen *scr, CONST struct shortcut *shortcuts); +VOID free_cmdbar(struct window *w); +VOID cmdbar_refresh(struct window *w); + +#endif /* UFM_COMMAND_BAR_H */ -- cgit v1.2.3-18-g5258