From 87ab9a958d9eb9f4db35d5c9f9ce923df3132dad Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sat, 16 Dec 2023 06:57:39 -0600 Subject: gocui: fixes to labels + line entries correct line hight dump non-working size rectangle code somehow works better better dropdown menu debugging minor fixes to common.go more common code Signed-off-by: Jeff Carr --- toolkit/andlabs/structs.go | 35 ----------------------------------- 1 file changed, 35 deletions(-) (limited to 'toolkit/andlabs/structs.go') diff --git a/toolkit/andlabs/structs.go b/toolkit/andlabs/structs.go index c5f94ee..02b9204 100644 --- a/toolkit/andlabs/structs.go +++ b/toolkit/andlabs/structs.go @@ -16,41 +16,6 @@ type config struct { rootNode *node // the base of the binary tree. it should have id == 0 } -/* -type node struct { - parent *node - children []*node - - WidgetId int // widget ID - WidgetType toolkit.WidgetType - ParentId int // parent ID - - Name string - Text string - - // This is how the values are passed back and forth - // values from things like checkboxes & dropdown's - B bool - I int - S string - - A any // switch to this or deprecate this? pros/cons? - - // This is used for things like a slider(0,100) - X int - Y int - - // This is for the grid size & widget position - W int - H int - AtW int - AtH int - - // the internal plugin toolkit structure - tk *andlabsT -} -*/ - // stores the raw toolkit internals type guiWidget struct { Width int -- cgit v1.2.3