Add icon setter to backend

This commit is contained in:
Sasha Koshka 2022-11-09 01:13:44 -05:00
parent 60269d554c
commit 11bdae78a0

View File

@ -1,11 +1,13 @@
package stone
import "time"
import "image"
import "errors"
type Backend interface {
Run () (chan(Event))
SetTitle (title string)
SetIcon (icons []image.Image)
}
type BackendFactory func (application *Application) (backend Backend, err error)