diff options
| author | Jeff Carr <[email protected]> | 2024-01-01 16:11:54 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-01 16:11:54 -0600 |
| commit | 36218f4535dd65d2c8d4ecbea761b3b0289e6f3c (patch) | |
| tree | 24cf9c64dd518528f30a6282e879e8e5c6136bd4 /nocui/structs.go | |
move into seperate repo
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 +} |
