From 759e952e12d09f25cf967c8a7bac52e84a35dfce Mon Sep 17 00:00:00 2001 From: 0TheSpy <5511c282@opayq.com> Date: Sun, 13 Nov 2022 23:41:42 +0300 Subject: [PATCH] Update Menu.hpp --- SpyCustom/Menu.hpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/SpyCustom/Menu.hpp b/SpyCustom/Menu.hpp index bd01484..c33d0ba 100644 --- a/SpyCustom/Menu.hpp +++ b/SpyCustom/Menu.hpp @@ -2002,11 +2002,16 @@ long __stdcall hkEndScene(IDirect3DDevice9* pDevice) ImGui::TextColored(colwhite, XorStr("Developer")); ImGui::Text(XorStr("0TheSpy")); ImGui::InvisibleButton("##inv", ImVec2(0, 0)); - ImGui::TextColored(colwhite, XorStr("Check for updates")); - style->ItemSpacing = ImVec2(20.0f, 33.0f); + ImGui::TextColored(colwhite, XorStr("Check for updates")); ImGui::Text(XorStr("unknowncheats.me")); + + ImGui::InvisibleButton("##inv", ImVec2(0, 24)); - if (ImGui::Checkbox("Output NetMsg, UserMsg, DevMsg", g_Options.debugstuff)) + if (ImGui::Button("Unhook", ImVec2(70, 22))) + opt.unhook = true; + + ImGui::SameLine(); ImGui::SetCursorPosX(ImGui::GetCursorPosX() + 20); + if (ImGui::Checkbox("Output debug messages", g_Options.debugstuff)) { if (*g_Options.debugstuff.value) { @@ -2018,19 +2023,14 @@ long __stdcall hkEndScene(IDirect3DDevice9* pDevice) SetValueUnrestricted("developer", 0); SetValueUnrestricted("sv_show_usermessage", 0); } - } - - style->ItemSpacing = ImVec2(20.0f, 0.0f); - - if (ImGui::Button("Unhook", ImVec2(70, 22))) - opt.unhook = true; + } ImGui::NextColumn(); static int selected = 0; static char name[255] = ""; - style->ItemSpacing = ImVec2(20.0f, 9.0f); + style->ItemSpacing = ImVec2(7.0f, 2.0f); if (ImGui::BeginListBox("##cfgs", ImVec2(251.0f, 5 * ImGui::GetTextLineHeightWithSpacing()))) { ImGui::PushFont(ifontmini);