mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 23:13:00 +02:00
vfd-setup: add hint, hinticon and key to graphlcd item
Origin commit data
------------------
Branch: ni/coolstream
Commit: aae9b9a528
Author: vanhofen <vanhofen@gmx.de>
Date: 2022-12-03 (Sat, 03 Dec 2022)
Origin message was:
------------------
- vfd-setup: add hint, hinticon and key to graphlcd item
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -66,6 +66,11 @@ install_DATA = \
|
|||||||
hint_webtv.png \
|
hint_webtv.png \
|
||||||
hint_xmltv.png
|
hint_xmltv.png
|
||||||
|
|
||||||
|
if ENABLE_GRAPHLCD
|
||||||
|
install_DATA += \
|
||||||
|
hint_graphlcd.png
|
||||||
|
endif
|
||||||
|
|
||||||
if ENABLE_PIP
|
if ENABLE_PIP
|
||||||
install_DATA += \
|
install_DATA += \
|
||||||
hint_avinputmode_pip.png
|
hint_avinputmode_pip.png
|
||||||
|
BIN
data/icons/hints/hint_graphlcd.png
Normal file
BIN
data/icons/hints/hint_graphlcd.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 361 B |
@@ -1459,6 +1459,7 @@ menu.hint_fonts Konfigurieren Sie die Schriftart und die Schriftgrößen für di
|
|||||||
menu.hint_foot_back Ändern Sie die Fußleisten-Hintergrundfarbe
|
menu.hint_foot_back Ändern Sie die Fußleisten-Hintergrundfarbe
|
||||||
menu.hint_foot_textcolor Ändern Sie die Fußleisten-Textfarbe
|
menu.hint_foot_textcolor Ändern Sie die Fußleisten-Textfarbe
|
||||||
menu.hint_games Zeige Liste der installierten Spiele
|
menu.hint_games Zeige Liste der installierten Spiele
|
||||||
|
menu.hint_glcd_support GraphLCD aktivieren/deaktivieren
|
||||||
menu.hint_hdd Formatierung und Prüfung der Datenträger
|
menu.hint_hdd Formatierung und Prüfung der Datenträger
|
||||||
menu.hint_hdd_allow_set_recdir Erlaubt das sofortige Einstellen des neuen Datenträgers als Aufnahmemedium
|
menu.hint_hdd_allow_set_recdir Erlaubt das sofortige Einstellen des neuen Datenträgers als Aufnahmemedium
|
||||||
menu.hint_hdd_apply Die veränderten Einstellungen zum Sleep- und Akustik-Modus werden übernommen
|
menu.hint_hdd_apply Die veränderten Einstellungen zum Sleep- und Akustik-Modus werden übernommen
|
||||||
|
@@ -1459,6 +1459,7 @@ menu.hint_fonts Configure GUI fonts and font sizes
|
|||||||
menu.hint_foot_back Change GUI footer background color
|
menu.hint_foot_back Change GUI footer background color
|
||||||
menu.hint_foot_textcolor Change GUI window footer text color
|
menu.hint_foot_textcolor Change GUI window footer text color
|
||||||
menu.hint_games Show list of installed games
|
menu.hint_games Show list of installed games
|
||||||
|
menu.hint_glcd_support Activate/deactivate GraphLCD
|
||||||
menu.hint_hdd Format and check data storage
|
menu.hint_hdd Format and check data storage
|
||||||
menu.hint_hdd_allow_set_recdir Allow to set new connected devices as a record medium
|
menu.hint_hdd_allow_set_recdir Allow to set new connected devices as a record medium
|
||||||
menu.hint_hdd_apply Apply sleep/noise parameters
|
menu.hint_hdd_apply Apply sleep/noise parameters
|
||||||
|
@@ -223,19 +223,24 @@ int CVfdSetup::showSetup()
|
|||||||
vfds->addItem(led_num);
|
vfds->addItem(led_num);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CMenuItem *glcd_setup = NULL;
|
||||||
|
#ifdef ENABLE_GRAPHLCD
|
||||||
|
int glcdKey = CRCInput::RC_nokey;
|
||||||
|
if (vfds->getItemsCount() == initial_count) // first item
|
||||||
|
glcdKey = CRCInput::RC_red;
|
||||||
|
|
||||||
|
GLCD_Menu glcdMenu;
|
||||||
|
glcd_setup = new CMenuForwarder(LOCALE_GLCD_HEAD, true, NULL, &glcdMenu, NULL, glcdKey);
|
||||||
|
glcd_setup->setHint(NEUTRINO_ICON_HINT_GRAPHLCD, LOCALE_MENU_HINT_GLCD_SUPPORT);
|
||||||
|
vfds->addItem(glcd_setup);
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef ENABLE_LCD4LINUX
|
#ifdef ENABLE_LCD4LINUX
|
||||||
mf = new CMenuForwarder(LOCALE_LCD4L_SUPPORT, !find_executable("lcd4linux").empty(), NULL, CLCD4lSetup::getInstance(), NULL, CRCInput::RC_blue);
|
mf = new CMenuForwarder(LOCALE_LCD4L_SUPPORT, !find_executable("lcd4linux").empty(), NULL, CLCD4lSetup::getInstance(), NULL, CRCInput::RC_blue);
|
||||||
mf->setHint(NEUTRINO_ICON_HINT_LCD4LINUX, LOCALE_MENU_HINT_LCD4L_SUPPORT);
|
mf->setHint(NEUTRINO_ICON_HINT_LCD4LINUX, LOCALE_MENU_HINT_LCD4L_SUPPORT);
|
||||||
vfds->addItem(mf);
|
vfds->addItem(mf);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
CMenuItem *glcd_setup = NULL;
|
|
||||||
#ifdef ENABLE_GRAPHLCD
|
|
||||||
GLCD_Menu glcdMenu;
|
|
||||||
glcd_setup = new CMenuForwarder(LOCALE_GLCD_HEAD, true, NULL, &glcdMenu, NULL);
|
|
||||||
vfds->addItem(glcd_setup);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
int res;
|
int res;
|
||||||
if (glcd_setup && (vfds->getItemsCount() == initial_count + 1))
|
if (glcd_setup && (vfds->getItemsCount() == initial_count + 1))
|
||||||
{
|
{
|
||||||
|
@@ -177,6 +177,7 @@
|
|||||||
#define NEUTRINO_ICON_HINT_PROTECTION "hint_protection"
|
#define NEUTRINO_ICON_HINT_PROTECTION "hint_protection"
|
||||||
#define NEUTRINO_ICON_HINT_NETWORK "hint_network"
|
#define NEUTRINO_ICON_HINT_NETWORK "hint_network"
|
||||||
#define NEUTRINO_ICON_HINT_LCD4LINUX "hint_lcd4linux"
|
#define NEUTRINO_ICON_HINT_LCD4LINUX "hint_lcd4linux"
|
||||||
|
#define NEUTRINO_ICON_HINT_GRAPHLCD "hint_graphlcd"
|
||||||
#define NEUTRINO_ICON_HINT_RECORDING "hint_recording"
|
#define NEUTRINO_ICON_HINT_RECORDING "hint_recording"
|
||||||
#define NEUTRINO_ICON_HINT_LANGUAGE "hint_language"
|
#define NEUTRINO_ICON_HINT_LANGUAGE "hint_language"
|
||||||
#define NEUTRINO_ICON_HINT_OSD "hint_osd"
|
#define NEUTRINO_ICON_HINT_OSD "hint_osd"
|
||||||
|
@@ -1486,6 +1486,7 @@ typedef enum
|
|||||||
LOCALE_MENU_HINT_FOOT_BACK,
|
LOCALE_MENU_HINT_FOOT_BACK,
|
||||||
LOCALE_MENU_HINT_FOOT_TEXTCOLOR,
|
LOCALE_MENU_HINT_FOOT_TEXTCOLOR,
|
||||||
LOCALE_MENU_HINT_GAMES,
|
LOCALE_MENU_HINT_GAMES,
|
||||||
|
LOCALE_MENU_HINT_GLCD_SUPPORT,
|
||||||
LOCALE_MENU_HINT_HDD,
|
LOCALE_MENU_HINT_HDD,
|
||||||
LOCALE_MENU_HINT_HDD_ALLOW_SET_RECDIR,
|
LOCALE_MENU_HINT_HDD_ALLOW_SET_RECDIR,
|
||||||
LOCALE_MENU_HINT_HDD_APPLY,
|
LOCALE_MENU_HINT_HDD_APPLY,
|
||||||
|
@@ -1486,6 +1486,7 @@ const char * locale_real_names[] =
|
|||||||
"menu.hint_foot_back",
|
"menu.hint_foot_back",
|
||||||
"menu.hint_foot_textcolor",
|
"menu.hint_foot_textcolor",
|
||||||
"menu.hint_games",
|
"menu.hint_games",
|
||||||
|
"menu.hint_glcd_support",
|
||||||
"menu.hint_hdd",
|
"menu.hint_hdd",
|
||||||
"menu.hint_hdd_allow_set_recdir",
|
"menu.hint_hdd_allow_set_recdir",
|
||||||
"menu.hint_hdd_apply",
|
"menu.hint_hdd_apply",
|
||||||
|
Reference in New Issue
Block a user