Added play/pause buttons

This commit is contained in:
emeric
2018-02-11 12:26:43 +01:00
parent 6c460ec54d
commit cbd77a7a73
3 changed files with 16 additions and 1 deletions
+6
View File
@@ -107,6 +107,12 @@ Releases::refresh(std::vector<std::string> searchKeywords)
artist->setText(Wt::WString::fromUTF8(artists.front()->getName(), Wt::PlainText));
entry->bindWidget("artist-name", artistAnchor);
}
auto playBtn = new Wt::WText(Wt::WString::tr("btn-releases-play-btn"), Wt::XHTMLText);
entry->bindWidget("play-btn", playBtn);
auto addBtn = new Wt::WText(Wt::WString::tr("btn-releases-add-btn"), Wt::XHTMLText);
entry->bindWidget("add-btn", addBtn);
}
}