16 lines
280 B
Go
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()
|
||
|
}
|