GUI: invert some compat flags

they are called "compatibility" flags for a reason
it doesn't make too much sense to have some of these flags enabled
when creating a new Furnace song.
This commit is contained in:
tildearrow 2022-10-09 17:59:44 -05:00
parent 7fd808fd31
commit 6a3def514a
3 changed files with 31 additions and 19 deletions

View file

@ -491,6 +491,15 @@ bool FurnaceGUI::CWVSliderInt(const char* label, const ImVec2& size, int* v, int
return CWVSliderScalar(label,size,ImGuiDataType_S32,v,&v_min,&v_max,format,flags);
}
bool FurnaceGUI::InvCheckbox(const char* label, bool* value) {
bool t=!(*value);
if (ImGui::Checkbox(label,&t)) {
*value=t;
return true;
}
return false;
}
const char* FurnaceGUI::getSystemName(DivSystem which) {
/*
if (settings.chipNames) {