mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
Switches color gradients on/off
Origin commit data
------------------
Branch: ni/coolstream
Commit: c7908c87f4
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-09-20 (Sat, 20 Sep 2014)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
committed by
[CST] Focus
parent
d23499a9da
commit
bc7b6eec92
@@ -269,6 +269,7 @@ clock_seconds Sekunden anzeigen
|
|||||||
clock_size_height Höhe der Anzeige
|
clock_size_height Höhe der Anzeige
|
||||||
clock_switch_off Uhr ausblenden
|
clock_switch_off Uhr ausblenden
|
||||||
clock_switch_on Uhr einblenden
|
clock_switch_on Uhr einblenden
|
||||||
|
color.gradient Farbverlauf
|
||||||
colorchooser.alpha alpha
|
colorchooser.alpha alpha
|
||||||
colorchooser.blue blau
|
colorchooser.blue blau
|
||||||
colorchooser.green grün
|
colorchooser.green grün
|
||||||
@@ -925,6 +926,7 @@ menu.hint_clock_mode Schalten Sie die Uhr ein oder aus
|
|||||||
menu.hint_clock_seconds Legen Sie fest, ob die Sekunden angezeigt werden sollen
|
menu.hint_clock_seconds Legen Sie fest, ob die Sekunden angezeigt werden sollen
|
||||||
menu.hint_clock_size Stellen Sie die Größe der Uhr ein
|
menu.hint_clock_size Stellen Sie die Größe der Uhr ein
|
||||||
menu.hint_clock_textcolor Konfigurieren Sie die Farbe der Ziffern
|
menu.hint_clock_textcolor Konfigurieren Sie die Farbe der Ziffern
|
||||||
|
menu.hint_color_gradient Schaltet Farbverläufe für verschiedene Menüelemente ein/aus
|
||||||
menu.hint_colors Konfigurieren Sie die Menü-Farben
|
menu.hint_colors Konfigurieren Sie die Menü-Farben
|
||||||
menu.hint_content_back Ändern Sie die Hintergrundfarbe für den Fensterinhalt
|
menu.hint_content_back Ändern Sie die Hintergrundfarbe für den Fensterinhalt
|
||||||
menu.hint_content_textcolor Ändern Sie die Textfarbe für den Fensterinhalt
|
menu.hint_content_textcolor Ändern Sie die Textfarbe für den Fensterinhalt
|
||||||
|
@@ -269,6 +269,7 @@ clock_seconds Show seconds
|
|||||||
clock_size_height Display height
|
clock_size_height Display height
|
||||||
clock_switch_off Clock off
|
clock_switch_off Clock off
|
||||||
clock_switch_on Clock on
|
clock_switch_on Clock on
|
||||||
|
color.gradient Color gradient
|
||||||
colorchooser.alpha alpha
|
colorchooser.alpha alpha
|
||||||
colorchooser.blue blue
|
colorchooser.blue blue
|
||||||
colorchooser.green green
|
colorchooser.green green
|
||||||
@@ -925,6 +926,7 @@ menu.hint_clock_mode Switch clock on or off
|
|||||||
menu.hint_clock_seconds Show time format with seconds
|
menu.hint_clock_seconds Show time format with seconds
|
||||||
menu.hint_clock_size Set the size of the info clock
|
menu.hint_clock_size Set the size of the info clock
|
||||||
menu.hint_clock_textcolor Configure digit colors
|
menu.hint_clock_textcolor Configure digit colors
|
||||||
|
menu.hint_color_gradient Switches color gradients for various menu items on/off
|
||||||
menu.hint_colors Configure GUI colors
|
menu.hint_colors Configure GUI colors
|
||||||
menu.hint_content_back Change GUI window background color
|
menu.hint_content_back Change GUI window background color
|
||||||
menu.hint_content_textcolor Change GUI window text color
|
menu.hint_content_textcolor Change GUI window text color
|
||||||
|
@@ -590,6 +590,11 @@ int COsdSetup::showOsdSetup()
|
|||||||
mfWindowSize->setHint("", LOCALE_MENU_HINT_WINDOW_SIZE);
|
mfWindowSize->setHint("", LOCALE_MENU_HINT_WINDOW_SIZE);
|
||||||
osd_menu->addItem(mfWindowSize);
|
osd_menu->addItem(mfWindowSize);
|
||||||
|
|
||||||
|
// color gradient
|
||||||
|
mc = new CMenuOptionChooser(LOCALE_COLOR_GRADIENT, &g_settings.gradiant, MESSAGEBOX_NO_YES_OPTIONS, MESSAGEBOX_NO_YES_OPTION_COUNT, true, this );
|
||||||
|
mc->setHint("", LOCALE_MENU_HINT_COLOR_GRADIENT);
|
||||||
|
osd_menu->addItem(mc);
|
||||||
|
|
||||||
osd_menu->addItem(GenericMenuSeparatorLine);
|
osd_menu->addItem(GenericMenuSeparatorLine);
|
||||||
|
|
||||||
// scrambled
|
// scrambled
|
||||||
@@ -1114,6 +1119,10 @@ bool COsdSetup::changeNotify(const neutrino_locale_t OptionName, void * data)
|
|||||||
g_InfoViewer->changePB();
|
g_InfoViewer->changePB();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
else if(ARE_LOCALES_EQUAL(OptionName, LOCALE_COLOR_GRADIENT)) {
|
||||||
|
osd_menu->hide();
|
||||||
|
return true;
|
||||||
|
}
|
||||||
else if(ARE_LOCALES_EQUAL(OptionName, LOCALE_COLORMENU_OSD_PRESET)) {
|
else if(ARE_LOCALES_EQUAL(OptionName, LOCALE_COLORMENU_OSD_PRESET)) {
|
||||||
int preset = * (int *) data;
|
int preset = * (int *) data;
|
||||||
printf("preset %d (setting %d)\n", preset, g_settings.screen_preset);
|
printf("preset %d (setting %d)\n", preset, g_settings.screen_preset);
|
||||||
|
@@ -296,6 +296,7 @@ typedef enum
|
|||||||
LOCALE_CLOCK_SIZE_HEIGHT,
|
LOCALE_CLOCK_SIZE_HEIGHT,
|
||||||
LOCALE_CLOCK_SWITCH_OFF,
|
LOCALE_CLOCK_SWITCH_OFF,
|
||||||
LOCALE_CLOCK_SWITCH_ON,
|
LOCALE_CLOCK_SWITCH_ON,
|
||||||
|
LOCALE_COLOR_GRADIENT,
|
||||||
LOCALE_COLORCHOOSER_ALPHA,
|
LOCALE_COLORCHOOSER_ALPHA,
|
||||||
LOCALE_COLORCHOOSER_BLUE,
|
LOCALE_COLORCHOOSER_BLUE,
|
||||||
LOCALE_COLORCHOOSER_GREEN,
|
LOCALE_COLORCHOOSER_GREEN,
|
||||||
@@ -952,6 +953,7 @@ typedef enum
|
|||||||
LOCALE_MENU_HINT_CLOCK_SECONDS,
|
LOCALE_MENU_HINT_CLOCK_SECONDS,
|
||||||
LOCALE_MENU_HINT_CLOCK_SIZE,
|
LOCALE_MENU_HINT_CLOCK_SIZE,
|
||||||
LOCALE_MENU_HINT_CLOCK_TEXTCOLOR,
|
LOCALE_MENU_HINT_CLOCK_TEXTCOLOR,
|
||||||
|
LOCALE_MENU_HINT_COLOR_GRADIENT,
|
||||||
LOCALE_MENU_HINT_COLORS,
|
LOCALE_MENU_HINT_COLORS,
|
||||||
LOCALE_MENU_HINT_CONTENT_BACK,
|
LOCALE_MENU_HINT_CONTENT_BACK,
|
||||||
LOCALE_MENU_HINT_CONTENT_TEXTCOLOR,
|
LOCALE_MENU_HINT_CONTENT_TEXTCOLOR,
|
||||||
|
@@ -296,6 +296,7 @@ const char * locale_real_names[] =
|
|||||||
"clock_size_height",
|
"clock_size_height",
|
||||||
"clock_switch_off",
|
"clock_switch_off",
|
||||||
"clock_switch_on",
|
"clock_switch_on",
|
||||||
|
"color.gradient",
|
||||||
"colorchooser.alpha",
|
"colorchooser.alpha",
|
||||||
"colorchooser.blue",
|
"colorchooser.blue",
|
||||||
"colorchooser.green",
|
"colorchooser.green",
|
||||||
@@ -952,6 +953,7 @@ const char * locale_real_names[] =
|
|||||||
"menu.hint_clock_seconds",
|
"menu.hint_clock_seconds",
|
||||||
"menu.hint_clock_size",
|
"menu.hint_clock_size",
|
||||||
"menu.hint_clock_textcolor",
|
"menu.hint_clock_textcolor",
|
||||||
|
"menu.hint_color_gradient",
|
||||||
"menu.hint_colors",
|
"menu.hint_colors",
|
||||||
"menu.hint_content_back",
|
"menu.hint_content_back",
|
||||||
"menu.hint_content_textcolor",
|
"menu.hint_content_textcolor",
|
||||||
|
Reference in New Issue
Block a user