aboutsummaryrefslogtreecommitdiffstats
path: root/Library/UefiShellUfmCommandLib/command-bar.h
diff options
context:
space:
mode:
authorJoursoir <chat@joursoir.net>2021-12-01 20:06:47 +0300
committerJoursoir <chat@joursoir.net>2021-12-01 20:06:47 +0300
commit1610ce54d4dbc7c73dac837cdda2eb23520bc1c6 (patch)
tree60748740e2d0e8b3a4f4611a493bf94ac7d1a672 /Library/UefiShellUfmCommandLib/command-bar.h
parent93216e4c1f5893fdde74d2ed11196c14073abb6c (diff)
downloadufm-1610ce54d4dbc7c73dac837cdda2eb23520bc1c6.tar.gz
ufm-1610ce54d4dbc7c73dac837cdda2eb23520bc1c6.tar.bz2
ufm-1610ce54d4dbc7c73dac837cdda2eb23520bc1c6.zip
implement the command bar
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 */