aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/gui/EmulationOutputWindow.kt
diff options
context:
space:
mode:
authorJames Barnett <noreply@jamesbarnett.xyz>2018-07-21 19:07:16 +0100
committerJames Barnett <noreply@jamesbarnett.xyz>2018-07-21 19:07:16 +0100
commit2861f2db6f918c48019c1ac3f91bf6a407452493 (patch)
treedb451bde7a552ac6bd8369e6ff0279a96b125600 /src/main/kotlin/gui/EmulationOutputWindow.kt
parent7fd114712c1921cb03748d42deeb655f6b225cce (diff)
downloadKGB-2861f2db6f918c48019c1ac3f91bf6a407452493.tar.xz
KGB-2861f2db6f918c48019c1ac3f91bf6a407452493.zip
Add imgui based debug window container
Diffstat (limited to 'src/main/kotlin/gui/EmulationOutputWindow.kt')
-rw-r--r--src/main/kotlin/gui/EmulationOutputWindow.kt15
1 files changed, 15 insertions, 0 deletions
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