mirror of
https://github.com/HarbourMasters/Shipwright
synced 2026-07-09 23:02:15 -04:00
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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user