From 10eb3685d71a8b4f74a6b3430ef54d56d9aa625d Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Mon, 19 Feb 2024 14:41:32 -0600 Subject: try out a "Mirror" concept for widgets --- structs.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'structs.go') diff --git a/structs.go b/structs.go index d14f08d..8515184 100644 --- a/structs.go +++ b/structs.go @@ -130,6 +130,10 @@ type Node struct { parent *Node children []*Node + // Experiment. This might be a great idea or a terrible idea + isMirror *Node // is a mirror of some other widget + hasMirrors []*Node // has a mirror + // RETHINK EVERYTHING BELOW HERE 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 -- cgit v1.2.3