Documentation
¶
Index ¶
- Constants
- Variables
- func NewAlbums(client *client.Client) *albums
- func NewArtists(client *client.Client) *artists
- func NewButton(label string) *tview.Button
- func NewHelp() *help
- func NewLayout(client *client.Client, playbackCtl *playback.Controller, refreshUI func()) *layout
- func NewMainView(client *client.Client, log func(format string, a ...any)) *main
- func NewPlayer(client *client.Client) *player
- func NewPlaylists(client *client.Client) *playlists
- func NewQueue() *queue
- func NewStatusLine() *statusLine
- type Statusmode
- type View
- type ViewEvent
Constants ¶
View Source
const (
ViewEventLoginClicked = "login-clicked"
)
Variables ¶
View Source
var EmptyBox tview.Primitive = tview.NewBox().SetBackgroundColor(config.ColorBackground)
Functions ¶
func NewArtists ¶
func NewLayout ¶
func NewLayout(client *client.Client, playbackCtl *playback.Controller, refreshUI func()) *layout
func NewPlaylists ¶
func NewStatusLine ¶
func NewStatusLine() *statusLine
Types ¶
type Statusmode ¶
type Statusmode int
const ( StatusModeLog Statusmode = iota StatusModeSearch Statusmode = iota )
type View ¶
func NewLoginView ¶
Click to show internal directories.
Click to hide internal directories.