Made the clear button work in the play queue, added a track number infox

This commit is contained in:
emeric
2018-03-17 18:46:19 +01:00
parent 7b0231da10
commit 1d6a2bde4a
4 changed files with 36 additions and 12 deletions
+3 -1
View File
@@ -21,6 +21,7 @@
#include <Wt/WContainerWidget>
#include <Wt/WTemplate>
#include <Wt/WText>
#include "database/Types.hpp"
@@ -35,11 +36,12 @@ class PlayQueue : public Wt::WContainerWidget
void playTracks(const std::vector<Database::Track::pointer>& tracks);
private:
void refresh();
void addSome();
void updateInfo();
Wt::WContainerWidget* _entriesContainer;
Wt::WTemplate* _showMore;
Wt::WText* _nbTracks;
};
} // namespace UserInterface