From 36218f4535dd65d2c8d4ecbea761b3b0289e6f3c Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Mon, 1 Jan 2024 16:11:54 -0600 Subject: move into seperate repo --- nocui/structs.go | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 nocui/structs.go (limited to 'nocui/structs.go') 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 +} -- cgit v1.2.3