Backends must now accept Config and Theme

This commit is contained in:
2023-02-03 01:25:45 -05:00
parent 8ccaa0faba
commit bdf599f93c
3 changed files with 30 additions and 9 deletions

View File

@@ -39,7 +39,8 @@ type Element interface {
type Focusable interface {
Element
// Focused returns whether or not this element is currently focused.
// Focused returns whether or not this element or any of its children
// are currently focused.
Focused () (selected bool)
// Focus focuses this element, if its parent element grants the