mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
ImGui: load and save imgui layout configuration from user cfg directory
Keep it separate from the system configurations.
This commit is contained in:
parent
3974ba70bb
commit
455b7220f9
2
src/thirdparty/imgui/imgui.cpp
vendored
2
src/thirdparty/imgui/imgui.cpp
vendored
@ -1278,7 +1278,7 @@ ImGuiIO::ImGuiIO()
|
||||
DisplaySize = ImVec2(-1.0f, -1.0f);
|
||||
DeltaTime = 1.0f / 60.0f;
|
||||
IniSavingRate = 5.0f;
|
||||
IniFilename = "platform\\cfg\\system\\layout.ini"; // Important: "imgui.ini" is relative to current working dir, most apps will want to lock this to an absolute path (e.g. same path as executables).
|
||||
IniFilename = "platform\\cfg\\user\\layout.ini"; // Important: "imgui.ini" is relative to current working dir, most apps will want to lock this to an absolute path (e.g. same path as executables).
|
||||
LogFilename = "platform\\logs\\imgui_log.txt";
|
||||
#ifndef IMGUI_DISABLE_OBSOLETE_KEYIO
|
||||
for (int i = 0; i < ImGuiKey_COUNT; i++)
|
||||
|
Loading…
x
Reference in New Issue
Block a user