mirror of
https://github.com/SunsetMkt/Akebi-GC.git
synced 2025-09-19 03:56:05 +08:00
53 lines
1.1 KiB
C++
53 lines
1.1 KiB
C++
#pragma once
|
|
#include <cheat-base/cheat/Feature.h>
|
|
#include <cheat-base/config/config.h>
|
|
|
|
namespace cheat::feature
|
|
{
|
|
|
|
class Settings : public Feature
|
|
{
|
|
public:
|
|
config::Field<Hotkey> f_MenuKey;
|
|
config::Field<bool> f_HotkeysEnabled;
|
|
|
|
config::Field<bool> f_StatusMove;
|
|
config::Field<bool> f_StatusShow;
|
|
|
|
config::Field<bool> f_InfoMove;
|
|
config::Field<bool> f_InfoShow;
|
|
|
|
config::Field<bool> f_FpsShow;
|
|
config::Field<bool> f_FpsMove;
|
|
|
|
config::Field<bool> f_NotificationsShow;
|
|
config::Field<int> f_NotificationsDelay;
|
|
|
|
config::Field<bool> f_ConsoleLogging;
|
|
config::Field<bool> f_FileLogging;
|
|
|
|
config::Field<bool> f_FastExitEnable;
|
|
config::Field<Hotkey> f_HotkeyExit;
|
|
|
|
config::Field<int> f_FontSize;
|
|
config::Field<bool> f_ShowStyleEditor;
|
|
std::filesystem::path themesDir;
|
|
config::Field<std::string> f_DefaultTheme;
|
|
|
|
|
|
static Settings& GetInstance();
|
|
|
|
const FeatureGUIInfo& GetGUIInfo() const override;
|
|
void DrawMain() override;
|
|
void Init();
|
|
void Colors_Export(std::string name);
|
|
void Colors_Import(std::string name);
|
|
|
|
private:
|
|
|
|
void OnExitKeyPressed();
|
|
Settings();
|
|
};
|
|
}
|
|
|