diff options
Diffstat (limited to 'nocui/structs.go')
| -rw-r--r-- | nocui/structs.go | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/nocui/structs.go b/nocui/structs.go index 888bcb5..c8a7cb4 100644 --- a/nocui/structs.go +++ b/nocui/structs.go @@ -1,17 +1,22 @@ package main +import ( + "go.wit.com/gui/toolkits/tree" +) + // stores the raw toolkit internals type guiWidget struct { Width int Height int c int - val map[int]string + val map[string]int } // It's probably a terrible idea to call this 'me' var me config type config struct { - rootNode *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 } |
