summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-02-19 14:41:32 -0600
committerJeff Carr <[email protected]>2024-02-19 14:41:32 -0600
commit10eb3685d71a8b4f74a6b3430ef54d56d9aa625d (patch)
treea76b5908c74863be81d0178ae6efeb26dd90f0f6 /structs.go
parent337a55eaac4ffc516c26286b04b039533adb157d (diff)
try out a "Mirror" concept for widgets
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go4
1 files changed, 4 insertions, 0 deletions
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