Menu bar is coming

This commit is contained in:
Pcornat 2022-01-11 22:33:40 +01:00
parent 45c92db758
commit 58a16c68e4
Signed by: Pcornat
GPG key ID: 2F3932FF46D9ECA0
3 changed files with 38 additions and 0 deletions

13
src/gui/menu.cpp Normal file
View file

@ -0,0 +1,13 @@
#include "gui/menu.hpp"
#include "imgui.h"
void gui::Menu::gui() const noexcept {
if (ImGui::BeginMainMenuBar()) {
if (ImGui::BeginMenu("File")) {
ImGui::EndMenu();
}
ImGui::EndMainMenuBar();
}
}