subsonic-tui/internal/tui/views/view.go
Sagi Dayan adeb8e07c1
initial commit
Signed-off-by: Sagi Dayan <sagidayan@gmail.com>
2024-03-31 11:18:40 +03:00

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