mirror of
https://github.com/tildearrow/furnace.git
synced 2024-12-03 17:57:26 +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();
|
||||
pushWarningColor(ins->type==DIV_INS_OPL_DRUMS && i==0);
|
||||
CENTER_VSLIDER;
|
||||
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) {
|
||||
ImGui::TableNextColumn();
|
||||
|
@ -5096,9 +5103,16 @@ void FurnaceGUI::insTabFM(DivInstrument* ins) {
|
|||
ImGui::EndTable();
|
||||
}
|
||||
|
||||
pushWarningColor(ins->type==DIV_INS_OPL_DRUMS && i==0);
|
||||
ImGui::SetNextItemWidth(ImGui::GetContentRegionAvail().x);
|
||||
snprintf(tempID,1024,"%s: %%d",FM_NAME(FM_MULT));
|
||||
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);
|
||||
snprintf(tempID,1024,"%s: %%d",FM_NAME(FM_KSL));
|
||||
|
@ -5773,8 +5787,15 @@ void FurnaceGUI::insTabFM(DivInstrument* ins) {
|
|||
} else {
|
||||
ImGui::TableNextRow();
|
||||
ImGui::TableNextColumn();
|
||||
pushWarningColor(ins->type==DIV_INS_OPL_DRUMS && i==0);
|
||||
ImGui::SetNextItemWidth(ImGui::GetContentRegionAvail().x);
|
||||
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::Text("%s",FM_NAME(FM_MULT));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue