Settings window: Indent radio button groups.
All radio button groups are indented for visual clarity. Also, font path and size selectors.
This commit is contained in:
parent
03383cff80
commit
3f80231f24
|
|
@ -438,10 +438,12 @@ void FurnaceGUI::drawSettings() {
|
|||
}
|
||||
|
||||
ImGui::Text("Audio export loop/fade out time:");
|
||||
ImGui::Indent();
|
||||
if (ImGui::RadioButton("Set to these values on start-up:##fot0",settings.persistFadeOut==0)) {
|
||||
settings.persistFadeOut=0;
|
||||
}
|
||||
ImGui::BeginDisabled(settings.persistFadeOut);
|
||||
ImGui::Indent();
|
||||
if (ImGui::InputInt("Loops",&settings.exportLoops,1,2)) {
|
||||
if (exportLoops<0) exportLoops=0;
|
||||
exportLoops=settings.exportLoops;
|
||||
|
|
@ -450,10 +452,12 @@ void FurnaceGUI::drawSettings() {
|
|||
if (exportFadeOut<0.0) exportFadeOut=0.0;
|
||||
exportFadeOut=settings.exportFadeOut;
|
||||
}
|
||||
ImGui::Unindent();
|
||||
ImGui::EndDisabled();
|
||||
if (ImGui::RadioButton("Remember last values##fot1",settings.persistFadeOut==1)) {
|
||||
settings.persistFadeOut=1;
|
||||
}
|
||||
ImGui::Unindent();
|
||||
|
||||
// SUBSECTION CHIP
|
||||
CONFIG_SUBSECTION("Chip");
|
||||
|
|
@ -645,12 +649,14 @@ void FurnaceGUI::drawSettings() {
|
|||
}
|
||||
|
||||
ImGui::Text("When creating new song:");
|
||||
ImGui::Indent();
|
||||
if (ImGui::RadioButton("Display system preset selector##NSB0",settings.newSongBehavior==0)) {
|
||||
settings.newSongBehavior=0;
|
||||
}
|
||||
if (ImGui::RadioButton("Start with initial system##NSB1",settings.newSongBehavior==1)) {
|
||||
settings.newSongBehavior=1;
|
||||
}
|
||||
ImGui::Unindent();
|
||||
|
||||
bool restartOnFlagChangeB=settings.restartOnFlagChange;
|
||||
if (ImGui::Checkbox("Restart song when changing chip properties",&restartOnFlagChangeB)) {
|
||||
|
|
@ -660,6 +666,7 @@ void FurnaceGUI::drawSettings() {
|
|||
// SUBSECTION START-UP
|
||||
CONFIG_SUBSECTION("Start-up");
|
||||
ImGui::Text("Play intro on start-up:");
|
||||
ImGui::Indent();
|
||||
if (ImGui::RadioButton("No##pis0",settings.alwaysPlayIntro==0)) {
|
||||
settings.alwaysPlayIntro=0;
|
||||
}
|
||||
|
|
@ -672,6 +679,7 @@ void FurnaceGUI::drawSettings() {
|
|||
if (ImGui::RadioButton("Full (always)##pis3",settings.alwaysPlayIntro==3)) {
|
||||
settings.alwaysPlayIntro=3;
|
||||
}
|
||||
ImGui::Unindent();
|
||||
|
||||
bool disableFadeInB=settings.disableFadeIn;
|
||||
if (ImGui::Checkbox("Disable fade-in during start-up",&disableFadeInB)) {
|
||||
|
|
@ -1104,6 +1112,7 @@ void FurnaceGUI::drawSettings() {
|
|||
}
|
||||
|
||||
ImGui::Text("Output mode:");
|
||||
ImGui::Indent();
|
||||
if (ImGui::RadioButton("Off (use for TX81Z)",settings.midiOutMode==0)) {
|
||||
settings.midiOutMode=0;
|
||||
}
|
||||
|
|
@ -1114,6 +1123,7 @@ void FurnaceGUI::drawSettings() {
|
|||
if (ImGui::RadioButton("Light Show (use for Launchpad)",settings.midiOutMode==2)) {
|
||||
settings.midiOutMode=2;
|
||||
}*/
|
||||
ImGui::Unindent();
|
||||
|
||||
bool midiOutProgramChangeB=settings.midiOutProgramChange;
|
||||
if (ImGui::Checkbox("Send Program Change",&midiOutProgramChangeB)) {
|
||||
|
|
@ -1132,6 +1142,7 @@ void FurnaceGUI::drawSettings() {
|
|||
|
||||
if (settings.midiOutTime) {
|
||||
ImGui::Text("Timecode frame rate:");
|
||||
ImGui::Indent();
|
||||
if (ImGui::RadioButton("Closest to Tick Rate",settings.midiOutTimeRate==0)) {
|
||||
settings.midiOutTimeRate=0;
|
||||
}
|
||||
|
|
@ -1147,6 +1158,7 @@ void FurnaceGUI::drawSettings() {
|
|||
if (ImGui::RadioButton("NTSC non-drop (30fps)",settings.midiOutTimeRate==4)) {
|
||||
settings.midiOutTimeRate=4;
|
||||
}
|
||||
ImGui::Unindent();
|
||||
}
|
||||
|
||||
END_SECTION;
|
||||
|
|
@ -1615,6 +1627,7 @@ void FurnaceGUI::drawSettings() {
|
|||
}
|
||||
|
||||
ImGui::Text("Play/edit controls layout:");
|
||||
ImGui::Indent();
|
||||
if (ImGui::RadioButton("Classic##ecl0",settings.controlLayout==0)) {
|
||||
settings.controlLayout=0;
|
||||
}
|
||||
|
|
@ -1627,8 +1640,10 @@ void FurnaceGUI::drawSettings() {
|
|||
if (ImGui::RadioButton("Split##ecl3",settings.controlLayout==3)) {
|
||||
settings.controlLayout=3;
|
||||
}
|
||||
ImGui::Unindent();
|
||||
|
||||
ImGui::Text("Position of buttons in Orders:");
|
||||
ImGui::Indent();
|
||||
if (ImGui::RadioButton("Top##obp0",settings.orderButtonPos==0)) {
|
||||
settings.orderButtonPos=0;
|
||||
}
|
||||
|
|
@ -1638,6 +1653,7 @@ void FurnaceGUI::drawSettings() {
|
|||
if (ImGui::RadioButton("Right##obp2",settings.orderButtonPos==2)) {
|
||||
settings.orderButtonPos=2;
|
||||
}
|
||||
ImGui::Unindent();
|
||||
|
||||
// SUBSECTION MOUSE
|
||||
CONFIG_SUBSECTION("Mouse");
|
||||
|
|
@ -1660,6 +1676,7 @@ void FurnaceGUI::drawSettings() {
|
|||
}
|
||||
|
||||
ImGui::Text("Note preview behavior:");
|
||||
ImGui::Indent();
|
||||
if (ImGui::RadioButton("Never##npb0",settings.notePreviewBehavior==0)) {
|
||||
settings.notePreviewBehavior=0;
|
||||
}
|
||||
|
|
@ -1672,8 +1689,10 @@ void FurnaceGUI::drawSettings() {
|
|||
if (ImGui::RadioButton("Always##npb3",settings.notePreviewBehavior==3)) {
|
||||
settings.notePreviewBehavior=3;
|
||||
}
|
||||
ImGui::Unindent();
|
||||
|
||||
ImGui::Text("Allow dragging selection:");
|
||||
ImGui::Indent();
|
||||
if (ImGui::RadioButton("No##dms0",settings.dragMovesSelection==0)) {
|
||||
settings.dragMovesSelection=0;
|
||||
}
|
||||
|
|
@ -1683,8 +1702,10 @@ void FurnaceGUI::drawSettings() {
|
|||
if (ImGui::RadioButton("Yes (while holding Ctrl only)##dms2",settings.dragMovesSelection==2)) {
|
||||
settings.dragMovesSelection=2;
|
||||
}
|
||||
ImGui::Unindent();
|
||||
|
||||
ImGui::Text("Toggle channel solo on:");
|
||||
ImGui::Indent();
|
||||
if (ImGui::RadioButton("Right-click or double-click##soloA",settings.soloAction==0)) {
|
||||
settings.soloAction=0;
|
||||
}
|
||||
|
|
@ -1694,6 +1715,7 @@ void FurnaceGUI::drawSettings() {
|
|||
if (ImGui::RadioButton("Double-click##soloD",settings.soloAction==2)) {
|
||||
settings.soloAction=2;
|
||||
}
|
||||
ImGui::Unindent();
|
||||
|
||||
bool doubleClickColumnB=settings.doubleClickColumn;
|
||||
if (ImGui::Checkbox("Double click selects entire column",&doubleClickColumnB)) {
|
||||
|
|
@ -1718,6 +1740,7 @@ void FurnaceGUI::drawSettings() {
|
|||
}
|
||||
|
||||
ImGui::Text("Effect input behavior:");
|
||||
ImGui::Indent();
|
||||
if (ImGui::RadioButton("Move down##eicb0",settings.effectCursorDir==0)) {
|
||||
settings.effectCursorDir=0;
|
||||
}
|
||||
|
|
@ -1727,6 +1750,7 @@ void FurnaceGUI::drawSettings() {
|
|||
if (ImGui::RadioButton("Move to effect value/next effect and wrap around##eicb2",settings.effectCursorDir==2)) {
|
||||
settings.effectCursorDir=2;
|
||||
}
|
||||
ImGui::Unindent();
|
||||
|
||||
bool effectDeletionAltersValueB=settings.effectDeletionAltersValue;
|
||||
if (ImGui::Checkbox("Delete effect value when deleting effect",&effectDeletionAltersValueB)) {
|
||||
|
|
@ -1752,6 +1776,7 @@ void FurnaceGUI::drawSettings() {
|
|||
CONFIG_SUBSECTION("Cursor movement");
|
||||
|
||||
ImGui::Text("Wrap horizontally:");
|
||||
ImGui::Indent();
|
||||
if (ImGui::RadioButton("No##wrapH0",settings.wrapHorizontal==0)) {
|
||||
settings.wrapHorizontal=0;
|
||||
}
|
||||
|
|
@ -1761,8 +1786,10 @@ void FurnaceGUI::drawSettings() {
|
|||
if (ImGui::RadioButton("Yes, and move to next/prev row##wrapH2",settings.wrapHorizontal==2)) {
|
||||
settings.wrapHorizontal=2;
|
||||
}
|
||||
ImGui::Unindent();
|
||||
|
||||
ImGui::Text("Wrap vertically:");
|
||||
ImGui::Indent();
|
||||
if (ImGui::RadioButton("No##wrapV0",settings.wrapVertical==0)) {
|
||||
settings.wrapVertical=0;
|
||||
}
|
||||
|
|
@ -1775,14 +1802,17 @@ void FurnaceGUI::drawSettings() {
|
|||
if (ImGui::RadioButton("Yes, and move to next/prev pattern (wrap around)##wrapV2",settings.wrapVertical==3)) {
|
||||
settings.wrapVertical=3;
|
||||
}
|
||||
ImGui::Unindent();
|
||||
|
||||
ImGui::Text("Cursor movement keys behavior:");
|
||||
ImGui::Indent();
|
||||
if (ImGui::RadioButton("Move by one##cmk0",settings.scrollStep==0)) {
|
||||
settings.scrollStep=0;
|
||||
}
|
||||
if (ImGui::RadioButton("Move by Edit Step##cmk1",settings.scrollStep==1)) {
|
||||
settings.scrollStep=1;
|
||||
}
|
||||
ImGui::Unindent();
|
||||
|
||||
bool stepOnDeleteB=settings.stepOnDelete;
|
||||
if (ImGui::Checkbox("Move cursor by edit step on delete",&stepOnDeleteB)) {
|
||||
|
|
@ -1808,6 +1838,7 @@ void FurnaceGUI::drawSettings() {
|
|||
CONFIG_SUBSECTION("Scrolling");
|
||||
|
||||
ImGui::Text("Change order when scrolling outside of pattern bounds:");
|
||||
ImGui::Indent();
|
||||
if (ImGui::RadioButton("No##pscroll0",settings.scrollChangesOrder==0)) {
|
||||
settings.scrollChangesOrder=0;
|
||||
}
|
||||
|
|
@ -1817,6 +1848,7 @@ void FurnaceGUI::drawSettings() {
|
|||
if (ImGui::RadioButton("Yes, and wrap around song##pscroll2",settings.scrollChangesOrder==2)) {
|
||||
settings.scrollChangesOrder=2;
|
||||
}
|
||||
ImGui::Unindent();
|
||||
|
||||
bool cursorFollowsOrderB=settings.cursorFollowsOrder;
|
||||
if (ImGui::Checkbox("Cursor follows current order when moving it",&cursorFollowsOrderB)) {
|
||||
|
|
@ -1866,6 +1898,7 @@ void FurnaceGUI::drawSettings() {
|
|||
ImGui::Text("Main font");
|
||||
ImGui::SameLine();
|
||||
ImGui::Combo("##MainFont",&settings.mainFont,mainFonts,7);
|
||||
ImGui::Indent();
|
||||
if (settings.mainFont==6) {
|
||||
ImGui::InputText("##MainFontPath",&settings.mainFontPath);
|
||||
ImGui::SameLine();
|
||||
|
|
@ -1877,9 +1910,11 @@ void FurnaceGUI::drawSettings() {
|
|||
if (settings.mainFontSize<3) settings.mainFontSize=3;
|
||||
if (settings.mainFontSize>96) settings.mainFontSize=96;
|
||||
}
|
||||
ImGui::Unindent();
|
||||
ImGui::Text("Header font");
|
||||
ImGui::SameLine();
|
||||
ImGui::Combo("##HeadFont",&settings.headFont,headFonts,7);
|
||||
ImGui::Indent();
|
||||
if (settings.headFont==6) {
|
||||
ImGui::InputText("##HeadFontPath",&settings.headFontPath);
|
||||
ImGui::SameLine();
|
||||
|
|
@ -1891,9 +1926,11 @@ void FurnaceGUI::drawSettings() {
|
|||
if (settings.headFontSize<3) settings.headFontSize=3;
|
||||
if (settings.headFontSize>96) settings.headFontSize=96;
|
||||
}
|
||||
ImGui::Unindent();
|
||||
ImGui::Text("Pattern font");
|
||||
ImGui::SameLine();
|
||||
ImGui::Combo("##PatFont",&settings.patFont,patFonts,7);
|
||||
ImGui::Indent();
|
||||
if (settings.patFont==6) {
|
||||
ImGui::InputText("##PatFontPath",&settings.patFontPath);
|
||||
ImGui::SameLine();
|
||||
|
|
@ -1905,6 +1942,7 @@ void FurnaceGUI::drawSettings() {
|
|||
if (settings.patFontSize<3) settings.patFontSize=3;
|
||||
if (settings.patFontSize>96) settings.patFontSize=96;
|
||||
}
|
||||
ImGui::Unindent();
|
||||
|
||||
bool loadJapaneseB=settings.loadJapanese;
|
||||
if (ImGui::Checkbox("Display Japanese characters",&loadJapaneseB)) {
|
||||
|
|
@ -1961,6 +1999,7 @@ void FurnaceGUI::drawSettings() {
|
|||
// SUBSECTION PROGRAM
|
||||
CONFIG_SUBSECTION("Program");
|
||||
ImGui::Text("Title bar:");
|
||||
ImGui::Indent();
|
||||
if (ImGui::RadioButton("Furnace##tbar0",settings.titleBarInfo==0)) {
|
||||
settings.titleBarInfo=0;
|
||||
updateWindowTitle();
|
||||
|
|
@ -1977,6 +2016,7 @@ void FurnaceGUI::drawSettings() {
|
|||
settings.titleBarInfo=3;
|
||||
updateWindowTitle();
|
||||
}
|
||||
ImGui::Unindent();
|
||||
|
||||
bool titleBarSysB=settings.titleBarSys;
|
||||
if (ImGui::Checkbox("Display system name on title bar",&titleBarSysB)) {
|
||||
|
|
@ -1991,6 +2031,7 @@ void FurnaceGUI::drawSettings() {
|
|||
}
|
||||
|
||||
ImGui::Text("Status bar:");
|
||||
ImGui::Indent();
|
||||
if (ImGui::RadioButton("Cursor details##sbar0",settings.statusDisplay==0)) {
|
||||
settings.statusDisplay=0;
|
||||
}
|
||||
|
|
@ -2003,6 +2044,7 @@ void FurnaceGUI::drawSettings() {
|
|||
if (ImGui::RadioButton("Nothing##sbar3",settings.statusDisplay==3)) {
|
||||
settings.statusDisplay=3;
|
||||
}
|
||||
ImGui::Unindent();
|
||||
|
||||
// SUBSECTION ORDERS
|
||||
CONFIG_SUBSECTION("Orders");
|
||||
|
|
@ -2018,12 +2060,14 @@ void FurnaceGUI::drawSettings() {
|
|||
}
|
||||
|
||||
ImGui::Text("Orders row number format:");
|
||||
ImGui::Indent();
|
||||
if (ImGui::RadioButton("Decimal##orbD",settings.orderRowsBase==0)) {
|
||||
settings.orderRowsBase=0;
|
||||
}
|
||||
if (ImGui::RadioButton("Hexadecimal##orbH",settings.orderRowsBase==1)) {
|
||||
settings.orderRowsBase=1;
|
||||
}
|
||||
ImGui::Unindent();
|
||||
|
||||
// SUBSECTION PATTERN
|
||||
CONFIG_SUBSECTION("Pattern");
|
||||
|
|
@ -2043,12 +2087,14 @@ void FurnaceGUI::drawSettings() {
|
|||
}
|
||||
|
||||
ImGui::Text("Pattern row number format:");
|
||||
ImGui::Indent();
|
||||
if (ImGui::RadioButton("Decimal##prbD",settings.patRowsBase==0)) {
|
||||
settings.patRowsBase=0;
|
||||
}
|
||||
if (ImGui::RadioButton("Hexadecimal##prbH",settings.patRowsBase==1)) {
|
||||
settings.patRowsBase=1;
|
||||
}
|
||||
ImGui::Unindent();
|
||||
|
||||
ImGui::Text("Pattern view labels:");
|
||||
ImGui::InputTextWithHint("Note off (3-char)","OFF",&settings.noteOffLabel);
|
||||
|
|
@ -2103,6 +2149,7 @@ void FurnaceGUI::drawSettings() {
|
|||
CONFIG_SUBSECTION("Channel");
|
||||
|
||||
ImGui::Text("Channel style:");
|
||||
ImGui::Indent();
|
||||
if (ImGui::RadioButton("Classic##CHS0",settings.channelStyle==0)) {
|
||||
settings.channelStyle=0;
|
||||
}
|
||||
|
|
@ -2121,8 +2168,10 @@ void FurnaceGUI::drawSettings() {
|
|||
if (ImGui::RadioButton("Round border##CHS5",settings.channelStyle==5)) {
|
||||
settings.channelStyle=5;
|
||||
}
|
||||
ImGui::Unindent();
|
||||
|
||||
ImGui::Text("Channel volume bar:");
|
||||
ImGui::Indent();
|
||||
if (ImGui::RadioButton("None##CHV0",settings.channelVolStyle==0)) {
|
||||
settings.channelVolStyle=0;
|
||||
}
|
||||
|
|
@ -2138,9 +2187,10 @@ void FurnaceGUI::drawSettings() {
|
|||
if (ImGui::RadioButton("Real (stereo)##CHV4",settings.channelVolStyle==4)) {
|
||||
settings.channelVolStyle=4;
|
||||
}
|
||||
ImGui::Unindent();
|
||||
|
||||
ImGui::Text("Channel feedback style:");
|
||||
|
||||
ImGui::Indent();
|
||||
if (ImGui::RadioButton("Off##CHF0",settings.channelFeedbackStyle==0)) {
|
||||
settings.channelFeedbackStyle=0;
|
||||
}
|
||||
|
|
@ -2153,15 +2203,17 @@ void FurnaceGUI::drawSettings() {
|
|||
if (ImGui::RadioButton("Active##CHF3",settings.channelFeedbackStyle==3)) {
|
||||
settings.channelFeedbackStyle=3;
|
||||
}
|
||||
ImGui::Unindent();
|
||||
|
||||
ImGui::Text("Channel font:");
|
||||
|
||||
ImGui::Indent();
|
||||
if (ImGui::RadioButton("Regular##CHFont0",settings.channelFont==0)) {
|
||||
settings.channelFont=0;
|
||||
}
|
||||
if (ImGui::RadioButton("Monospace##CHFont1",settings.channelFont==1)) {
|
||||
settings.channelFont=1;
|
||||
}
|
||||
ImGui::Unindent();
|
||||
|
||||
bool channelTextCenterB=settings.channelTextCenter;
|
||||
if (ImGui::Checkbox("Center channel name",&channelTextCenterB)) {
|
||||
|
|
@ -2169,6 +2221,7 @@ void FurnaceGUI::drawSettings() {
|
|||
}
|
||||
|
||||
ImGui::Text("Channel colors:");
|
||||
ImGui::Indent();
|
||||
if (ImGui::RadioButton("Single##CHC0",settings.channelColors==0)) {
|
||||
settings.channelColors=0;
|
||||
}
|
||||
|
|
@ -2178,8 +2231,10 @@ void FurnaceGUI::drawSettings() {
|
|||
if (ImGui::RadioButton("Instrument type##CHC2",settings.channelColors==2)) {
|
||||
settings.channelColors=2;
|
||||
}
|
||||
ImGui::Unindent();
|
||||
|
||||
ImGui::Text("Channel name colors:");
|
||||
ImGui::Indent();
|
||||
if (ImGui::RadioButton("Single##CTC0",settings.channelTextColors==0)) {
|
||||
settings.channelTextColors=0;
|
||||
}
|
||||
|
|
@ -2189,6 +2244,7 @@ void FurnaceGUI::drawSettings() {
|
|||
if (ImGui::RadioButton("Instrument type##CTC2",settings.channelTextColors==2)) {
|
||||
settings.channelTextColors=2;
|
||||
}
|
||||
ImGui::Unindent();
|
||||
|
||||
// SUBSECTION ASSETS
|
||||
CONFIG_SUBSECTION("Assets");
|
||||
|
|
@ -2215,6 +2271,7 @@ void FurnaceGUI::drawSettings() {
|
|||
// SUBSECTION MACRO EDITOR
|
||||
CONFIG_SUBSECTION("Macro Editor");
|
||||
ImGui::Text("Macro editor layout:");
|
||||
ImGui::Indent();
|
||||
if (ImGui::RadioButton("Unified##mel0",settings.macroLayout==0)) {
|
||||
settings.macroLayout=0;
|
||||
}
|
||||
|
|
@ -2230,6 +2287,7 @@ void FurnaceGUI::drawSettings() {
|
|||
if (ImGui::RadioButton("Single (combo box)##mel4",settings.macroLayout==4)) {
|
||||
settings.macroLayout=4;
|
||||
}
|
||||
ImGui::Unindent();
|
||||
|
||||
bool oldMacroVSliderB=settings.oldMacroVSlider;
|
||||
if (ImGui::Checkbox("Use classic macro editor vertical slider",&oldMacroVSliderB)) {
|
||||
|
|
@ -2246,6 +2304,7 @@ void FurnaceGUI::drawSettings() {
|
|||
// SUBSECTION FM EDITOR
|
||||
CONFIG_SUBSECTION("FM Editor");
|
||||
ImGui::Text("FM parameter names:");
|
||||
ImGui::Indent();
|
||||
if (ImGui::RadioButton("Friendly##fmn0",settings.fmNames==0)) {
|
||||
settings.fmNames=0;
|
||||
}
|
||||
|
|
@ -2255,6 +2314,7 @@ void FurnaceGUI::drawSettings() {
|
|||
if (ImGui::RadioButton("Technical (alternate)##fmn2",settings.fmNames==2)) {
|
||||
settings.fmNames=2;
|
||||
}
|
||||
ImGui::Unindent();
|
||||
|
||||
bool oplStandardWaveNamesB=settings.oplStandardWaveNames;
|
||||
if (ImGui::Checkbox("Use standard OPL waveform names",&oplStandardWaveNamesB)) {
|
||||
|
|
@ -2262,6 +2322,7 @@ void FurnaceGUI::drawSettings() {
|
|||
}
|
||||
|
||||
ImGui::Text("FM parameter editor layout:");
|
||||
ImGui::Indent();
|
||||
if (ImGui::RadioButton("Modern##fml0",settings.fmLayout==0)) {
|
||||
settings.fmLayout=0;
|
||||
}
|
||||
|
|
@ -2283,14 +2344,17 @@ void FurnaceGUI::drawSettings() {
|
|||
if (ImGui::RadioButton("Alternate (4x1)##fml5",settings.fmLayout==6)) {
|
||||
settings.fmLayout=6;
|
||||
}
|
||||
ImGui::Unindent();
|
||||
|
||||
ImGui::Text("Position of Sustain in FM editor:");
|
||||
ImGui::Indent();
|
||||
if (ImGui::RadioButton("Between Decay and Sustain Rate##susp0",settings.susPosition==0)) {
|
||||
settings.susPosition=0;
|
||||
}
|
||||
if (ImGui::RadioButton("After Release Rate##susp1",settings.susPosition==1)) {
|
||||
settings.susPosition=1;
|
||||
}
|
||||
ImGui::Unindent();
|
||||
|
||||
bool separateFMColorsB=settings.separateFMColors;
|
||||
if (ImGui::Checkbox("Use separate colors for carriers/modulators in FM editor",&separateFMColorsB)) {
|
||||
|
|
@ -2305,12 +2369,14 @@ void FurnaceGUI::drawSettings() {
|
|||
// SUBSECTION STATISTICS
|
||||
CONFIG_SUBSECTION("Statistics");
|
||||
ImGui::Text("Chip memory usage unit:");
|
||||
ImGui::Indent();
|
||||
if (ImGui::RadioButton("Bytes##MUU0",settings.memUsageUnit==0)) {
|
||||
settings.memUsageUnit=0;
|
||||
}
|
||||
if (ImGui::RadioButton("Kilobytes##MUU1",settings.memUsageUnit==1)) {
|
||||
settings.memUsageUnit=1;
|
||||
}
|
||||
ImGui::Unindent();
|
||||
|
||||
// SUBSECTION OSCILLOSCOPE
|
||||
CONFIG_SUBSECTION("Oscilloscope");
|
||||
|
|
@ -2384,6 +2450,7 @@ void FurnaceGUI::drawSettings() {
|
|||
}
|
||||
if (ImGui::TreeNode("General")) {
|
||||
ImGui::Text("Color scheme type:");
|
||||
ImGui::Indent();
|
||||
if (ImGui::RadioButton("Dark##gcb0",settings.guiColorsBase==0)) {
|
||||
settings.guiColorsBase=0;
|
||||
applyUISettings(false);
|
||||
|
|
@ -2392,6 +2459,7 @@ void FurnaceGUI::drawSettings() {
|
|||
settings.guiColorsBase=1;
|
||||
applyUISettings(false);
|
||||
}
|
||||
ImGui::Unindent();
|
||||
if (ImGui::SliderInt("Frame shading",&settings.guiColorsShading,0,100,"%d%%")) {
|
||||
if (settings.guiColorsShading<0) settings.guiColorsShading=0;
|
||||
if (settings.guiColorsShading>100) settings.guiColorsShading=100;
|
||||
|
|
|
|||
Loading…
Reference in a new issue