diff options
| author | Jeff Carr <[email protected]> | 2024-01-05 13:24:20 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-05 13:24:20 -0600 |
| commit | b9868cc873501e9e73c76b76a99d7b72cadab9b0 (patch) | |
| tree | 3d3b4cec5f9afc64f773405d2d6dbeca86f50fb7 /nocui/widget.go | |
| parent | 78654f6fdc00216c673fc9c56caa35ee3a9d0429 (diff) | |
nocui compiles against 'go.wit.com/gui/widget'
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'nocui/widget.go')
| -rw-r--r-- | nocui/widget.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nocui/widget.go b/nocui/widget.go index 71082a6..989634d 100644 --- a/nocui/widget.go +++ b/nocui/widget.go @@ -1,7 +1,7 @@ package main import ( - "go.wit.com/gui/toolkits" + "go.wit.com/gui/widget" ) // this is specific to the nocui toolkit @@ -10,14 +10,14 @@ func initWidget(n *node) *guiWidget { w = new(guiWidget) // Set(w, "default") - if n.WidgetType == toolkit.Root { + if n.WidgetType == widget.Root { log(logInfo, "setupWidget() FOUND ROOT w.id =", n.WidgetId) n.WidgetId = 0 me.rootNode = n return w } - if (n.WidgetType == toolkit.Box) { + if (n.WidgetType == widget.Box) { if (n.B) { n.horizontal = true } else { |
