summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
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 {