stuff
This commit is contained in:
parent
27cde60f0b
commit
873bad1613
5 changed files with 269 additions and 187 deletions
|
|
@ -206,7 +206,7 @@ void FurnaceGUI::drawCSPlayer() {
|
|||
}
|
||||
ImGui::SameLine();
|
||||
if (ImGui::Button(_("Burn Current Song"))) {
|
||||
SafeWriter* w=e->saveCommand();
|
||||
SafeWriter* w=e->saveCommand(NULL,csExportDisablePass);
|
||||
if (w!=NULL) {
|
||||
if (!e->playStream(w->getFinalBuf(),w->size())) {
|
||||
showError(e->getLastError());
|
||||
|
|
@ -218,12 +218,21 @@ void FurnaceGUI::drawCSPlayer() {
|
|||
}
|
||||
}
|
||||
}
|
||||
if (ImGui::IsItemClicked(ImGuiMouseButton_Right)) {
|
||||
ImGui::OpenPopup("CSOptions");
|
||||
}
|
||||
ImGui::SameLine();
|
||||
if (e->isHalted()) {
|
||||
if (ImGui::Button("Resume")) e->resume();
|
||||
} else {
|
||||
if (ImGui::Button("Pause")) e->halt();
|
||||
}
|
||||
ImGui::SameLine();
|
||||
ImGui::Button(_("Burn Options"));
|
||||
if (ImGui::BeginPopupContextItem("CSOptions",ImGuiPopupFlags_MouseButtonLeft)) {
|
||||
commandExportOptions();
|
||||
ImGui::EndPopup();
|
||||
}
|
||||
|
||||
DivCSPlayer* cs=e->getStreamPlayer();
|
||||
if (cs) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue