Added play/pause buttons

This commit is contained in:
emeric
2018-02-11 12:02:03 +01:00
parent 4e54bdec59
commit 6c460ec54d
6 changed files with 62 additions and 1 deletions
+6
View File
@@ -106,6 +106,12 @@ Tracks::refresh(std::vector<std::string> searchKeywords)
// Some images may not be square
cover->setWidth(64);
entry->bindWidget("cover", cover);
auto playBtn = new Wt::WText(Wt::WString::tr("btn-tracks-play-btn"), Wt::XHTMLText);
entry->bindWidget("play-btn", playBtn);
auto addBtn = new Wt::WText(Wt::WString::tr("btn-tracks-add-btn"), Wt::XHTMLText);
entry->bindWidget("add-btn", addBtn);
}
}