diff --git a/data/locale/deutsch.locale b/data/locale/deutsch.locale index 2fe698fd3..424561a65 100644 --- a/data/locale/deutsch.locale +++ b/data/locale/deutsch.locale @@ -2788,7 +2788,7 @@ videomenu.pip_error PiP Startfehler videomenu.psi Farbregler videomenu.psi.brightness Helligkeit videomenu.psi.contrast Kontrast -videomenu.psi.reset Standard-Einstellungen +videomenu.psi.reset Standard videomenu.psi.saturation Sättigung videomenu.psi.step Farbregler-Schrittweite videomenu.psi.tint Farbton diff --git a/data/locale/english.locale b/data/locale/english.locale index d93fce8c6..65ec94987 100644 --- a/data/locale/english.locale +++ b/data/locale/english.locale @@ -2734,7 +2734,7 @@ videomenu.pip_error PiP start failed videomenu.psi Color sliders videomenu.psi.brightness Brightness videomenu.psi.contrast Contrast -videomenu.psi.reset Standard settings +videomenu.psi.reset Default videomenu.psi.saturation Saturation videomenu.psi.step Color sliders step size videomenu.psi.tint Tint diff --git a/src/gui/psisetup.cpp b/src/gui/psisetup.cpp index e0677f988..83a4386c9 100644 --- a/src/gui/psisetup.cpp +++ b/src/gui/psisetup.cpp @@ -118,7 +118,7 @@ int CPSISetup::exec (CMenuTarget * parent, const std::string &) neutrino_msg_data_t data; locWidth = 0; - for (int i = 0; i < PSI_RESET; i++) + for (int i = 0; i < PSI_SCALE_COUNT; i++) { int w = g_Font[SNeutrinoSettings::FONT_TYPE_MENU]->getRenderWidth (g_Locale->getText(psi_list[i].loc)) + OFFSET_INNER_SMALL; if (w > locWidth) @@ -158,9 +158,6 @@ int CPSISetup::exec (CMenuTarget * parent, const std::string &) psi_list[i].yLoc = psi_list[i].y + locHeight - 1; } - psi_list[PSI_RESET].xLoc = x + OFFSET_INNER_MID; - psi_list[PSI_RESET].xBox = x; - for (int i = 0; i < PSI_RESET; i++) psi_list[i].scale->reset (); @@ -284,8 +281,8 @@ void CPSISetup::paintSlider (int i) else { int fh = f->getHeight(); - f->RenderString (psi_list[i].x + OFFSET_INNER_SMALL + fh + fh/8, psi_list[i].yLoc, dx - OFFSET_INNER_SMALL - fh, g_Locale->getText(psi_list[i].loc), COL_MENUCONTENT_TEXT); - frameBuffer->paintIcon (NEUTRINO_ICON_BUTTON_RED, psi_list[i].x + OFFSET_INNER_SMALL, psi_list[i].yLoc - fh + fh/4, 0, (6 * fh)/8); + frameBuffer->paintIcon (NEUTRINO_ICON_BUTTON_RED, psi_list[i].x, psi_list[i].yLoc - fh + fh/4, 0, (6 * fh)/8); + f->RenderString (psi_list[i].xLoc, psi_list[i].yLoc, locWidth, g_Locale->getText(psi_list[i].loc), COL_MENUCONTENT_TEXT); } needsBlit = true; }