2021-05-19 11:28:13 +02:00
|
|
|
#include "gui/window.hpp"
|
|
|
|
#include "imgui.h"
|
2021-07-23 23:00:11 +02:00
|
|
|
#include "main/main_tabs.hpp"
|
2021-05-19 11:28:13 +02:00
|
|
|
|
|
|
|
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"))
|
2021-05-19 11:28:13 +02:00
|
|
|
{
|
|
|
|
ImGui::BeginTabBar("tabbar");
|
|
|
|
tab_main::tab_self();
|
2021-05-19 14:36:21 +02:00
|
|
|
tab_main::tab_spawn();
|
2021-05-26 14:38:38 +02:00
|
|
|
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();
|
2021-07-23 11:59:31 +02:00
|
|
|
tab_main::tab_recovery();
|
2021-05-19 11:28:13 +02:00
|
|
|
ImGui::EndTabBar();
|
2021-05-21 12:44:43 +02:00
|
|
|
|
|
|
|
ImGui::End();
|
2021-05-19 11:28:13 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|