subsonic-tui/internal/tui/views/view.go
Sagi Dayan a4d4c49de9
initial commit
Signed-off-by: Sagi Dayan <sagidayan@gmail.com>
2024-12-14 23:37:05 +02:00

15 lines
280 B
Go

package views
import (
"git.dayanhub.com/sagi/subsonic-tui/internal/config"
"github.com/rivo/tview"
)
type ViewEvent string
var EmptyBox tview.Primitive = tview.NewBox().SetBackgroundColor(config.ColorBackground)
type View interface {
GetView() tview.Primitive
Update()
}