backend/internal/system/surfacebox.go

15 lines
470 B
Go
Raw Normal View History

2024-06-01 14:39:14 -06:00
package system
2024-06-02 11:23:03 -06:00
import "errors"
2024-06-01 14:39:14 -06:00
import "git.tebibyte.media/tomo/tomo"
2024-06-02 11:33:59 -06:00
// 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.
2024-06-01 14:39:14 -06:00
func (this *System) NewSurfaceBox () (tomo.SurfaceBox, error) {
2024-06-02 11:23:03 -06:00
// TODO
return nil, errors.New("system: not implemented yet")
2024-06-01 14:39:14 -06:00
}