ui/api: Added sidebar

This commit is contained in:
WerWolv
2022-01-22 22:03:19 +01:00
parent d5d1577b43
commit 4e047beabb
5 changed files with 78 additions and 3 deletions

View File

@@ -81,6 +81,7 @@ namespace hex {
static std::vector<ContentRegistry::Interface::impl::DrawCallback> welcomeScreenEntries;
static std::vector<ContentRegistry::Interface::impl::DrawCallback> footerItems;
static std::vector<ContentRegistry::Interface::impl::DrawCallback> toolbarItems;
static std::vector<ContentRegistry::Interface::impl::SidebarItem> sidebarItems;
static std::vector<ContentRegistry::Interface::impl::Layout> layouts;
static std::map<Shortcut, std::function<void()>> globalShortcuts;