mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-24 05:25:12 +00:00
GUI: add algorithm text
This commit is contained in:
parent
6d9f5db6a4
commit
af30d4990a
1 changed files with 5 additions and 1 deletions
|
@ -604,6 +604,10 @@ int detuneTable[8]={
|
|||
0, 1, 2, 3, 0, -3, -2, -1
|
||||
};
|
||||
|
||||
const char* fourOpAlgs[8]={
|
||||
"1 > 2 > 3 > 4", "(1+2) > 3 > 4", "1+(2>3) > 4", "(1>2)+3 > 4", "(1>2) + (3>4)", "1 > (2+3+4)", "(1>2) + 3 + 4", "1 + 2 + 3 + 4"
|
||||
};
|
||||
|
||||
const char* insTypes[10]={
|
||||
"Standard", "FM", "Game Boy", "C64", "Amiga", "PC Engine", "AY-3-8910/SSG", "AY8930", "TIA", "SAA1099"
|
||||
};
|
||||
|
@ -639,7 +643,7 @@ void FurnaceGUI::drawInsEdit() {
|
|||
ImGui::NextColumn();
|
||||
P(ImGui::SliderScalar("Feedback",ImGuiDataType_U8,&ins->fm.fb,&_ZERO,&_SEVEN));
|
||||
ImGui::NextColumn();
|
||||
ImGui::Text("Algorithm here!");
|
||||
ImGui::Text("%s",fourOpAlgs[ins->fm.alg&7]);
|
||||
ImGui::NextColumn();
|
||||
P(ImGui::SliderScalar("LFO > Freq",ImGuiDataType_U8,&ins->fm.fms,&_ZERO,&_SEVEN));
|
||||
ImGui::NextColumn();
|
||||
|
|
Loading…
Reference in a new issue