some work on the quick search dialog + image load refactoring

This commit is contained in:
Drew Weymouth
2023-11-05 14:07:52 -08:00
parent 0439ec695b
commit e10b751a4f
4 changed files with 215 additions and 32 deletions
+3 -3
View File
@@ -1,9 +1,9 @@
package widgets
import (
"context"
"image"
"github.com/dweymouth/supersonic/backend"
"github.com/dweymouth/supersonic/res"
"github.com/dweymouth/supersonic/sharedutil"
"github.com/dweymouth/supersonic/ui/layouts"
@@ -140,8 +140,8 @@ type GridViewItem struct {
container *fyne.Container
// updated by GridView
Cover *coverImage
ImgLoadCancel context.CancelFunc
Cover *coverImage
ImgLoader backend.ThumbnailLoader
OnPlay func()
OnShowContextMenu func(fyne.Position)