some more imgui refactoring

This commit is contained in:
TakaRikka
2026-03-14 04:07:30 -07:00
parent efa629ca6a
commit 5db0cb0cf8
13 changed files with 294 additions and 139 deletions
+3 -2
View File
@@ -3,6 +3,7 @@
#include "dusk/logging.h"
#include "imgui.h"
#include "ImGuiConsole.hpp"
#include "ImGuiMenuTools.hpp"
namespace dusk {
static ImGuiTextBuffer StubLogBuffer;
@@ -38,8 +39,8 @@ namespace dusk {
static void ClearPastFrame();
void ImGuiConsole::ShowStubLog() {
if (!CheckMenuViewToggle(ImGuiKey_F5, m_showStubLog)) {
void ImGuiMenuTools::ShowStubLog() {
if (!ImGuiConsole::CheckMenuViewToggle(ImGuiKey_F5, m_showStubLog)) {
ClearPastFrame();
return;
}