Compare commits

..

No commits in common. "df2e8f1b07f0e34c423385bc8fd9fc25f39d823c" and "4e8823ef9f681d395891546e1689d06e761ed995" have entirely different histories.

3 changed files with 34 additions and 76 deletions

View File

@ -4,11 +4,9 @@ import "git.tebibyte.media/tomo/tomo"
import "git.tebibyte.media/tomo/tomo/input" import "git.tebibyte.media/tomo/tomo/input"
import "git.tebibyte.media/tomo/tomo/event" import "git.tebibyte.media/tomo/tomo/event"
var _ tomo.Object = new(Checkbox)
// Checkbox is a control that can be toggled. // Checkbox is a control that can be toggled.
type Checkbox struct { type Checkbox struct {
box tomo.Box tomo.Box
value bool value bool
on struct { on struct {
valueChange event.FuncBroadcaster valueChange event.FuncBroadcaster