fyne/structs.go

27 lines
444 B
Go
Raw Permalink Normal View History

2024-02-27 02:21:00 -06:00
package main
import (
2025-02-14 18:25:28 -06:00
"sync"
2024-02-27 02:21:00 -06:00
"go.wit.com/toolkits/tree"
)
// stores the raw toolkit internals
type guiWidget struct {
Width int
Height int
c int
val map[string]int
}
2025-02-14 18:25:28 -06:00
var initOnce sync.Once // run initPlugin() only once
var me config // It's probably a terrible idea to call this 'me'
2024-02-27 02:21:00 -06:00
type config struct {
treeRoot *tree.Node // the base of the binary tree. it should have id == 0
myTree *tree.TreeInfo
exit bool
}