2024-01-18 00:11:03 -06:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
|
|
|
"go.wit.com/toolkits/tree"
|
|
|
|
)
|
|
|
|
|
|
|
|
// stores the raw toolkit internals
|
|
|
|
type guiWidget struct {
|
|
|
|
Width int
|
|
|
|
Height int
|
|
|
|
|
2024-01-18 04:08:32 -06:00
|
|
|
c int
|
2024-01-18 00:11:03 -06:00
|
|
|
val map[string]int
|
|
|
|
}
|
|
|
|
|
|
|
|
// It's probably a terrible idea to call this 'me'
|
|
|
|
var me config
|
|
|
|
|
|
|
|
type config struct {
|
|
|
|
treeRoot *tree.Node // the base of the binary tree. it should have id == 0
|
2024-01-18 04:08:32 -06:00
|
|
|
myTree *tree.TreeInfo
|
2024-01-18 00:11:03 -06:00
|
|
|
}
|