Integrated the new text drawer

This commit is contained in:
2023-02-15 18:45:58 -05:00
parent 234503f104
commit a0e7bf1373
7 changed files with 35 additions and 16 deletions

View File

@@ -5,6 +5,7 @@ import "git.tebibyte.media/sashakoshka/tomo/input"
import "git.tebibyte.media/sashakoshka/tomo/theme"
import "git.tebibyte.media/sashakoshka/tomo/config"
import "git.tebibyte.media/sashakoshka/tomo/artist"
import "git.tebibyte.media/sashakoshka/tomo/textdraw"
import "git.tebibyte.media/sashakoshka/tomo/elements/core"
// Checkbox is a toggle-able checkbox with a label.
@@ -13,7 +14,7 @@ type Checkbox struct {
*core.FocusableCore
core core.CoreControl
focusableControl core.FocusableCoreControl
drawer artist.TextDrawer
drawer textdraw.Drawer
pressed bool
checked bool