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