We now have an untested lone scrollbar element

This commit is contained in:
2023-03-09 18:15:52 -05:00
parent cf672824a6
commit aff9aca835
6 changed files with 124 additions and 7 deletions

18
examples/drawing/main.go Normal file
View File

@@ -0,0 +1,18 @@
package main
import "git.tebibyte.media/sashakoshka/tomo"
import "git.tebibyte.media/sashakoshka/tomo/elements/testing"
import _ "git.tebibyte.media/sashakoshka/tomo/backends/x"
import "git.tebibyte.media/sashakoshka/ezprof/ez"
func main () {
tomo.Run(run)
}
func run () {
window, _ := tomo.NewWindow(480, 360)
window.Adopt(testing.NewArtist())
window.OnClose(tomo.Stop)
window.Show()
ez.Prof()
}