diff options
author | Joursoir <chat@joursoir.net> | 2021-11-15 19:12:06 +0300 |
---|---|---|
committer | Joursoir <chat@joursoir.net> | 2021-11-15 19:12:06 +0300 |
commit | edd62f8e7d00b56bd19217b56d0d2cdf3ef6c945 (patch) | |
tree | a8b095f66a70ac64cb44e036798ae955f1eea561 /src | |
parent | 01c9c0c71bedbf8a82c20f41ab8b1d9f8b156af0 (diff) | |
download | ufm-edd62f8e7d00b56bd19217b56d0d2cdf3ef6c945.tar.gz ufm-edd62f8e7d00b56bd19217b56d0d2cdf3ef6c945.tar.bz2 ufm-edd62f8e7d00b56bd19217b56d0d2cdf3ef6c945.zip |
move all sources to the right place
Diffstat (limited to 'src')
-rw-r--r-- | src/menu-bar.c | 25 | ||||
-rw-r--r-- | src/menu-bar.h | 17 |
2 files changed, 0 insertions, 42 deletions
diff --git a/src/menu-bar.c b/src/menu-bar.c deleted file mode 100644 index db7af38..0000000 --- a/src/menu-bar.c +++ /dev/null @@ -1,25 +0,0 @@ -#include <Library/DebugLib.h> - -#include "lib/tbi/screen.h" -#include "lib/tbi/win.h" -#include "menu-bar.h" - -struct window *menubar = NULL; - -BOOLEAN init_menubar(struct screen *scr) -{ - menubar = newwin(scr, scr->columns, 1, 0, 0); - if(!menubar) - return FALSE; - - wrefresh(menubar); - return TRUE; -} - -VOID free_menubar(VOID) -{ - ASSERT(menubar != NULL); - - delwin(menubar); - menubar = NULL; -} diff --git a/src/menu-bar.h b/src/menu-bar.h deleted file mode 100644 index 9012f9f..0000000 --- a/src/menu-bar.h +++ /dev/null @@ -1,17 +0,0 @@ -#ifndef UFM_MENU_BAR_H -#define UFM_MENU_BAR_H - -/* - * Menu bar: - * Located on the first line, occupies its entire length. - * At the moment, nothing is planned here, a reserve for the future -*/ - -#include <Uefi.h> - -struct screen; - -BOOLEAN init_menubar(struct screen *scr); -VOID free_menubar(VOID); - -#endif /* UFM_MENU_BAR_H */ |