mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-26 22:43:01 +00:00
GUI: use pattern font for input latch
This commit is contained in:
parent
2278c1a465
commit
9c8d122389
2 changed files with 3 additions and 2 deletions
1
TODO.md
1
TODO.md
|
@ -32,7 +32,6 @@
|
|||
- add another FM editor layout
|
||||
- try to find out why does VSlider not accept keyboard input
|
||||
- finish lock layout
|
||||
- note input latch!
|
||||
- if macros have release, note off should release them
|
||||
- add "don't scroll on cursor movement" option
|
||||
- add ability to select entire row when clicking on row number
|
||||
|
|
|
@ -1935,7 +1935,8 @@ void FurnaceGUI::editOptions(bool topMenu) {
|
|||
}
|
||||
|
||||
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];
|
||||
ImGui::TableNextRow();
|
||||
ImGui::TableNextColumn();
|
||||
|
@ -2032,6 +2033,7 @@ void FurnaceGUI::editOptions(bool topMenu) {
|
|||
ImGui::PopStyleColor();
|
||||
ImGui::EndTable();
|
||||
}
|
||||
ImGui::PopFont();
|
||||
ImGui::SameLine();
|
||||
if (ImGui::Button("Set")) {
|
||||
DivPattern* pat=e->song.pat[cursor.xCoarse].getPattern(e->song.orders.ord[cursor.xCoarse][curOrder],true);
|
||||
|
|
Loading…
Reference in a new issue