new feature: apply filter to screen (Ctrl-F)
if one applies a filter, only items that contain this filter will be displayed. works on all screens.
This commit is contained in:
@@ -46,11 +46,16 @@ class Playlist : public Screen< Menu<MPD::Song> >
|
||||
virtual void ReverseSelection() { w->ReverseSelection(); }
|
||||
virtual void GetSelectedSongs(MPD::SongList &);
|
||||
|
||||
virtual void ApplyFilter(const std::string &s) { w->ApplyFilter(s); }
|
||||
|
||||
virtual List *GetList() { return w; }
|
||||
|
||||
bool isPlaying() { return NowPlaying >= 0 && !w->Empty(); }
|
||||
const MPD::Song &NowPlayingSong();
|
||||
|
||||
static std::string SongToString(const MPD::Song &, void *);
|
||||
static std::string SongInColumnsToString(const MPD::Song &, void *);
|
||||
|
||||
int NowPlaying;
|
||||
int OldPlaying;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user