move code responsible for marking song as now playing to display functions

This commit is contained in:
Andrzej Rybczak
2009-09-20 23:52:43 +02:00
parent b47ad169dc
commit 5a887861d7
4 changed files with 61 additions and 38 deletions

View File

@@ -30,7 +30,7 @@
class Playlist : public Screen<Window>
{
public:
Playlist() : NowPlaying(-1), OldPlaying(-1), itsTotalLength(0), itsRemainingTime(0), itsScrollBegin(0) { }
Playlist() : NowPlaying(-1), itsTotalLength(0), itsRemainingTime(0), itsScrollBegin(0) { }
~Playlist() { }
virtual void SwitchTo();
@@ -73,7 +73,6 @@ class Playlist : public Screen<Window>
Menu< MPD::Song > *Items;
int NowPlaying;
int OldPlaying;
static bool ReloadTotalLength;
static bool ReloadRemaining;