subsonic-tui/internal/tui/views/view.go

16 lines
280 B
Go
Raw Normal View History

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()
}