ImGuiStyle* style = &ImGui::GetStyle();
ImDrawList* draw_list = ImGui::GetBackgroundDrawList();
menuStyle();
windowSize(566, 370);
if (ImGui::Begin("menu", &open, menuFlags))
{
ImVec2 window_pos = ImGui::GetWindowPos();
draw_list->AddRectFilled(ImGui::GetWindowPos(), ImVec2(ImGui::GetWindowPos().x + 50, ImGui::GetWindowPos().y + 50), menu_color);
nextElementPos(0, 1);
ImGui::BeginChild("tabs", ImVec2(566, 30));
{
for (int i = 0; i < IM_ARRAYSIZE(tabs); i++) {
if (ImGui::Button(tabs[i].c_str(), ImVec2(100, 30)))
active_tab = i;
ImGui::SameLine();
}
}
ImGui::EndChild();
if (ImGui::Button("unhook"))
hooks->uninstall();
}
ImGui::End();