aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/gui/RunControlWindow.kt
diff options
context:
space:
mode:
authorJames Barnett <noreply@jamesbarnett.xyz>2018-07-24 20:24:58 +0100
committerJames Barnett <noreply@jamesbarnett.xyz>2018-07-24 20:24:58 +0100
commite4e561bd94df819f4ce9487f28b1d18a8d178810 (patch)
tree4ff6bb0d6e9afbb6cb06eeceb2dc3d538bbc5adc /src/main/kotlin/gui/RunControlWindow.kt
parent6acdde8f7093c0fb2e95d8dbc14dfab096b0a027 (diff)
downloadKGB-e4e561bd94df819f4ce9487f28b1d18a8d178810.tar.xz
KGB-e4e561bd94df819f4ce9487f28b1d18a8d178810.zip
Add ram dump debug window
Diffstat (limited to 'src/main/kotlin/gui/RunControlWindow.kt')
-rw-r--r--src/main/kotlin/gui/RunControlWindow.kt4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/kotlin/gui/RunControlWindow.kt b/src/main/kotlin/gui/RunControlWindow.kt
index 8ffc764..cff33e5 100644
--- a/src/main/kotlin/gui/RunControlWindow.kt
+++ b/src/main/kotlin/gui/RunControlWindow.kt
@@ -8,7 +8,9 @@ import imgui.ImGui
fun paintRunControlWindow(cpu: Cpu) {
with(ImGui) {
- setNextWindowPos(Vec2(20, 410), Cond.FirstUseEver)
+ setNextWindowSize(Vec2(120, 200), Cond.FirstUseEver)
+ setNextWindowPos(Vec2(220, 80), Cond.FirstUseEver)
+
begin("Run control")
text("Current op:")