backend/internal/system/surfacebox.go

15 lines
470 B
Go

package system
import "errors"
import "git.tebibyte.media/tomo/tomo"
// TODO before implementing this, tomo.SurfaceBox needs a Close behavior. That
// way, we know when to close the surface itself. Additionally, we need some
// kind of OnReallocate method that is called when the surface is re-allocated
// due to a resize or something.
func (this *System) NewSurfaceBox () (tomo.SurfaceBox, error) {
// TODO
return nil, errors.New("system: not implemented yet")
}