diff options
Diffstat (limited to 'nocui/structs.go')
| -rw-r--r-- | nocui/structs.go | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/nocui/structs.go b/nocui/structs.go new file mode 100644 index 0000000..888bcb5 --- /dev/null +++ b/nocui/structs.go @@ -0,0 +1,17 @@ +package main + +// stores the raw toolkit internals +type guiWidget struct { + Width int + Height int + + c int + val map[int]string +} + +// 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 +} |
