blob: 3f57d5a6cbbba7f438054ba3fd392eac071ea80c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
package gui
import glm_.vec2.Vec2
import imgui.*
fun paintEmulationOutputWindow(frame: TextureID) {
with(ImGui) {
pushStyleVar(StyleVar.WindowPadding, Vec2(0))
setNextWindowSize(Vec2(640, 596), Cond.FirstUseEver)
setNextWindowPos(Vec2(620, 10), Cond.FirstUseEver)
begin("Emulation output - 4x scale", flags_ = WindowFlag.NoScrollbar or WindowFlag.NoResize)
image(frame, Vec2(640,576))
end()
popStyleVar()
}
}
|