summaryrefslogtreecommitdiff
path: root/toolkit/gocui/debug.go
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/gocui/debug.go')
-rw-r--r--toolkit/gocui/debug.go19
1 files changed, 0 insertions, 19 deletions
diff --git a/toolkit/gocui/debug.go b/toolkit/gocui/debug.go
index e569872..9b57b08 100644
--- a/toolkit/gocui/debug.go
+++ b/toolkit/gocui/debug.go
@@ -2,27 +2,8 @@ package main
import (
"fmt"
-
- "git.wit.org/wit/gui/toolkit"
-// "github.com/awesome-gocui/gocui"
)
-// var debugAction bool = false
-
-func actionDump(b bool, a *toolkit.Action) {
- if (a == nil) {
- log(b, "action = nil")
- return
- }
-
- log(b, "a.Name =", a.Name)
- log(b, "a.Text =", a.Text)
- log(b, "a.WidgetId =", a.WidgetId)
- log(b, "a.ParentId =", a.ParentId)
- log(b, "a.B =", a.B)
- log(b, "a.S =", a.S)
-}
-
func (w *cuiWidget) dumpTree(draw bool) {
if (w == nil) {
return