forked from danielkrupinski/Osiris
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGUI.h
41 lines (33 loc) · 1 KB
/
GUI.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#pragma once
#include <memory>
struct ImFont;
class GUI {
public:
GUI() noexcept;
void render() noexcept;
void handleToggle() noexcept;
[[nodiscard]] bool isOpen() const noexcept { return open; }
private:
bool open = true;
void updateColors() const noexcept;
void renderMenuBar() noexcept;
void renderAimbotWindow(bool contentOnly = false) noexcept;
void renderTriggerbotWindow(bool contentOnly = false) noexcept;
void renderChamsWindow(bool contentOnly = false) noexcept;
void renderStyleWindow(bool contentOnly = false) noexcept;
void renderConfigWindow(bool contentOnly = false) noexcept;
void renderGuiStyle2() noexcept;
struct {
bool aimbot = false;
bool triggerbot = false;
bool chams = false;
bool sound = false;
bool style = false;
bool config = false;
} window;
struct {
ImFont* normal15px = nullptr;
} fonts;
float timeToNextConfigRefresh = 0.1f;
};
inline std::unique_ptr<GUI> gui;