add where missing
This commit is contained in:
parent
1e61bb371d
commit
248467830d
|
@ -591,6 +591,7 @@ void FurnaceGUI::drawSettings() {
|
||||||
for (int i=0; locales[i][0]; i++) {
|
for (int i=0; locales[i][0]; i++) {
|
||||||
if (ImGui::Selectable(locales[i][0],strcmp(settings.locale.c_str(),locales[i][1])==0)) {
|
if (ImGui::Selectable(locales[i][0],strcmp(settings.locale.c_str(),locales[i][1])==0)) {
|
||||||
settings.locale=locales[i][1];
|
settings.locale=locales[i][1];
|
||||||
|
settingsChanged=true;
|
||||||
}
|
}
|
||||||
if (ImGui::IsItemHovered()) {
|
if (ImGui::IsItemHovered()) {
|
||||||
ImGui::SetTooltip("%s",locales[i][2]);
|
ImGui::SetTooltip("%s",locales[i][2]);
|
||||||
|
@ -824,12 +825,14 @@ void FurnaceGUI::drawSettings() {
|
||||||
ImGui::Indent();
|
ImGui::Indent();
|
||||||
if (ImGui::RadioButton(_("ImGui line plot"),settings.shaderOsc==0)) {
|
if (ImGui::RadioButton(_("ImGui line plot"),settings.shaderOsc==0)) {
|
||||||
settings.shaderOsc=0;
|
settings.shaderOsc=0;
|
||||||
|
settingsChanged=true;
|
||||||
}
|
}
|
||||||
if (ImGui::IsItemHovered()) {
|
if (ImGui::IsItemHovered()) {
|
||||||
ImGui::SetTooltip(_("render using Dear ImGui's built-in line drawing functions."));
|
ImGui::SetTooltip(_("render using Dear ImGui's built-in line drawing functions."));
|
||||||
}
|
}
|
||||||
if (ImGui::RadioButton(_("GLSL (if available)"),settings.shaderOsc==1)) {
|
if (ImGui::RadioButton(_("GLSL (if available)"),settings.shaderOsc==1)) {
|
||||||
settings.shaderOsc=1;
|
settings.shaderOsc=1;
|
||||||
|
settingsChanged=true;
|
||||||
}
|
}
|
||||||
if (ImGui::IsItemHovered()) {
|
if (ImGui::IsItemHovered()) {
|
||||||
#ifdef USE_GLES
|
#ifdef USE_GLES
|
||||||
|
|
Loading…
Reference in a new issue