mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-06-16 22:37:22 +08:00
20 lines
460 B
C++
20 lines
460 B
C++
#include "gui/tab_bar.hpp"
|
|
#include "pointers.hpp"
|
|
#include "script_global.hpp"
|
|
|
|
namespace big
|
|
{
|
|
void tabbar::render_tunables()
|
|
{
|
|
if (ImGui::BeginTabItem("Tunables"))
|
|
{
|
|
if (ImGui::Checkbox("No Idle Kick", g_settings.options["no_idle_kick"].get<bool*>()))
|
|
g_settings.save();
|
|
|
|
if (ImGui::Checkbox("Disable Phone Calls", g_settings.options["disable_phone"].get<bool*>()))
|
|
g_settings.save();
|
|
|
|
ImGui::EndTabItem();
|
|
}
|
|
}
|
|
} |