summaryrefslogtreecommitdiff
path: root/window.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-05 14:42:50 -0600
committerJeff Carr <[email protected]>2025-02-05 14:42:50 -0600
commit8dd0f88e7ccd8c9517ef39f46ba12dde9737013c (patch)
tree944d7db6f3fd2ef95ee95c63b5de8f5eb0d9cfa4 /window.go
parentc328a755c60d1e4bcad64c23077d4bb0f1016537 (diff)
almost there. as in Star Wars almost there
Diffstat (limited to 'window.go')
-rw-r--r--window.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/window.go b/window.go
index 6948029..487f4d3 100644
--- a/window.go
+++ b/window.go
@@ -54,6 +54,10 @@ func (tk *guiWidget) redrawWindow(w int, h int) {
// tk.windowFrame.drawView()
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)
+ tk.hideWidgets()
+ tk.showWidgets()
+ // tk.windowFrame.drawView()
}
// re-draws the buttons for each of the windows