make playlist's stats scrollable, also display remaining time on demand

This commit is contained in:
Andrzej Rybczak
2009-02-20 15:30:30 +01:00
parent 51d4f34cf3
commit 2856d5cd78
7 changed files with 102 additions and 46 deletions

View File

@@ -206,7 +206,7 @@ int main(int argc, char *argv[])
// header stuff
gettimeofday(&past, 0);
if (((past.tv_sec == now.tv_sec && past.tv_usec >= now.tv_usec+500000) || past.tv_sec > now.tv_sec)
&& (myScreen == myBrowser || myScreen == myLyrics)
&& (myScreen == myPlaylist || myScreen == myBrowser || myScreen == myLyrics)
)
{
redraw_header = 1;
@@ -1451,6 +1451,7 @@ int main(int argc, char *argv[])
{
time(&timer);
myPlaylist->Main()->Highlighting(1);
Playlist::ReloadTotalLength = 1;
redraw_header = 1;
}
}