From b7cbcf725d493f8a6031b369ff34bdb0686699b0 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 5 Jan 2024 13:18:44 -0600 Subject: move to "gui/widget" Signed-off-by: Jeff Carr --- structs.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'structs.go') 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 -- cgit v1.2.3