Update examples to use new API

This commit is contained in:
2024-05-27 16:01:50 -04:00
parent a52a703ec1
commit 1142cb7ab6
4 changed files with 327 additions and 154 deletions

View File

@@ -5,7 +5,6 @@ import "image"
import "git.tebibyte.media/tomo/tomo"
import "git.tebibyte.media/tomo/nasin"
import "git.tebibyte.media/tomo/objects"
// import "git.tebibyte.media/tomo/tomo/theme"
import "git.tebibyte.media/tomo/objects/layouts"
type Application struct { }
@@ -29,7 +28,7 @@ func (this *Application) Init () error {
))
window.OnClose(tomo.Stop)
window.Show()
window.SetVisible(true)
return nil
}