diff options
| author | Jeff Carr <[email protected]> | 2024-01-05 14:50:14 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-05 14:50:14 -0600 |
| commit | 198f7eac8894ffdc1ed725704fa9449dd55fc431 (patch) | |
| tree | 3b46b019949b274c0477b2a3eac5e6175bddfa2a /main.go | |
| parent | ff32316084e11911462be420dd8310473b3d26fd (diff) | |
work towards gui Draw() abstraction
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -15,6 +15,8 @@ import ( func DebugWindow(p *gui.Node) { if (me != nil) { + log.Warn("Draw then Toggle() debuging window here") + me.bugWin.Draw() me.bugWin.Toggle() return } @@ -22,11 +24,11 @@ func DebugWindow(p *gui.Node) { me.myGui = p me.bugWin = gadgets.NewBasicWindow(p,"go.wit.com/gui debug window") - DebugWindow2(me.bugWin.Box(), "Debug Tab") - // initialize the log settings window (does not display it) + // initialize the log settings window (does not display it) me.myLS = logsettings.New(me.myGui) + if ArgDebug() { log.SetTmp() } |
