changes for ImGui

This commit is contained in:
2026-09-15 02:23:22 -07:00
parent 12a1e6eca9
commit 05fe3c2ee8
14 changed files with 593 additions and 6 deletions
+29
View File
@@ -0,0 +1,29 @@
#pragma once
#include <sophia/handles.hpp>
#include <sophia/ui/panel_registry.hpp>
namespace sophia {
class DebugUI {
public:
DebugUI(const DebugUI&) = delete;
DebugUI& operator=(const DebugUI&) = delete;
explicit DebugUI(PanelRegistry& registry);
~DebugUI() = default;
void show();
void hide();
void showPanelRegistry(bool show = true);
void showFrameStats(bool show = true);
private:
PanelRegistry& registry;
PanelHandle panelRegistryHandle;
PanelHandle frameStatsHandle;
};
} // namespace sophia