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

21 lines
453 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 02:28:14 +02:00
if (g.window.main && ImGui::Begin("Yimura's Mod Menu", &g.window.main))
{
ImGui::BeginTabBar("tabbar");
tab_main::tab_self();
tab_main::tab_spawn();
2021-05-19 18:11:19 +02:00
tab_main::tab_vehicle();
2021-05-19 16:05:21 +02:00
tab_main::tab_weapons();
ImGui::EndTabBar();
}
ImGui::End();
}
}