diff options
| author | Jeff Carr <[email protected]> | 2024-01-03 11:36:11 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-03 11:36:11 -0600 |
| commit | 796d07652e42349f4a429691209e508a08169d81 (patch) | |
| tree | 065658dc0c1245e3bd9c98e2592f477e09795fa7 /mainWindow.go | |
| parent | 6b49c4139e0ec885d8790f6dba794f2c7272c074 (diff) | |
move logSettings window here
Diffstat (limited to 'mainWindow.go')
| -rw-r--r-- | mainWindow.go | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/mainWindow.go b/mainWindow.go index 6d535cd..ee3e354 100644 --- a/mainWindow.go +++ b/mainWindow.go @@ -7,13 +7,6 @@ import ( "go.wit.com/gui/gui" ) -// main debugging window -var myGui *gui.Node -var bugWin *gui.Node -var bugTab *gui.Node - -var mapWindows map[string]*gui.Node // tracks all windows that exist - /* Creates a window helpful for debugging this package */ @@ -26,7 +19,6 @@ func DebugWindow(p *gui.Node) { bugTab.StandardClose() if gui.ArgDebug() { log.SetTmp() - // myGui.DebugFlags() } } @@ -52,7 +44,7 @@ func DebugWindow2(n *gui.Node, title string) *gui.Node { n.SetTabs(false) gog.NewButton("logging", func () { - bugWin.DebugFlags() + DebugFlags(myGui) }) gog.NewButton("Debug Widgets", func () { gui.DebugWidgetWindow(myGui) |
