Revert "prepare for Furnace Pro"

This reverts commit 6fe8bea50e.
This commit is contained in:
tildearrow 2023-04-02 02:31:37 -05:00
parent fc4397f644
commit 76deb82665
17 changed files with 163 additions and 689 deletions

View file

@ -21,7 +21,6 @@
#include "imgui.h"
#include "misc/cpp/imgui_stdlib.h"
#include "intConst.h"
#include "../ta-log.h"
void FurnaceGUI::drawSongInfo(bool asChild) {
if (nextWindow==GUI_WINDOW_SONG_INFO) {
@ -115,17 +114,13 @@ void FurnaceGUI::drawSongInfo(bool asChild) {
ImGui::TableNextColumn();
ImGui::Text("Tuning (A-4)");
ImGui::TableNextColumn();
if (dejarteArriba) {
ImGui::TextWrapped("not available in UNREGISTERED version! register now!");
} else {
float tune=e->song.tuning;
float avail=ImGui::GetContentRegionAvail().x;
ImGui::SetNextItemWidth(avail);
if (ImGui::InputFloat("##Tuning",&tune,1.0f,3.0f,"%g")) { MARK_MODIFIED
if (tune<220.0f) tune=220.0f;
if (tune>880.0f) tune=880.0f;
e->song.tuning=tune;
}
float tune=e->song.tuning;
float avail=ImGui::GetContentRegionAvail().x;
ImGui::SetNextItemWidth(avail);
if (ImGui::InputFloat("##Tuning",&tune,1.0f,3.0f,"%g")) { MARK_MODIFIED
if (tune<220.0f) tune=220.0f;
if (tune>880.0f) tune=880.0f;
e->song.tuning=tune;
}
ImGui::EndTable();
}