Added popups

This commit is contained in:
2023-01-12 12:51:42 -05:00
parent 519e0b9c6b
commit 26c1dc062b
6 changed files with 132 additions and 12 deletions

View File

@@ -1,7 +1,7 @@
package main
import "git.tebibyte.media/sashakoshka/tomo"
import "git.tebibyte.media/sashakoshka/tomo/elements/basic"
import "git.tebibyte.media/sashakoshka/tomo/elements/testing"
import _ "git.tebibyte.media/sashakoshka/tomo/backends/x"
func main () {
@@ -11,7 +11,7 @@ func main () {
func run () {
window, _ := tomo.NewWindow(128, 128)
window.SetTitle("hellorld!")
window.Adopt(basic.NewTest())
window.Adopt(testing.NewMouse())
window.OnClose(tomo.Stop)
window.Show()
}