diff options
| author | Jeff Carr <[email protected]> | 2024-01-05 13:18:44 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-05 13:18:44 -0600 |
| commit | b7cbcf725d493f8a6031b369ff34bdb0686699b0 (patch) | |
| tree | 8cb44ae400beb894d547875fcc68575e9ae4c9e3 /redraw.go | |
| parent | 0993e7d3d06186eac45ad34fd8618565219032ed (diff) | |
move to "gui/widget"
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'redraw.go')
| -rw-r--r-- | redraw.go | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -2,7 +2,7 @@ package gui import ( "go.wit.com/log" - "go.wit.com/gui/toolkits" + "go.wit.com/gui/widget" ) // This recreates the whole GUI for a plugin @@ -23,12 +23,12 @@ func (n *Node) redraw(p *aplug) { func (n *Node) redo(plug *aplug) { log.Info("redo()", plug.name, n.id, n.WidgetType, n.Name) - var a *toolkit.Action - a = new(toolkit.Action) + var a *widget.Action + a = new(widget.Action) a.Name = n.Name a.Text = n.Text - a.ActionType = toolkit.Add + a.ActionType = widget.Add a.WidgetType = n.WidgetType a.WidgetId = n.id |
