subsonic-tui/internal/tui/views/view.go
Sagi Dayan 48661005be
initial commit
Signed-off-by: Sagi Dayan <sagidayan@gmail.com>
2024-09-01 16:30:56 +03: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()
}