summaryrefslogtreecommitdiff
path: root/andlabs/add.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-17 23:39:03 -0600
committerJeff Carr <[email protected]>2024-01-17 23:39:03 -0600
commita0baba0821441d9cf38f0b33fe12fb96925c6236 (patch)
tree2aece2a890c66c36b08524e117753817078ee58c /andlabs/add.go
parentbee272651ad38453aef27f098513f7be652c39bf (diff)
new paths
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'andlabs/add.go')
-rw-r--r--andlabs/add.go16
1 files changed, 8 insertions, 8 deletions
diff --git a/andlabs/add.go b/andlabs/add.go
index a47d697..c948b88 100644
--- a/andlabs/add.go
+++ b/andlabs/add.go
@@ -1,13 +1,13 @@
package main
import (
+ "go.wit.com/lib/widget"
"go.wit.com/log"
- "go.wit.com/gui/widget"
)
func add(a *widget.Action) {
log.Warn("andlabs add()", a.WidgetId, a.State.ProgName)
- if (a.WidgetType == widget.Root) {
+ if a.WidgetType == widget.Root {
if me.treeRoot == nil {
me.treeRoot = me.myTree.AddNode(a)
}
@@ -33,9 +33,9 @@ func add(a *widget.Action) {
newBox(n)
return
/*
- case widget.Tab:
- newTab(n)
- return
+ case widget.Tab:
+ newTab(n)
+ return
*/
case widget.Label:
newLabel(p, n)
@@ -62,9 +62,9 @@ func add(a *widget.Action) {
newTextbox(p, n)
return
/*
- case widget.Image:
- newImage(p, n)
- return
+ case widget.Image:
+ newImage(p, n)
+ return
*/
default:
log.Log(ERROR, "add() error TODO: ", n.WidgetType, n.State.ProgName)