diff options
Diffstat (limited to 'nocui/widget.go')
| -rw-r--r-- | nocui/widget.go | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/nocui/widget.go b/nocui/widget.go deleted file mode 100644 index 6e50705..0000000 --- a/nocui/widget.go +++ /dev/null @@ -1,30 +0,0 @@ -package main - -import ( - "go.wit.com/log" - "go.wit.com/gui/widget" -) - -// this is specific to the nocui toolkit -func initWidget(n *node) *guiWidget { - var w *guiWidget - w = new(guiWidget) - // Set(w, "default") - - if n.WidgetType == widget.Root { - log.Log(INFO, "setupWidget() FOUND ROOT w.id =", n.WidgetId) - n.WidgetId = 0 - me.rootNode = n - return w - } - - if (n.WidgetType == widget.Box) { - if (n.direction == widget.Horizontal) { - // n.horizontal = true - } else { - // n.horizontal = false - } - } - - return w -} |
