summaryrefslogtreecommitdiff
path: root/andlabs/add.go
diff options
context:
space:
mode:
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)