diff options
| author | Jeff Carr <[email protected]> | 2025-03-02 20:05:23 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-03-02 20:05:23 -0600 |
| commit | 71c137c56b5541b3c049d513ec3dcf1c3502fe08 (patch) | |
| tree | 8db70df0452d1e497d1475415b5e2660565971c3 | |
| parent | 0a23b33e633bed497a4c1136d41857ede47d8096 (diff) | |
stub in widgetpb
| -rw-r--r-- | common.go | 2 | ||||
| -rw-r--r-- | structs.go | 6 |
2 files changed, 5 insertions, 3 deletions
@@ -26,7 +26,7 @@ func (n *Node) Show() *Node { if n.WidgetType == widget.Window { log.Log(CHANGE, "Show() on a hidden window", n.progname) - log.Log(NOW, "TODO: need protobuf in go.wit.com/gui to fix NewWindow()") + log.Log(NOW, "doing TestDraw()", n.progname) n.TestDraw() return n } @@ -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 { |
