aboutsummaryrefslogtreecommitdiffstats
path: root/Library/UefiShellUfmCommandLib/menu-bar.h
diff options
context:
space:
mode:
authorJoursoir <chat@joursoir.net>2021-11-29 16:19:22 +0300
committerJoursoir <chat@joursoir.net>2021-11-29 16:19:22 +0300
commit16c83b50e88a3f4bb344a918c4ebe4cae5a38e31 (patch)
treefb5c9d283e1c1f0d31b00ec8c94bd11f842fcaf0 /Library/UefiShellUfmCommandLib/menu-bar.h
parentfc34983b91dcababe019ca63721ea2bcd2ac1b6a (diff)
downloadufm-16c83b50e88a3f4bb344a918c4ebe4cae5a38e31.tar.gz
ufm-16c83b50e88a3f4bb344a918c4ebe4cae5a38e31.tar.bz2
ufm-16c83b50e88a3f4bb344a918c4ebe4cae5a38e31.zip
menu-bar: not use a global variable
Diffstat (limited to 'Library/UefiShellUfmCommandLib/menu-bar.h')
-rw-r--r--Library/UefiShellUfmCommandLib/menu-bar.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/Library/UefiShellUfmCommandLib/menu-bar.h b/Library/UefiShellUfmCommandLib/menu-bar.h
index 9012f9f..85e1ce7 100644
--- a/Library/UefiShellUfmCommandLib/menu-bar.h
+++ b/Library/UefiShellUfmCommandLib/menu-bar.h
@@ -10,8 +10,10 @@
#include <Uefi.h>
struct screen;
+struct window;
-BOOLEAN init_menubar(struct screen *scr);
-VOID free_menubar(VOID);
+struct window *init_menubar(struct screen *scr);
+VOID free_menubar(struct window *w);
+VOID menubar_refresh(struct window *w);
#endif /* UFM_MENU_BAR_H */