GUI: BRR warning
This commit is contained in:
parent
41c8386485
commit
8e4e1e93db
|
@ -121,6 +121,9 @@ void FurnaceGUI::drawSampleEdit() {
|
||||||
}
|
}
|
||||||
updateSampleTex=true;
|
updateSampleTex=true;
|
||||||
}
|
}
|
||||||
|
if (ImGui::IsItemHovered() && sample->depth==DIV_SAMPLE_DEPTH_BRR) {
|
||||||
|
ImGui::SetTooltip("changing the loop in a BRR sample may result in glitches!");
|
||||||
|
}
|
||||||
if (doLoop || keepLoopAlive) {
|
if (doLoop || keepLoopAlive) {
|
||||||
keepLoopAlive=false;
|
keepLoopAlive=false;
|
||||||
ImGui::TableNextRow();
|
ImGui::TableNextRow();
|
||||||
|
@ -157,6 +160,9 @@ void FurnaceGUI::drawSampleEdit() {
|
||||||
if (ImGui::IsItemActive()) {
|
if (ImGui::IsItemActive()) {
|
||||||
keepLoopAlive=true;
|
keepLoopAlive=true;
|
||||||
}
|
}
|
||||||
|
if (ImGui::IsItemHovered() && sample->depth==DIV_SAMPLE_DEPTH_BRR) {
|
||||||
|
ImGui::SetTooltip("changing the loop in a BRR sample may result in glitches!");
|
||||||
|
}
|
||||||
ImGui::TableNextColumn();
|
ImGui::TableNextColumn();
|
||||||
ImGui::Text("Loop End");
|
ImGui::Text("Loop End");
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
|
@ -173,6 +179,9 @@ void FurnaceGUI::drawSampleEdit() {
|
||||||
if (ImGui::IsItemActive()) {
|
if (ImGui::IsItemActive()) {
|
||||||
keepLoopAlive=true;
|
keepLoopAlive=true;
|
||||||
}
|
}
|
||||||
|
if (ImGui::IsItemHovered() && sample->depth==DIV_SAMPLE_DEPTH_BRR) {
|
||||||
|
ImGui::SetTooltip("changing the loop in a BRR sample may result in glitches!");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
ImGui::EndTable();
|
ImGui::EndTable();
|
||||||
}
|
}
|
||||||
|
@ -685,6 +694,9 @@ void FurnaceGUI::drawSampleEdit() {
|
||||||
}
|
}
|
||||||
updateSampleTex=true;
|
updateSampleTex=true;
|
||||||
}
|
}
|
||||||
|
if (ImGui::IsItemHovered() && sample->depth==DIV_SAMPLE_DEPTH_BRR) {
|
||||||
|
ImGui::SetTooltip("changing the loop in a BRR sample may result in glitches!");
|
||||||
|
}
|
||||||
if (doLoop || keepLoopAlive) {
|
if (doLoop || keepLoopAlive) {
|
||||||
keepLoopAlive=false;
|
keepLoopAlive=false;
|
||||||
ImGui::TableNextRow();
|
ImGui::TableNextRow();
|
||||||
|
@ -722,6 +734,9 @@ void FurnaceGUI::drawSampleEdit() {
|
||||||
if (ImGui::IsItemActive()) {
|
if (ImGui::IsItemActive()) {
|
||||||
keepLoopAlive=true;
|
keepLoopAlive=true;
|
||||||
}
|
}
|
||||||
|
if (ImGui::IsItemHovered() && sample->depth==DIV_SAMPLE_DEPTH_BRR) {
|
||||||
|
ImGui::SetTooltip("changing the loop in a BRR sample may result in glitches!");
|
||||||
|
}
|
||||||
ImGui::TableNextColumn();
|
ImGui::TableNextColumn();
|
||||||
ImGui::Text("Loop End");
|
ImGui::Text("Loop End");
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
|
@ -738,6 +753,9 @@ void FurnaceGUI::drawSampleEdit() {
|
||||||
if (ImGui::IsItemActive()) {
|
if (ImGui::IsItemActive()) {
|
||||||
keepLoopAlive=true;
|
keepLoopAlive=true;
|
||||||
}
|
}
|
||||||
|
if (ImGui::IsItemHovered() && sample->depth==DIV_SAMPLE_DEPTH_BRR) {
|
||||||
|
ImGui::SetTooltip("changing the loop in a BRR sample may result in glitches!");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
ImGui::EndTable();
|
ImGui::EndTable();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue