aboutsummaryrefslogtreecommitdiffstats
path: root/Library/UefiShellUfmCommandLib/command-bar.h
diff options
context:
space:
mode:
Diffstat (limited to 'Library/UefiShellUfmCommandLib/command-bar.h')
-rw-r--r--Library/UefiShellUfmCommandLib/command-bar.h21
1 files changed, 21 insertions, 0 deletions
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 <Uefi.h>
+
+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 */