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 --- structs.go | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'structs.go') diff --git a/structs.go b/structs.go index 27632aa..53572f2 100644 --- a/structs.go +++ b/structs.go @@ -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 -- cgit v1.2.3