GUI: use pattern font for input latch
This commit is contained in:
parent
2278c1a465
commit
9c8d122389
1
TODO.md
1
TODO.md
|
@ -32,7 +32,6 @@
|
||||||
- add another FM editor layout
|
- add another FM editor layout
|
||||||
- try to find out why does VSlider not accept keyboard input
|
- try to find out why does VSlider not accept keyboard input
|
||||||
- finish lock layout
|
- finish lock layout
|
||||||
- note input latch!
|
|
||||||
- if macros have release, note off should release them
|
- if macros have release, note off should release them
|
||||||
- add "don't scroll on cursor movement" option
|
- add "don't scroll on cursor movement" option
|
||||||
- add ability to select entire row when clicking on row number
|
- add ability to select entire row when clicking on row number
|
||||||
|
|
|
@ -1935,7 +1935,8 @@ void FurnaceGUI::editOptions(bool topMenu) {
|
||||||
}
|
}
|
||||||
|
|
||||||
ImGui::Text("input latch");
|
ImGui::Text("input latch");
|
||||||
if (ImGui::BeginTable("opMaskTable",5,ImGuiTableFlags_Borders|ImGuiTableFlags_SizingFixedFit|ImGuiTableFlags_NoHostExtendX)) {
|
ImGui::PushFont(patFont);
|
||||||
|
if (ImGui::BeginTable("inputLatchTable",5,ImGuiTableFlags_Borders|ImGuiTableFlags_SizingFixedFit|ImGuiTableFlags_NoHostExtendX)) {
|
||||||
static char id[64];
|
static char id[64];
|
||||||
ImGui::TableNextRow();
|
ImGui::TableNextRow();
|
||||||
ImGui::TableNextColumn();
|
ImGui::TableNextColumn();
|
||||||
|
@ -2032,6 +2033,7 @@ void FurnaceGUI::editOptions(bool topMenu) {
|
||||||
ImGui::PopStyleColor();
|
ImGui::PopStyleColor();
|
||||||
ImGui::EndTable();
|
ImGui::EndTable();
|
||||||
}
|
}
|
||||||
|
ImGui::PopFont();
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
if (ImGui::Button("Set")) {
|
if (ImGui::Button("Set")) {
|
||||||
DivPattern* pat=e->song.pat[cursor.xCoarse].getPattern(e->song.orders.ord[cursor.xCoarse][curOrder],true);
|
DivPattern* pat=e->song.pat[cursor.xCoarse].getPattern(e->song.orders.ord[cursor.xCoarse][curOrder],true);
|
||||||
|
|
Loading…
Reference in a new issue