Backend.NewWindow now can return error
This commit is contained in:
parent
c7c6fd2894
commit
41d3cd8729
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue