mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
* Log warnings * Improve style * Vector size is now controlled by ConVar instead * Keep current item in view when console is cleaning up the vector. This doesn't work ideally as its hard to keep track of the current item, and the scroll is a float. In the future it might be better to grab the first vertex of the center line on the console and track that perhaps.
30 lines
575 B
C++
30 lines
575 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();
|
|
};
|
|
|
|
extern ImGuiConfig* g_pImGuiConfig;
|