mirror of
https://github.com/tildearrow/furnace.git
synced 2024-12-04 18:27:25 +00:00
parent
78af94b5e9
commit
5fcf42267a
1 changed files with 21 additions and 0 deletions
|
@ -4450,8 +4450,15 @@ void FurnaceGUI::insTabFM(DivInstrument* ins) {
|
||||||
}
|
}
|
||||||
|
|
||||||
ImGui::TableNextColumn();
|
ImGui::TableNextColumn();
|
||||||
|
pushWarningColor(ins->type==DIV_INS_OPL_DRUMS && i==0);
|
||||||
CENTER_VSLIDER;
|
CENTER_VSLIDER;
|
||||||
P(CWVSliderScalar("##MULT",ImVec2(20.0f*dpiScale,sliderHeight),ImGuiDataType_U8,&op.mult,&_ZERO,&_FIFTEEN)); rightClickable
|
P(CWVSliderScalar("##MULT",ImVec2(20.0f*dpiScale,sliderHeight),ImGuiDataType_U8,&op.mult,&_ZERO,&_FIFTEEN)); rightClickable
|
||||||
|
if (ins->type==DIV_INS_OPL_DRUMS && i==0) {
|
||||||
|
if (ImGui::IsItemHovered()) {
|
||||||
|
ImGui::SetTooltip("%s",_("Snare's multiplier is determined by HiHat's."));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
popWarningColor();
|
||||||
|
|
||||||
if (ins->type==DIV_INS_OPZ) {
|
if (ins->type==DIV_INS_OPZ) {
|
||||||
ImGui::TableNextColumn();
|
ImGui::TableNextColumn();
|
||||||
|
@ -5096,9 +5103,16 @@ void FurnaceGUI::insTabFM(DivInstrument* ins) {
|
||||||
ImGui::EndTable();
|
ImGui::EndTable();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pushWarningColor(ins->type==DIV_INS_OPL_DRUMS && i==0);
|
||||||
ImGui::SetNextItemWidth(ImGui::GetContentRegionAvail().x);
|
ImGui::SetNextItemWidth(ImGui::GetContentRegionAvail().x);
|
||||||
snprintf(tempID,1024,"%s: %%d",FM_NAME(FM_MULT));
|
snprintf(tempID,1024,"%s: %%d",FM_NAME(FM_MULT));
|
||||||
P(CWSliderScalar("##MULT",ImGuiDataType_U8,&op.mult,&_ZERO,&_FIFTEEN,tempID)); rightClickable
|
P(CWSliderScalar("##MULT",ImGuiDataType_U8,&op.mult,&_ZERO,&_FIFTEEN,tempID)); rightClickable
|
||||||
|
if (ins->type==DIV_INS_OPL_DRUMS && i==0) {
|
||||||
|
if (ImGui::IsItemHovered()) {
|
||||||
|
ImGui::SetTooltip("%s",_("Snare's multiplier is determined by HiHat's."));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
popWarningColor();
|
||||||
|
|
||||||
ImGui::SetNextItemWidth(ImGui::GetContentRegionAvail().x);
|
ImGui::SetNextItemWidth(ImGui::GetContentRegionAvail().x);
|
||||||
snprintf(tempID,1024,"%s: %%d",FM_NAME(FM_KSL));
|
snprintf(tempID,1024,"%s: %%d",FM_NAME(FM_KSL));
|
||||||
|
@ -5773,8 +5787,15 @@ void FurnaceGUI::insTabFM(DivInstrument* ins) {
|
||||||
} else {
|
} else {
|
||||||
ImGui::TableNextRow();
|
ImGui::TableNextRow();
|
||||||
ImGui::TableNextColumn();
|
ImGui::TableNextColumn();
|
||||||
|
pushWarningColor(ins->type==DIV_INS_OPL_DRUMS && i==0);
|
||||||
ImGui::SetNextItemWidth(ImGui::GetContentRegionAvail().x);
|
ImGui::SetNextItemWidth(ImGui::GetContentRegionAvail().x);
|
||||||
P(CWSliderScalar(FM_NAME(FM_MULT),ImGuiDataType_U8,&op.mult,&_ZERO,&_FIFTEEN)); rightClickable
|
P(CWSliderScalar(FM_NAME(FM_MULT),ImGuiDataType_U8,&op.mult,&_ZERO,&_FIFTEEN)); rightClickable
|
||||||
|
if (ins->type==DIV_INS_OPL_DRUMS && i==0) {
|
||||||
|
if (ImGui::IsItemHovered()) {
|
||||||
|
ImGui::SetTooltip("%s",_("Snare's multiplier is determined by HiHat's."));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
popWarningColor();
|
||||||
ImGui::TableNextColumn();
|
ImGui::TableNextColumn();
|
||||||
ImGui::Text("%s",FM_NAME(FM_MULT));
|
ImGui::Text("%s",FM_NAME(FM_MULT));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue