From 19e6ea76f3c09fe3a5d9a4d4caff7d14571f4ba5 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 10 May 2023 14:28:30 -0500 Subject: andlabs: debugging flags working again Signed-off-by: Jeff Carr --- toolkit/gocui/structs.go | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'toolkit/gocui/structs.go') diff --git a/toolkit/gocui/structs.go b/toolkit/gocui/structs.go index b2a8b20..1fa6692 100644 --- a/toolkit/gocui/structs.go +++ b/toolkit/gocui/structs.go @@ -93,7 +93,7 @@ var ( // this is the standard binary tree structure for toolkits type node struct { - parent *node + parent *node children []*node WidgetId int // widget ID @@ -115,6 +115,12 @@ type node struct { X int Y int + // This is for the grid size & widget position + W int + H int + AtW int + AtH int + // the internal plugin toolkit structure tk *cuiWidget } @@ -199,7 +205,7 @@ type cuiWidget struct { v *gocui.View frame bool - parent *cuiWidget + parent *cuiWidget children []*cuiWidget } -- cgit v1.2.3