From b5623cdd19b932897e5410ab293b85842131591b Mon Sep 17 00:00:00 2001 From: Yimura Date: Wed, 5 Jan 2022 18:18:03 +0100 Subject: [PATCH] feat(Self): Reorganised self tab items in groups --- BigBaseV2/src/gui/window/main/tab_self.cpp | 26 +++++++++++++++------- 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/BigBaseV2/src/gui/window/main/tab_self.cpp b/BigBaseV2/src/gui/window/main/tab_self.cpp index 7e99b857..6baa14c5 100644 --- a/BigBaseV2/src/gui/window/main/tab_self.cpp +++ b/BigBaseV2/src/gui/window/main/tab_self.cpp @@ -22,30 +22,40 @@ namespace big if (ImGui::TreeNode("General")) { + ImGui::BeginGroup(); + ImGui::Checkbox("God Mode", &g.self.godmode); - ImGui::SameLine(); ImGui::Checkbox("Off Radar", &g.self.off_radar); - ImGui::SameLine(); ImGui::Checkbox("Free Cam", &g.self.free_cam); - + + ImGui::EndGroup(); + ImGui::SameLine(); + ImGui::BeginGroup(); + ImGui::Checkbox("No Clip", &g.self.noclip); - ImGui::SameLine(); ImGui::Checkbox("No Ragdoll", &g.self.no_ragdoll); - ImGui::SameLine(); ImGui::Checkbox("Super Run", &g.self.super_run); - + + ImGui::EndGroup(); + ImGui::TreePop(); } if (ImGui::TreeNode("Frame Flags")) { + ImGui::BeginGroup(); + ImGui::Checkbox("Explosive Ammo", &g.self.frame_flags.explosive_ammo); - ImGui::SameLine(); ImGui::Checkbox("Fire Ammo", &g.self.frame_flags.fire_ammo); - ImGui::Checkbox("Explosive Melee", &g.self.frame_flags.explosive_melee); + ImGui::EndGroup(); ImGui::SameLine(); + ImGui::BeginGroup(); + + ImGui::Checkbox("Explosive Melee", &g.self.frame_flags.explosive_melee); ImGui::Checkbox("Super Jump", &g.self.frame_flags.super_jump); + + ImGui::EndGroup(); ImGui::TreePop(); }