From a0baba0821441d9cf38f0b33fe12fb96925c6236 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 17 Jan 2024 23:39:03 -0600 Subject: new paths Signed-off-by: Jeff Carr --- andlabs/common.go | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'andlabs/common.go') diff --git a/andlabs/common.go b/andlabs/common.go index 1cfac84..ea981a9 100644 --- a/andlabs/common.go +++ b/andlabs/common.go @@ -1,24 +1,24 @@ package main import ( - "go.wit.com/gui/widget" + "go.wit.com/lib/widget" ) type node struct { - parent *node + parent *node children []*node - WidgetId int // widget ID - WidgetType widget.WidgetType - ParentId int // parent ID + WidgetId int // widget ID + WidgetType widget.WidgetType + ParentId int // parent ID - state widget.State + state widget.State // a reference name for programming and debuggign. Must be unique - progname string + progname string // the text used for button labesl, window titles, checkbox names, etc - label string + label string // horizontal means layout widgets like books on a bookshelf // vertical means layout widgets like books in a stack @@ -32,20 +32,20 @@ type node struct { strings []string // This is used for things like a slider(0,100) - X int - Y int + X int + Y int // This is for the grid size & widget position - W int - H int - AtW int - AtH int + W int + H int + AtW int + AtH int vals []string // dropdown menu items // horizontal bool `default:false` - hasTabs bool // does the window have tabs? + hasTabs bool // does the window have tabs? currentTab bool // the visible tab // the internal plugin toolkit structure -- cgit v1.2.3