diff options
Diffstat (limited to 'src/footer.go')
-rw-r--r-- | src/footer.go | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/footer.go b/src/footer.go new file mode 100644 index 0000000..b0494d0 --- /dev/null +++ b/src/footer.go | |||
@@ -0,0 +1,17 @@ | |||
1 | package src | ||
2 | |||
3 | func (a *app) updateFooter() { | ||
4 | switch a.header.GetHighlights()[0] { | ||
5 | case "artists": | ||
6 | switch a.tv.GetFocus() { | ||
7 | case a.artistsTree: | ||
8 | a.footer.SetText("Artists: [blue]Up/Down:[yellow] Move selection [blue]Space:[yellow] Select entry") | ||
9 | case a.songsList: | ||
10 | a.footer.SetText("Songs: [blue]Up/Down:[yellow] Move selection [blue]Space:[yellow] Play") | ||
11 | } | ||
12 | case "playlists": | ||
13 | a.footer.SetText("Come back later!") | ||
14 | case "config": | ||
15 | a.footer.SetText("Configuration page") | ||
16 | } | ||
17 | } | ||