The base tomo module only retains a singleton backend

This commit is contained in:
2023-04-30 01:27:04 -04:00
parent cd8371a3f3
commit 363779a947
8 changed files with 21 additions and 103 deletions

View File

@@ -1,7 +1,7 @@
package tomo
import "image"
import "git.tebibyte.media/sashakoshka/tomo/canvas"
import "git.tebibyte.media/sashakoshka/tomo/artist"
// Entity is a handle given to elements by the backend. Extended entity
// interfaces are defined in the ability module.
@@ -28,5 +28,5 @@ type Entity interface {
// labels. If there is no parent element (that is, the element is
// directly inside of the window), the backend will draw a default
// background pattern.
DrawBackground (canvas.Canvas)
DrawBackground (artist.Canvas)
}