From 11bdae78a0ce03eb5265ef57c27af5af5a29f77e Mon Sep 17 00:00:00 2001 From: Sasha Koshka Date: Wed, 9 Nov 2022 01:13:44 -0500 Subject: [PATCH] Add icon setter to backend --- backend.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend.go b/backend.go index 8a43502..088aa01 100644 --- a/backend.go +++ b/backend.go @@ -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)