diff options
| author | Jeff Carr <[email protected]> | 2023-12-30 20:47:35 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2023-12-30 20:47:35 -0600 |
| commit | e51c54a1a083b7e5ab9a6797a33325757ed34b29 (patch) | |
| tree | ba5edac296a9090eb11f7c49d6e01870e64bf98e /debugWindow.go | |
| parent | 25990de20d03ff852921c862c36bd5d4877c2bb1 (diff) | |
show/set flags from go.wit.com/log package
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'debugWindow.go')
| -rw-r--r-- | debugWindow.go | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/debugWindow.go b/debugWindow.go index ed1804e..c4d050b 100644 --- a/debugWindow.go +++ b/debugWindow.go @@ -1,9 +1,5 @@ package gui -import ( -// "go.wit.com/gui/toolkit" -) - // TODO: move all this shit into somewhere not global // main debugging window @@ -26,6 +22,7 @@ func DebugWindow() { func (n *Node) DebugTab(title string) *Node { var newN, gog, g1 *Node + // var logSettings *gadgets.LogSettings // time.Sleep(1 * time.Second) newN = n.NewTab(title) @@ -42,7 +39,7 @@ func (n *Node) DebugTab(title string) *Node { makeTabs = false cb.Set(false) - gog.NewButton("Debug Flags", func () { + gog.NewButton("logging", func () { bugWin.DebugFlags(makeTabs) }) gog.NewButton("Debug Widgets", func () { |
