diff options
Diffstat (limited to 'toolkit/gocui/structs.go')
| -rw-r--r-- | toolkit/gocui/structs.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/toolkit/gocui/structs.go b/toolkit/gocui/structs.go index 2b91de4..b4a2ab6 100644 --- a/toolkit/gocui/structs.go +++ b/toolkit/gocui/structs.go @@ -94,6 +94,13 @@ type cuiWidget struct { realSize rectType // the display size of this widget logicalSize rectType // the logical size. Includes all the child widgets + // used to track the size of grids + logicalW map[int]int // how tall each row in the grid is + logicalH map[int]int // how wide each column in the grid is + // where in the parent grid this widget should go + parentW int + parentH int + nextW int nextH int |
