Remove game menubar (#424)

This commit is contained in:
MegaMech
2025-07-06 07:50:06 -06:00
committed by GitHub
parent 3a27381daa
commit eb6e4bc890
+3 -3
View File
@@ -28,7 +28,7 @@ extern s32 gMenuSelection;
}
namespace GameUI {
std::shared_ptr<GameMenuBar> mGameMenuBar;
// std::shared_ptr<GameMenuBar> mGameMenuBar;
std::shared_ptr<PortMenu> mPortMenu;
std::shared_ptr<Ship::GuiWindow> mConsoleWindow;
std::shared_ptr<Ship::GuiWindow> mStatsWindow;
@@ -44,8 +44,8 @@ std::shared_ptr<Ship::GuiWindow> mContentBrowserWindow;
void SetupGuiElements() {
auto gui = Ship::Context::GetInstance()->GetWindow()->GetGui();
mGameMenuBar = std::make_shared<GameMenuBar>("gOpenMenuBar", CVarGetInteger("gOpenMenuBar", 0));
gui->SetMenuBar(mGameMenuBar);
// mGameMenuBar = std::make_shared<GameMenuBar>("gOpenMenuBar", CVarGetInteger("gOpenMenuBar", 0));
// gui->SetMenuBar(mGameMenuBar);
mPortMenu = std::make_shared<PortMenu>("gOpenMenu", "Port Menu");
gui->SetMenu(mPortMenu);