new feature: support for merging screens together
This commit is contained in:
@@ -55,6 +55,8 @@ class Playlist : public Screen<Window>
|
||||
|
||||
virtual List *GetList() { return w == Items ? Items : 0; }
|
||||
|
||||
virtual bool isMergable() { return true; }
|
||||
|
||||
bool isPlaying() { return NowPlaying >= 0 && !Items->Empty(); }
|
||||
const MPD::Song *NowPlayingSong();
|
||||
|
||||
@@ -85,6 +87,7 @@ class Playlist : public Screen<Window>
|
||||
|
||||
protected:
|
||||
virtual void Init();
|
||||
virtual bool isLockable() { return true; }
|
||||
|
||||
private:
|
||||
std::string TotalLength();
|
||||
|
||||
Reference in New Issue
Block a user