Mono dev tools (#5175)

* apply mono font to some dev tool windows

* soh gui wrappers for gfxdebugger and console to set mono font

* it can be just a little larger
This commit is contained in:
Archez
2025-03-21 07:21:33 -04:00
committed by GitHub
parent 985bf91945
commit 57bc5690e2
13 changed files with 109 additions and 10 deletions
@@ -1,6 +1,7 @@
#include "hookDebugger.h"
#include "soh/Enhancements/game-interactor/GameInteractor.h"
#include "soh/SohGui/UIWidgets.hpp"
#include "soh/OTRGlobals.h"
#include <string>
#include <version>
@@ -82,12 +83,16 @@ void HookDebuggerWindow::DrawElement() {
"(\"__cpp_lib_source_location\" not defined in \"<version>\").");
#endif
ImGui::PushFont(OTRGlobals::Instance->fontMonoLarger);
for (auto& [hookName, _] : hookData) {
if (ImGui::TreeNode(hookName)) {
DrawHookRegisteringInfos(hookName);
ImGui::TreePop();
}
}
ImGui::PopFont();
}
void HookDebuggerWindow::InitElement() {