diff options
| author | Jeff Carr <[email protected]> | 2024-01-17 23:39:03 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-17 23:39:03 -0600 |
| commit | a0baba0821441d9cf38f0b33fe12fb96925c6236 (patch) | |
| tree | 2aece2a890c66c36b08524e117753817078ee58c /andlabs/common.go | |
| parent | bee272651ad38453aef27f098513f7be652c39bf (diff) | |
new paths
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'andlabs/common.go')
| -rw-r--r-- | andlabs/common.go | 30 |
1 files changed, 15 insertions, 15 deletions
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 |
