feat(MainWindow): tab self added noclip
This commit is contained in:
parent
bb45b9c765
commit
fcfa3094e4
@ -1,5 +1,5 @@
|
||||
#include "tabs.hpp"
|
||||
#include "imgui.h"
|
||||
#include "core/globals.hpp"
|
||||
|
||||
namespace big
|
||||
{
|
||||
@ -7,8 +7,7 @@ namespace big
|
||||
{
|
||||
if (ImGui::BeginTabItem("Self"))
|
||||
{
|
||||
ImGui::Text("Yeet");
|
||||
//ImGui::Checkbox("No Clip", nullptr);
|
||||
ImGui::Checkbox("No Clip", &g.self.noclip);
|
||||
|
||||
ImGui::EndTabItem();
|
||||
}
|
||||
|
@ -1,9 +1,12 @@
|
||||
#pragma once
|
||||
#include "common.hpp"
|
||||
#include "imgui.h"
|
||||
|
||||
namespace big
|
||||
{
|
||||
class tab_main {
|
||||
public:
|
||||
static void tab_self();
|
||||
static void tab_spawn();
|
||||
};
|
||||
}
|
@ -12,6 +12,7 @@ namespace big
|
||||
{
|
||||
ImGui::BeginTabBar("tabbar");
|
||||
tab_main::tab_self();
|
||||
tab_main::tab_spawn();
|
||||
ImGui::EndTabBar();
|
||||
}
|
||||
ImGui::End();
|
||||
|
Reference in New Issue
Block a user