diff options
| author | Jeff Carr <[email protected]> | 2023-04-27 12:55:11 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2023-04-27 12:55:11 -0500 |
| commit | 6f441738061b0528e86183402474ddb1cdf3c77a (patch) | |
| tree | af5b38556b1dd9dd3fd17e517608669b26d55a05 /toolkit/andlabs/structs.go | |
| parent | 253dcb012f6d4fc861e6fc9a66fd2c7260ead442 (diff) | |
andlabs: more cleanupsv0.8.5
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'toolkit/andlabs/structs.go')
| -rw-r--r-- | toolkit/andlabs/structs.go | 16 |
1 files changed, 3 insertions, 13 deletions
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 } |
