mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-02 18:31:22 +02:00
- videosettings: activate slider menu
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -568,22 +568,22 @@ int CVideoSettings::showVideoSetup()
|
|||||||
#if HAVE_ARM_HARDWARE
|
#if HAVE_ARM_HARDWARE
|
||||||
videosetup->addItem(GenericMenuSeparatorLine);
|
videosetup->addItem(GenericMenuSeparatorLine);
|
||||||
|
|
||||||
CMenuForwarder *mf;
|
|
||||||
CMenuOptionNumberChooser *mc;
|
|
||||||
|
|
||||||
CPSISetup *psiSetup = CPSISetup::getInstance();
|
CPSISetup *psiSetup = CPSISetup::getInstance();
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
|
CMenuOptionNumberChooser *mc;
|
||||||
|
|
||||||
mc = new CMenuOptionNumberChooser(LOCALE_VIDEOMENU_PSI_STEP, (int *)&g_settings.psi_step, true, 1, 100, NULL);
|
mc = new CMenuOptionNumberChooser(LOCALE_VIDEOMENU_PSI_STEP, (int *)&g_settings.psi_step, true, 1, 100, NULL);
|
||||||
mc->setHint("", LOCALE_MENU_HINT_VIDEO_PSI_STEP);
|
mc->setHint("", LOCALE_MENU_HINT_VIDEO_PSI_STEP);
|
||||||
videosetup->addItem(mc);
|
videosetup->addItem(mc);
|
||||||
|
#endif
|
||||||
|
|
||||||
mf = new CMenuForwarder(LOCALE_VIDEOMENU_PSI, true, NULL, psiSetup, NULL);
|
CMenuForwarder *mf = new CMenuForwarder(LOCALE_VIDEOMENU_PSI, true, NULL, psiSetup, NULL);
|
||||||
mf->setHint("", LOCALE_MENU_HINT_VIDEO_PSI);
|
mf->setHint("", LOCALE_MENU_HINT_VIDEO_PSI);
|
||||||
videosetup->addItem(mf);
|
videosetup->addItem(mf);
|
||||||
|
|
||||||
|
#if 0
|
||||||
videosetup->addItem(GenericMenuSeparator);
|
videosetup->addItem(GenericMenuSeparator);
|
||||||
#endif
|
|
||||||
|
|
||||||
mc = new CMenuOptionNumberChooser(LOCALE_VIDEOMENU_PSI_CONTRAST, (int *)&g_settings.psi_contrast, true, 0, 255, psiSetup);
|
mc = new CMenuOptionNumberChooser(LOCALE_VIDEOMENU_PSI_CONTRAST, (int *)&g_settings.psi_contrast, true, 0, 255, psiSetup);
|
||||||
mc->setHint("", LOCALE_MENU_HINT_VIDEO_CONTRAST);
|
mc->setHint("", LOCALE_MENU_HINT_VIDEO_CONTRAST);
|
||||||
@@ -600,6 +600,7 @@ int CVideoSettings::showVideoSetup()
|
|||||||
mc = new CMenuOptionNumberChooser(LOCALE_VIDEOMENU_PSI_TINT, (int *)&g_settings.psi_tint, true, 0, 255, psiSetup);
|
mc = new CMenuOptionNumberChooser(LOCALE_VIDEOMENU_PSI_TINT, (int *)&g_settings.psi_tint, true, 0, 255, psiSetup);
|
||||||
mc->setHint("", LOCALE_MENU_HINT_VIDEO_TINT);
|
mc->setHint("", LOCALE_MENU_HINT_VIDEO_TINT);
|
||||||
videosetup->addItem(mc);
|
videosetup->addItem(mc);
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int res = videosetup->exec(NULL, "");
|
int res = videosetup->exec(NULL, "");
|
||||||
|
Reference in New Issue
Block a user