From 6f441738061b0528e86183402474ddb1cdf3c77a Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 27 Apr 2023 12:55:11 -0500 Subject: andlabs: more cleanups Signed-off-by: Jeff Carr --- toolkit/andlabs/structs.go | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) (limited to 'toolkit/andlabs/structs.go') diff --git a/toolkit/andlabs/structs.go b/toolkit/andlabs/structs.go index c2f1d11..ac35183 100644 --- a/toolkit/andlabs/structs.go +++ b/toolkit/andlabs/structs.go @@ -38,12 +38,6 @@ type node struct { // stores the raw toolkit internals type andlabsT struct { - // wId int // widget ID - // WidgetType toolkit.WidgetType - - Name string - Text string - // Type toolkit.WidgetType Width int Height int @@ -66,8 +60,9 @@ type andlabsT struct { uiWindow *ui.Window uiMultilineEntry *ui.MultilineEntry uiEditableCombobox *ui.EditableCombobox - uiGrid *ui.Grid uiImage *ui.Image + + uiGrid *ui.Grid gridX int gridY int @@ -75,13 +70,8 @@ type andlabsT struct { // this is probably fucked up and in many ways wrong because of unsafe goroutine threading // but it's working for now due to the need for need for a correct interaction layer betten toolkits c int - i int - b bool - s string val map[int]string // andlabs/ui only accesses widget id numbers - boxC int // how many things on in a box - boxW map[int]int // find a widget in a box - text string + boxC int // how many things on in a box or how many tabs } -- cgit v1.2.3