TmpMenu/BigBaseV2/src/gui/window/window_main.cpp
2021-07-24 00:16:04 +02:00

25 lines
520 B
C++

#include "gui/window.hpp"
#include "imgui.h"
#include "main/main_tabs.hpp"
namespace big
{
void window::main()
{
ImGui::SetNextWindowSize({ 800, 840 }, ImGuiCond_FirstUseEver);
if (g.window.main && ImGui::Begin("Yimura's Mod Menu"))
{
ImGui::BeginTabBar("tabbar");
tab_main::tab_self();
tab_main::tab_spawn();
tab_main::tab_tunables();
tab_main::tab_teleport();
tab_main::tab_vehicle();
tab_main::tab_weapons();
tab_main::tab_recovery();
ImGui::EndTabBar();
ImGui::End();
}
}
}