TmpMenu/BigBaseV2/src/gui/window/window_main.cpp

24 lines
497 B
C++
Raw Normal View History

#include "gui/window.hpp"
#include "imgui.h"
#include "gui/window/main/tabs.hpp"
namespace big
{
void window::main()
{
ImGui::SetNextWindowSize({ 800, 840 }, ImGuiCond_FirstUseEver);
2021-05-21 12:44:43 +02:00
if (g.window.main && ImGui::Begin("Yimura's Mod Menu"))
{
ImGui::BeginTabBar("tabbar");
tab_main::tab_self();
tab_main::tab_spawn();
tab_main::tab_teleport();
2021-05-19 18:11:19 +02:00
tab_main::tab_vehicle();
2021-05-19 16:05:21 +02:00
tab_main::tab_weapons();
tab_main::tab_recovery();
ImGui::EndTabBar();
2021-05-21 12:44:43 +02:00
ImGui::End();
}
}
}