mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
34 lines
493 B
C++
34 lines
493 B
C++
#pragma once
|
|
|
|
constexpr char IMGUI_BIND_FILE[] = "keymap.vdf";
|
|
|
|
enum class ImGuiStyle_t
|
|
{
|
|
NONE = -1,
|
|
DEFAULT,
|
|
LEGACY,
|
|
MODERN
|
|
};
|
|
|
|
class ImGuiConfig
|
|
{
|
|
public:
|
|
struct
|
|
{
|
|
int m_nBind0 = VK_OEM_3;
|
|
int m_nBind1 = VK_INSERT;
|
|
} m_ConsoleConfig;
|
|
|
|
struct
|
|
{
|
|
int m_nBind0 = VK_F10;
|
|
int m_nBind1 = VK_HOME;
|
|
} m_BrowserConfig;
|
|
|
|
void Load();
|
|
void Save();
|
|
ImGuiStyle_t InitStyle() const;
|
|
};
|
|
|
|
extern ImGuiConfig g_ImGuiConfig;
|