static int tabSelected = 0;
ImVec2 mainWindowPos;
ImGui :: SetNextWindowSize (ImVec2 (273, 551));
if (ImGui :: Begin ("functions", & bIsGuiVisible, ImGuiWindowFlags_NoCollapse | ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoTitleBar))
{
mainWindowPos = ImGui :: GetWindowPos ();
ImGui :: BeginChild ("12312", ImVec2 (256, 533));
if (tabSelected == 0) // Legit
{
ImGui :: Text ("Legit");
}
else if (tabSelected == 1) // Visuals
{
ImGui :: Text ("Visuals");
}
else if (tabSelected == 2) // Skins
{
ImGui :: Text ("Skins");
}
else if (tabSelected == 3) // Misc
{
ImGui :: Text ("Misc");
}
ImGui :: EndChild ();
}
ImGui :: End ();
ImGui :: SetNextWindowSize (ImVec2 (137, 326));
ImGui :: SetNextWindowPos (ImVec2 (mainWindowPos.x - 136, mainWindowPos.y));
if (ImGui :: Begin ("tabs", & bIsGuiVisible, ImGuiWindowFlags_NoCollapse | ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoTitleBar))
{
const char * tabNames [] = {
"Legit", "Visuals", "Skins", "Misc" };
static int tabOrder [] = {0, 1, 2, 3, 4, 5, 6, 7};
const bool tabChanged = ImGui :: TabLabels (tabNames,
sizeof (tabNames) / sizeof (tabNames [0]),
tabSelected, tabOrder);
}
ImGui :: End ();
ImGui :: SetNextWindowSize (ImVec2 (409, 25));
ImGui :: SetNextWindowPos (ImVec2 (mainWindowPos.x - 136, mainWindowPos.y - 31));
if (ImGui :: Begin ("title", & bIsGuiVisible, ImGuiWindowFlags_NoCollapse | ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoTitleBar))
{
ImGui :: Text ("title");
}
ImGui :: End ();