summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-03-02 20:05:23 -0600
committerJeff Carr <[email protected]>2025-03-02 20:05:23 -0600
commit71c137c56b5541b3c049d513ec3dcf1c3502fe08 (patch)
tree8db70df0452d1e497d1475415b5e2660565971c3 /structs.go
parent0a23b33e633bed497a4c1136d41857ede47d8096 (diff)
stub in widgetpb
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/structs.go b/structs.go
index 09fbf1f..a3a1781 100644
--- a/structs.go
+++ b/structs.go
@@ -4,6 +4,7 @@ import (
"embed"
"sync"
+ "go.wit.com/lib/protobuf/guipb"
"go.wit.com/widget"
)
@@ -157,8 +158,9 @@ type Node struct {
NextH int
// if this widget is in a grid, this is the position of a widget
- AtW int
- AtH int
+ AtW int
+ AtH int
+ widget guipb.Widget
}
type Widget interface {