From 2861f2db6f918c48019c1ac3f91bf6a407452493 Mon Sep 17 00:00:00 2001 From: James Barnett Date: Sat, 21 Jul 2018 19:07:16 +0100 Subject: Add imgui based debug window container --- src/main/kotlin/gui/EmulationOutputWindow.kt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/main/kotlin/gui/EmulationOutputWindow.kt (limited to 'src/main/kotlin/gui/EmulationOutputWindow.kt') diff --git a/src/main/kotlin/gui/EmulationOutputWindow.kt b/src/main/kotlin/gui/EmulationOutputWindow.kt new file mode 100644 index 0000000..489edbe --- /dev/null +++ b/src/main/kotlin/gui/EmulationOutputWindow.kt @@ -0,0 +1,15 @@ +package gui + +import glm_.vec2.Vec2 +import imgui.Cond +import imgui.ImGui + +fun paintEmulationOutputWindow() { + with(ImGui) { + setNextWindowSize(Vec2(640, 576), Cond.FirstUseEver) + setNextWindowPos(Vec2(400, 50), Cond.FirstUseEver) + begin("Emulation output - 4x scale") + text("TODO - actually render something...") + end() + } +} \ No newline at end of file -- cgit v1.2.3