summaryrefslogtreecommitdiff
path: root/andlabs/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-17 21:31:49 -0600
committerJeff Carr <[email protected]>2024-01-17 21:31:49 -0600
commit841e6252c95244f0ee7faf2c01d33f69a8ab483a (patch)
treeef400228622b87611168db2227269ba7fd56625d /andlabs/structs.go
parentba95c13799740b5f55541fc5e8ab9f1d34f7e421 (diff)
common tree package for toolkitsv0.12.4
This update provides *lots* of toolkit updates. This will allow the next step of debugging the gocui toolkit to make it work again. There are new common routines for handling the plugin channel communication Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'andlabs/structs.go')
-rw-r--r--andlabs/structs.go12
1 files changed, 9 insertions, 3 deletions
diff --git a/andlabs/structs.go b/andlabs/structs.go
index 87e88e1..e39cbe7 100644
--- a/andlabs/structs.go
+++ b/andlabs/structs.go
@@ -1,7 +1,11 @@
package main
-import "go.wit.com/dev/andlabs/ui"
-import _ "go.wit.com/dev/andlabs/ui/winmanifest"
+import (
+ "go.wit.com/gui/toolkits/tree"
+
+ "go.wit.com/dev/andlabs/ui"
+ _ "go.wit.com/dev/andlabs/ui/winmanifest"
+)
// var andlabs map[int]*andlabsT
// var callback func(int) bool
@@ -11,7 +15,9 @@ import _ "go.wit.com/dev/andlabs/ui/winmanifest"
var me config
type config struct {
- rootNode *node // the base of the binary tree. it should have id == 0
+ rootNode *tree.Node // the base of the binary tree. it should have id == 0
+ treeRoot *tree.Node // the base of the binary tree. it should have id == 0
+ myTree *tree.TreeInfo
}
// stores the raw toolkit internals