mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 00:41:09 +02:00
screensaver: move configuration to own submenu
Origin commit data
------------------
Branch: ni/coolstream
Commit: 3206e35e20
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-12-25 (Thu, 25 Dec 2014)
Origin message was:
------------------
- screensaver: move configuration to own submenu
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1288,6 +1288,7 @@ menu.hint_scrambled_message Bei aktivierter Option erscheint eine Meldung, wenn
|
|||||||
menu.hint_screen_setup Konfigurieren Sie den Bildschirmbereich für die Menüanzeige
|
menu.hint_screen_setup Konfigurieren Sie den Bildschirmbereich für die Menüanzeige
|
||||||
menu.hint_screensaver_dir Wählen Sie das Verzeichnis, in dem die Bilder für Ihren Bildschirmschoner gespeichert sind
|
menu.hint_screensaver_dir Wählen Sie das Verzeichnis, in dem die Bilder für Ihren Bildschirmschoner gespeichert sind
|
||||||
menu.hint_screensaver_timeout Wählen Sie Die Wartezeit bis zum Bilderwechsel des Bildschirmschoners
|
menu.hint_screensaver_timeout Wählen Sie Die Wartezeit bis zum Bilderwechsel des Bildschirmschoners
|
||||||
|
menu.hint_screensaver_setup Konfigurieren Sie die Optionen des Bildschirmschoners für den Audioplayer
|
||||||
menu.hint_screenshot_count Wählen Sie, wie viele Screenshots erstellt werden sollen
|
menu.hint_screenshot_count Wählen Sie, wie viele Screenshots erstellt werden sollen
|
||||||
menu.hint_screenshot_cover Während der Wiedergabe von Aufnahmen kann ein Screenshot für die Vorschau im Moviebrowser erstellt werden
|
menu.hint_screenshot_cover Während der Wiedergabe von Aufnahmen kann ein Screenshot für die Vorschau im Moviebrowser erstellt werden
|
||||||
menu.hint_screenshot_dir Wählen Sie das Verzeichnis zum Speichern der Screenshots
|
menu.hint_screenshot_dir Wählen Sie das Verzeichnis zum Speichern der Screenshots
|
||||||
@@ -2053,8 +2054,9 @@ scants.startnow Kanalsuche starten
|
|||||||
scants.test Empfangstest
|
scants.test Empfangstest
|
||||||
scants.transponders Transponder:
|
scants.transponders Transponder:
|
||||||
scrambled_channel Verschlüsselung aktiv
|
scrambled_channel Verschlüsselung aktiv
|
||||||
screensaver.dir Bildschirmschoner-Verzeichnis
|
screensaver.dir Verzeichnis
|
||||||
screensaver.timeout Bildschirmschoner-Wartezeit
|
screensaver.timeout Wartezeit
|
||||||
|
screensaver.setup Bildschirmschoner
|
||||||
screensetup.lowerright grün = Bildrand unten, rechts
|
screensetup.lowerright grün = Bildrand unten, rechts
|
||||||
screensetup.upperleft rot = Bildrand oben, links
|
screensetup.upperleft rot = Bildrand oben, links
|
||||||
screenshot.count Anzahl
|
screenshot.count Anzahl
|
||||||
|
@@ -1292,6 +1292,7 @@ menu.hint_scrambled_message Show scrambled message, when channel cannot be decod
|
|||||||
menu.hint_screen_setup Configure screen margins
|
menu.hint_screen_setup Configure screen margins
|
||||||
menu.hint_screensaver_dir Select directory in which the screensaver has to start.
|
menu.hint_screensaver_dir Select directory in which the screensaver has to start.
|
||||||
menu.hint_screensaver_timeout Select the timeout to change pictures in screensavers
|
menu.hint_screensaver_timeout Select the timeout to change pictures in screensavers
|
||||||
|
menu.hint_screensaver_setup Configure screensaver options for audioplayer
|
||||||
menu.hint_screenshot_count When no GUI on screen, you can save 1-5\nscreenshot serie
|
menu.hint_screenshot_count When no GUI on screen, you can save 1-5\nscreenshot serie
|
||||||
menu.hint_screenshot_cover ON: When playing record, overwrite single\nscreenshot to show inside MovieBrowser
|
menu.hint_screenshot_cover ON: When playing record, overwrite single\nscreenshot to show inside MovieBrowser
|
||||||
menu.hint_screenshot_dir Select directory to save screenshots
|
menu.hint_screenshot_dir Select directory to save screenshots
|
||||||
@@ -2058,8 +2059,9 @@ scants.startnow start scan
|
|||||||
scants.test Test signal
|
scants.test Test signal
|
||||||
scants.transponders Transponders:
|
scants.transponders Transponders:
|
||||||
scrambled_channel Scrambled channel
|
scrambled_channel Scrambled channel
|
||||||
screensaver.dir Screensaver directory
|
screensaver.dir Directory
|
||||||
screensaver.timeout Screensaver timeout
|
screensaver.menu Screensaver
|
||||||
|
screensaver.timeout Timeout
|
||||||
screensetup.lowerright green = setup lower right
|
screensetup.lowerright green = setup lower right
|
||||||
screensetup.upperleft red = setup upper left
|
screensetup.upperleft red = setup upper left
|
||||||
screenshot.count Count
|
screenshot.count Count
|
||||||
|
@@ -570,6 +570,13 @@ int COsdSetup::showOsdSetup()
|
|||||||
mf->setHint("", LOCALE_MENU_HINT_SCREENSHOT_SETUP);
|
mf->setHint("", LOCALE_MENU_HINT_SCREENSHOT_SETUP);
|
||||||
osd_menu->addItem(mf);
|
osd_menu->addItem(mf);
|
||||||
|
|
||||||
|
//screensaver
|
||||||
|
CMenuWidget osd_menu_screensaver(LOCALE_MAINMENU_SETTINGS, NEUTRINO_ICON_SETTINGS, width, MN_WIDGET_ID_OSDSETUP_SCREENSAVER);
|
||||||
|
showOsdScreensaverSetup(&osd_menu_screensaver);
|
||||||
|
mf = new CMenuForwarder(LOCALE_SCREENSAVER_MENU, true, NULL, &osd_menu_screensaver, NULL, CRCInput::convertDigitToKey(shortcut++));
|
||||||
|
mf->setHint("", LOCALE_MENU_HINT_SCREENSAVER_SETUP);
|
||||||
|
osd_menu->addItem(mf);
|
||||||
|
|
||||||
osd_menu->addItem(GenericMenuSeparatorLine);
|
osd_menu->addItem(GenericMenuSeparatorLine);
|
||||||
|
|
||||||
//monitor
|
//monitor
|
||||||
@@ -612,19 +619,6 @@ int COsdSetup::showOsdSetup()
|
|||||||
mc->setHint("", LOCALE_MENU_HINT_SUBCHANNEL_POS);
|
mc->setHint("", LOCALE_MENU_HINT_SUBCHANNEL_POS);
|
||||||
osd_menu->addItem(mc);
|
osd_menu->addItem(mc);
|
||||||
|
|
||||||
osd_menu->addItem(GenericMenuSeparatorLine);
|
|
||||||
|
|
||||||
// screensaver_dir
|
|
||||||
mf = new CMenuForwarder(LOCALE_SCREENSAVER_DIR, true, g_settings.screensaver_dir, this, "screensaver_dir");
|
|
||||||
mf->setHint("", LOCALE_MENU_HINT_SCREENSAVER_DIR);
|
|
||||||
osd_menu->addItem(mf);
|
|
||||||
|
|
||||||
// screensaver timeout
|
|
||||||
CMenuOptionNumberChooser* nc = new CMenuOptionNumberChooser(LOCALE_SCREENSAVER_TIMEOUT, &g_settings.screensaver_timeout, true, 10, 60);
|
|
||||||
nc->setNumberFormat(std::string("%d ") + g_Locale->getText(LOCALE_UNIT_SHORT_SECOND));
|
|
||||||
nc->setHint("", LOCALE_MENU_HINT_SCREENSAVER_TIMEOUT);
|
|
||||||
osd_menu->addItem(nc);
|
|
||||||
|
|
||||||
int oldVolumeSize = g_settings.volume_size;
|
int oldVolumeSize = g_settings.volume_size;
|
||||||
int oldInfoClockSize = g_settings.infoClockFontSize;
|
int oldInfoClockSize = g_settings.infoClockFontSize;
|
||||||
|
|
||||||
@@ -1268,6 +1262,22 @@ void COsdSetup::showOsdScreenShotSetup(CMenuWidget *menu_screenshot)
|
|||||||
menu_screenshot->addItem(mc);
|
menu_screenshot->addItem(mc);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void COsdSetup::showOsdScreensaverSetup(CMenuWidget *menu_screensaver)
|
||||||
|
{
|
||||||
|
menu_screensaver->addIntroItems(LOCALE_SCREENSAVER_MENU);
|
||||||
|
|
||||||
|
// screensaver_dir
|
||||||
|
CMenuForwarder *mf = new CMenuForwarder(LOCALE_SCREENSAVER_DIR, true, g_settings.screensaver_dir, this, "screensaver_dir");
|
||||||
|
mf->setHint("", LOCALE_MENU_HINT_SCREENSAVER_DIR);
|
||||||
|
menu_screensaver->addItem(mf);
|
||||||
|
|
||||||
|
// screensaver timeout
|
||||||
|
CMenuOptionNumberChooser* nc = new CMenuOptionNumberChooser(LOCALE_SCREENSAVER_TIMEOUT, &g_settings.screensaver_timeout, true, 10, 60);
|
||||||
|
nc->setNumberFormat(std::string("%d ") + g_Locale->getText(LOCALE_UNIT_SHORT_SECOND));
|
||||||
|
nc->setHint("", LOCALE_MENU_HINT_SCREENSAVER_TIMEOUT);
|
||||||
|
menu_screensaver->addItem(nc);
|
||||||
|
}
|
||||||
|
|
||||||
void COsdSetup::paintWindowSize(int w, int h)
|
void COsdSetup::paintWindowSize(int w, int h)
|
||||||
{
|
{
|
||||||
if (win_demo == NULL) {
|
if (win_demo == NULL) {
|
||||||
|
@@ -71,6 +71,7 @@ class COsdSetup : public CMenuTarget, public CChangeObserver
|
|||||||
void showOsdVolumeSetup(CMenuWidget *menu_volume);
|
void showOsdVolumeSetup(CMenuWidget *menu_volume);
|
||||||
void showOsdInfoclockSetup(CMenuWidget *menu_infoclock);
|
void showOsdInfoclockSetup(CMenuWidget *menu_infoclock);
|
||||||
void showOsdScreenShotSetup(CMenuWidget *menu_screenshot);
|
void showOsdScreenShotSetup(CMenuWidget *menu_screenshot);
|
||||||
|
void showOsdScreensaverSetup(CMenuWidget *menu_screensaver);
|
||||||
void paintWindowSize(int w, int h);
|
void paintWindowSize(int w, int h);
|
||||||
|
|
||||||
void AddFontSettingItem(CMenuWidget &font_Settings, const SNeutrinoSettings::FONT_TYPES number_of_fontsize_entry);
|
void AddFontSettingItem(CMenuWidget &font_Settings, const SNeutrinoSettings::FONT_TYPES number_of_fontsize_entry);
|
||||||
|
@@ -63,6 +63,7 @@ enum MN_WIDGET_ID
|
|||||||
MN_WIDGET_ID_OSDSETUP_MENUCOLORS,
|
MN_WIDGET_ID_OSDSETUP_MENUCOLORS,
|
||||||
MN_WIDGET_ID_OSDSETUP_TIMEOUT,
|
MN_WIDGET_ID_OSDSETUP_TIMEOUT,
|
||||||
MN_WIDGET_ID_OSDSETUP_SCREENSHOT,
|
MN_WIDGET_ID_OSDSETUP_SCREENSHOT,
|
||||||
|
MN_WIDGET_ID_OSDSETUP_SCREENSAVER,
|
||||||
MN_WIDGET_ID_OSDSETUP_VOLUME,
|
MN_WIDGET_ID_OSDSETUP_VOLUME,
|
||||||
MN_WIDGET_ID_OSDSETUP_INFOCLOCK,
|
MN_WIDGET_ID_OSDSETUP_INFOCLOCK,
|
||||||
MN_WIDGET_ID_OSDSETUP_PROGRESSBAR,
|
MN_WIDGET_ID_OSDSETUP_PROGRESSBAR,
|
||||||
|
@@ -1319,6 +1319,7 @@ typedef enum
|
|||||||
LOCALE_MENU_HINT_SCREEN_SETUP,
|
LOCALE_MENU_HINT_SCREEN_SETUP,
|
||||||
LOCALE_MENU_HINT_SCREENSAVER_DIR,
|
LOCALE_MENU_HINT_SCREENSAVER_DIR,
|
||||||
LOCALE_MENU_HINT_SCREENSAVER_TIMEOUT,
|
LOCALE_MENU_HINT_SCREENSAVER_TIMEOUT,
|
||||||
|
LOCALE_MENU_HINT_SCREENSAVER_SETUP,
|
||||||
LOCALE_MENU_HINT_SCREENSHOT_COUNT,
|
LOCALE_MENU_HINT_SCREENSHOT_COUNT,
|
||||||
LOCALE_MENU_HINT_SCREENSHOT_COVER,
|
LOCALE_MENU_HINT_SCREENSHOT_COVER,
|
||||||
LOCALE_MENU_HINT_SCREENSHOT_DIR,
|
LOCALE_MENU_HINT_SCREENSHOT_DIR,
|
||||||
@@ -2086,6 +2087,7 @@ typedef enum
|
|||||||
LOCALE_SCANTS_TRANSPONDERS,
|
LOCALE_SCANTS_TRANSPONDERS,
|
||||||
LOCALE_SCRAMBLED_CHANNEL,
|
LOCALE_SCRAMBLED_CHANNEL,
|
||||||
LOCALE_SCREENSAVER_DIR,
|
LOCALE_SCREENSAVER_DIR,
|
||||||
|
LOCALE_SCREENSAVER_MENU,
|
||||||
LOCALE_SCREENSAVER_TIMEOUT,
|
LOCALE_SCREENSAVER_TIMEOUT,
|
||||||
LOCALE_SCREENSETUP_LOWERRIGHT,
|
LOCALE_SCREENSETUP_LOWERRIGHT,
|
||||||
LOCALE_SCREENSETUP_UPPERLEFT,
|
LOCALE_SCREENSETUP_UPPERLEFT,
|
||||||
|
@@ -1319,6 +1319,7 @@ const char * locale_real_names[] =
|
|||||||
"menu.hint_screen_setup",
|
"menu.hint_screen_setup",
|
||||||
"menu.hint_screensaver_dir",
|
"menu.hint_screensaver_dir",
|
||||||
"menu.hint_screensaver_timeout",
|
"menu.hint_screensaver_timeout",
|
||||||
|
"menu.hint_screensaver_setup",
|
||||||
"menu.hint_screenshot_count",
|
"menu.hint_screenshot_count",
|
||||||
"menu.hint_screenshot_cover",
|
"menu.hint_screenshot_cover",
|
||||||
"menu.hint_screenshot_dir",
|
"menu.hint_screenshot_dir",
|
||||||
@@ -2086,6 +2087,7 @@ const char * locale_real_names[] =
|
|||||||
"scants.transponders",
|
"scants.transponders",
|
||||||
"scrambled_channel",
|
"scrambled_channel",
|
||||||
"screensaver.dir",
|
"screensaver.dir",
|
||||||
|
"screensaver.menu",
|
||||||
"screensaver.timeout",
|
"screensaver.timeout",
|
||||||
"screensetup.lowerright",
|
"screensetup.lowerright",
|
||||||
"screensetup.upperleft",
|
"screensetup.upperleft",
|
||||||
|
Reference in New Issue
Block a user