Migrated fun elements

This commit is contained in:
2023-04-15 18:24:16 -04:00
parent 986315d5db
commit 9d78a599aa
3 changed files with 109 additions and 108 deletions

View File

@@ -2,7 +2,7 @@ package main
import "git.tebibyte.media/sashakoshka/tomo"
import "git.tebibyte.media/sashakoshka/tomo/elements"
// import "git.tebibyte.media/sashakoshka/tomo/elements/testing"
import "git.tebibyte.media/sashakoshka/tomo/elements/testing"
import "git.tebibyte.media/sashakoshka/tomo/elements/containers"
import _ "git.tebibyte.media/sashakoshka/tomo/backends/all"
@@ -22,7 +22,7 @@ func run () {
button.OnClick (func () {
container.DisownAll()
container.Adopt(elements.NewLabel("Draw here:", false), false)
// container.Adopt(testing.NewMouse(), true)
container.Adopt(testing.NewMouse(), true)
container.Adopt(okButton, false)
okButton.Focus()
})