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
+2 -1
View File
@@ -3,6 +3,7 @@
#include "imgui.h"
#include <imgui_internal.h>
#include "ImGuiConsole.hpp"
#include "ImGuiMenuGame.hpp"
namespace dusk {
void TextCenter(const std::string& text) {
@@ -14,7 +15,7 @@ namespace dusk {
static inline float GetScale() { return ImGui::GetCurrentContext()->CurrentDpiScale; }
void ImGuiConsole::ShowInputViewer() {
void ImGuiMenuGame::windowInputViewer() {
if (!m_showInputViewer) {
return;
}