hmm. still no, but more something or other
This commit is contained in:
parent
8ce9ca882a
commit
6237bf89c3
18
window.go
18
window.go
|
@ -15,6 +15,9 @@ func (tk *guiWidget) redrawWindow(w int, h int) {
|
||||||
}
|
}
|
||||||
tk.setFullSize() // might make the green box the right size
|
tk.setFullSize() // might make the green box the right size
|
||||||
|
|
||||||
|
tk.frame = false
|
||||||
|
tk.hasTabs = false
|
||||||
|
|
||||||
tk.DrawAt(w, h)
|
tk.DrawAt(w, h)
|
||||||
tk.setColor(&colorActiveW) // sets the window to Green BG
|
tk.setColor(&colorActiveW) // sets the window to Green BG
|
||||||
tk.placeWidgets(w, h) // compute the sizes & places for each widget
|
tk.placeWidgets(w, h) // compute the sizes & places for each widget
|
||||||
|
@ -33,14 +36,15 @@ func redoWindows(nextW int, nextH int) {
|
||||||
tmp := fmt.Sprintf("redoWindowsS (%d,%d)", nextW, nextH)
|
tmp := fmt.Sprintf("redoWindowsS (%d,%d)", nextW, nextH)
|
||||||
win.dumpWidget(tmp)
|
win.dumpWidget(tmp)
|
||||||
|
|
||||||
win.frame = false
|
win.redrawWindow(nextW, nextH)
|
||||||
win.hasTabs = false
|
/*
|
||||||
|
|
||||||
// this should make the window the full size and re-draw it
|
// this should make the window the full size and re-draw it
|
||||||
win.setFullSize() // win.gocuiSetWH(nextW, nextH)
|
win.setFullSize() // win.gocuiSetWH(nextW, nextH)
|
||||||
win.Hide()
|
win.Hide()
|
||||||
win.DrawAt(nextW, nextH)
|
win.DrawAt(nextW, nextH)
|
||||||
win.Show()
|
win.Show()
|
||||||
|
*/
|
||||||
|
|
||||||
tmp = fmt.Sprintf("redoWindowsE (%d,%d)", nextW, nextH)
|
tmp = fmt.Sprintf("redoWindowsE (%d,%d)", nextW, nextH)
|
||||||
win.dumpWidget(tmp)
|
win.dumpWidget(tmp)
|
||||||
|
|
Loading…
Reference in New Issue