Backend.NewWindow now can return error
This commit is contained in:
parent
c7c6fd2894
commit
41d3cd8729
|
@ -5,7 +5,7 @@ import "image"
|
||||||
import "errors"
|
import "errors"
|
||||||
|
|
||||||
type Backend interface {
|
type Backend interface {
|
||||||
NewWindow (image.Rectangle) MainWindow
|
NewWindow (image.Rectangle) (MainWindow, error)
|
||||||
NewBox () Box
|
NewBox () Box
|
||||||
NewTextBox () TextBox
|
NewTextBox () TextBox
|
||||||
NewCanvasBox () CanvasBox
|
NewCanvasBox () CanvasBox
|
||||||
|
|
Loading…
Reference in New Issue