mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-25 14:05:12 +00:00
add where missing
This commit is contained in:
parent
1e61bb371d
commit
248467830d
1 changed files with 3 additions and 0 deletions
|
@ -591,6 +591,7 @@ void FurnaceGUI::drawSettings() {
|
|||
for (int i=0; locales[i][0]; i++) {
|
||||
if (ImGui::Selectable(locales[i][0],strcmp(settings.locale.c_str(),locales[i][1])==0)) {
|
||||
settings.locale=locales[i][1];
|
||||
settingsChanged=true;
|
||||
}
|
||||
if (ImGui::IsItemHovered()) {
|
||||
ImGui::SetTooltip("%s",locales[i][2]);
|
||||
|
@ -824,12 +825,14 @@ void FurnaceGUI::drawSettings() {
|
|||
ImGui::Indent();
|
||||
if (ImGui::RadioButton(_("ImGui line plot"),settings.shaderOsc==0)) {
|
||||
settings.shaderOsc=0;
|
||||
settingsChanged=true;
|
||||
}
|
||||
if (ImGui::IsItemHovered()) {
|
||||
ImGui::SetTooltip(_("render using Dear ImGui's built-in line drawing functions."));
|
||||
}
|
||||
if (ImGui::RadioButton(_("GLSL (if available)"),settings.shaderOsc==1)) {
|
||||
settings.shaderOsc=1;
|
||||
settingsChanged=true;
|
||||
}
|
||||
if (ImGui::IsItemHovered()) {
|
||||
#ifdef USE_GLES
|
||||
|
|
Loading…
Reference in a new issue