move quadpip-setup to videosettings

Origin commit data
------------------
Commit: bee7b69920
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-10-17 (Sun, 17 Oct 2021)

Origin message was:
------------------
- move quadpip-setup to videosettings
This commit is contained in:
vanhofen
2021-10-17 21:38:28 +02:00
parent 132470744a
commit fce3bd1867
2 changed files with 9 additions and 12 deletions

View File

@@ -72,6 +72,9 @@ extern cVideo *videoDecoder;
extern cVideo *pipVideoDecoder[3];
#include <gui/pipsetup.h>
#endif
#if ENABLE_QUADPIP
#include <gui/quadpip_setup.h>
#endif
extern int prev_video_mode;
extern CRemoteControl * g_RemoteControl; /* neutrino.cpp */
@@ -535,6 +538,12 @@ int CVideoSettings::showVideoSetup()
videosetup->addItem(pipsetup);
#endif
#if ENABLE_QUADPIP
CMenuForwarder *quadpip = new CMenuForwarder(LOCALE_QUADPIP, g_info.hw_caps->pip_devs >= 1, NULL, new CQuadPiPSetup());
quadpip->setHint(NEUTRINO_ICON_HINT_QUADPIP, LOCALE_MENU_HINT_QUADPIP);
videosetup->addItem(quadpip);
#endif
if (file_exists("/proc/stb/video/zapmode")) {
CMenuOptionChooser * zm = new CMenuOptionChooser(LOCALE_VIDEOMENU_ZAPPINGMODE, &g_settings.zappingmode, VIDEOMENU_ZAPPINGMODE_OPTIONS, VIDEOMENU_ZAPPINGMODE_OPTION_COUNT, true, this);
zm->setHint("", LOCALE_MENU_HINT_VIDEO_ZAPPINGMODE);