actually there. fire in the hole

This commit is contained in:
Jeff Carr 2025-02-05 14:48:35 -06:00
parent 8dd0f88e7c
commit 85eda6aeb8
1 changed files with 8 additions and 7 deletions

View File

@ -41,17 +41,18 @@ func (tk *guiWidget) redrawWindow(w int, h int) {
tk.windowFrame.node.State.Label = "windowFrame"
tk.windowFrame.makeTK([]string{"windowFrame"})
}
tk.windowFrame.MoveToOffset(w, h+2)
// tk.windowFrame.MoveToOffset(w, h+2)
r := tk.getFullSize()
tk.windowFrame.gocuiSize.w0 = r.w0
tk.windowFrame.gocuiSize.w1 = r.w1
tk.windowFrame.gocuiSize.h0 = r.h0
tk.windowFrame.gocuiSize.h1 = r.h1
tk.windowFrame.gocuiSize.w1 = r.w1 + 1
tk.windowFrame.gocuiSize.h0 = r.h0 + 2
tk.windowFrame.gocuiSize.h1 = r.h1 + 1
tk.windowFrame.full.w0 = r.w0
tk.windowFrame.full.w1 = r.w1
tk.windowFrame.full.h0 = r.h0
tk.windowFrame.full.h1 = r.h1
tk.windowFrame.full.w1 = r.w1 + 1
tk.windowFrame.full.h0 = r.h0 + 2
tk.windowFrame.full.h1 = r.h1 + 1
// tk.windowFrame.drawView()
tk.windowFrame.Hide()
tk.windowFrame.Show()
me.baseGui.SetViewBeneath(tk.windowFrame.cuiName, tk.cuiName, 1)
me.baseGui.SetView(tk.windowFrame.cuiName, tk.windowFrame.full.w0, tk.windowFrame.full.h0, tk.windowFrame.full.w1, tk.windowFrame.full.h1, 0)