-
Автор темы
- #1
ImGui::Begin:
ImGui::SetNextWindowSize(ImVec2(900, 450));
ImGui::Begin(("CaposHook"), NULL, ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoCollapse);
{ImGui::SameLine();
if (ImGui::Button(("Rage"), ImVec2(415, 30)))
{
globals::tab == 0;
}
ImGui::SameLine();
if (ImGui::Button(("Other"), ImVec2(415, 30)))
{
globals::tab == 1;
}
}
ImGui::Separator();
if (globals::tab == 0)
{
if (ImGui::InputFloat(("Test"), &globals::test))
{
}
}
if (globals::tab == 1)
{
ImGui::Text("YaDolbaeb");
}
global:
#pragma once
namespace globals
{
int tab;
static float test;
}