diff options
| author | Jeff Carr <[email protected]> | 2023-05-10 14:28:30 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2023-05-10 14:28:30 -0500 |
| commit | 19e6ea76f3c09fe3a5d9a4d4caff7d14571f4ba5 (patch) | |
| tree | 6e1c9e86c9a591d6b0a7ca686026d783de1d67ac /structs.go | |
| parent | cb0e8a7146c055b47f42d0a1005b93e08492e6ca (diff) | |
andlabs: debugging flags working againv0.8.6
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 15 |
1 files changed, 10 insertions, 5 deletions
@@ -66,17 +66,22 @@ type Node struct { width int height int - // used for anything that needs a range + // used for anything that needs a range (for example: a slider) X int Y int - // the position of the widget in a grid - AtW int - AtH int - // where the next widget should be put in a grid + // the grid max width and height + // ignore max height when there is no space left? + W int + H int + // where the next widget should be put in this grid NextW int NextH int + // if this widget is in a grid, this is the position + AtW int + AtH int + // used for values I int S string |
