r5sdk/r5dev/thirdparty/imgui/include/imgui_utility.h
Kawe Mazidjatari add5c577ff Improve ImGui theme system
-imgui_theme "modern" = Respawn theme.
-imgui_theme "legacy" = Valve theme.
No args = default theme.
2022-06-24 12:22:04 +02:00

31 lines
602 B
C++

#pragma once
/////////////////////////////////////////////////////////////////////////////
// Internals
int Stricmp(const char* s1, const char* s2);
int Strnicmp(const char* s1, const char* s2, int n);
char* Strdup(const char* s);
void Strtrim(char* s);
class ImGuiConfig
{
public:
struct
{
int m_nBind0 = VK_OEM_3;
int m_nBind1 = VK_INSERT;
} IConsole_Config;
struct
{
int m_nBind0 = VK_HOME;
int m_nBind1 = VK_F10;
} IBrowser_Config;
void Load();
void Save();
int InitStyle() const;
};
extern ImGuiConfig* g_pImGuiConfig;