summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-06 13:53:15 -0600
committerJeff Carr <[email protected]>2024-01-06 13:53:15 -0600
commitb3dfc689abe6699112518ddaf5e12aa87ef931f8 (patch)
tree2f5e14ac484ac45e52e58a57dd95f904a0d38094 /structs.go
parentd075b29aff66e784a615a0a3e436ae7433556789 (diff)
sierpinski carpet mode
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/structs.go b/structs.go
index 792bcc8..308aeb7 100644
--- a/structs.go
+++ b/structs.go
@@ -48,7 +48,11 @@ type guiConfig struct {
// The Node is a binary tree. This is how all GUI elements are stored
// simply the name and the size of whatever GUI element exists
type Node struct {
- id int
+ id int // should be unique
+ hidden bool // Sierpinski Carpet mode. It's there, but you can't see it.
+ pad bool // the toolkit may use this. it's up to the toolkit
+ margin bool // the toolkit may use this. it's up to the toolkit
+ expand bool // the toolkit may use this. it's up to the toolkit
WidgetType widget.WidgetType