Backend.NewWindow now can return error

This commit is contained in:
Sasha Koshka 2023-06-30 22:07:58 -04:00
parent c7c6fd2894
commit 41d3cd8729
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ import "image"
import "errors"
type Backend interface {
NewWindow (image.Rectangle) MainWindow
NewWindow (image.Rectangle) (MainWindow, error)
NewBox () Box
NewTextBox () TextBox
NewCanvasBox () CanvasBox