Daniel Gibson
bb0511ac7b
sys_imgui.cpp: Move code to read/write style to imgui_savestyle.cpp
...
it's nicely self-contained, I'll release it as a mini-library/addon
for Dear ImGui on https://github.com/DanielGibson/Snippets/
2024-05-25 06:58:19 +02:00
Daniel Gibson
2e8cbc1344
Allow saving ImGui Userstyles
...
You can pry X macros from my cold dead hands
2024-05-24 16:16:47 +02:00
Daniel Gibson
ef529cf49a
Bind F10 to open dhewm3Settings menu, unless F10 is already bound
...
Also fix MSVC build: For some reason Microsoft's sad excuse of a compiler
only sets __cplusplus to a value from this millenium if the
/Zc:__cplusplus compiler option is set, but that's only supported from
VS2017 15.7 on. The alternative is to use _MSVC_LANG, which always holds
the version that __cplusplus *should* have...
2024-05-23 19:29:38 +02:00
Daniel Gibson
6d508eac17
Some functions that will be used by the ImGui keybinding menu
2024-05-22 19:46:38 +02:00
Daniel Gibson
c9a8901dbd
ImGui: Improve integration, use scalable font, Control Options menu
2024-05-22 19:46:38 +02:00
Daniel Gibson
86be2eb513
initial support for DPI scaling of imgui
2024-05-22 19:46:38 +02:00
Daniel Gibson
ffaf135758
Start ImGui-based settings menu
...
the integration of that at least, the menu is still a stub
2024-05-22 19:46:38 +02:00
Daniel Gibson
8fce796680
improve imgui integration
2024-05-22 19:46:38 +02:00
Daniel Gibson
c0c82e763a
Initial ImGui integration in the engine
...
still a bit hacky, but shows imgui windows that can be clicked etc
2024-05-22 19:46:38 +02:00