mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-03 02:41:12 +02:00
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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user