blob: b0494d0d6caeb1f1446f1e616fa3cd3340f2f785 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
package src
func (a *app) updateFooter() {
switch a.header.GetHighlights()[0] {
case "artists":
switch a.tv.GetFocus() {
case a.artistsTree:
a.footer.SetText("Artists: [blue]Up/Down:[yellow] Move selection [blue]Space:[yellow] Select entry")
case a.songsList:
a.footer.SetText("Songs: [blue]Up/Down:[yellow] Move selection [blue]Space:[yellow] Play")
}
case "playlists":
a.footer.SetText("Come back later!")
case "config":
a.footer.SetText("Configuration page")
}
}
|