summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-05 13:18:44 -0600
committerJeff Carr <[email protected]>2024-01-05 13:18:44 -0600
commitb7cbcf725d493f8a6031b369ff34bdb0686699b0 (patch)
tree8cb44ae400beb894d547875fcc68575e9ae4c9e3 /structs.go
parent0993e7d3d06186eac45ad34fd8618565219032ed (diff)
move to "gui/widget"
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/structs.go b/structs.go
index b3900c0..792bcc8 100644
--- a/structs.go
+++ b/structs.go
@@ -3,7 +3,7 @@ package gui
import (
"sync"
"embed"
- "go.wit.com/gui/toolkits"
+ "go.wit.com/gui/widget"
)
//
@@ -35,7 +35,7 @@ type guiConfig struct {
counter int // used to make unique WidgetId's
// sets the chan for the plugins to call back too
- guiChan chan toolkit.Action
+ guiChan chan widget.Action
// option to pass in compiled plugins as embedded files
resFS embed.FS
@@ -50,7 +50,7 @@ type guiConfig struct {
type Node struct {
id int
- WidgetType toolkit.WidgetType
+ WidgetType widget.WidgetType
// for NewLabel("hello"), Text = 'hello'
Text string // what is visable to the user