- infoclock: add some features

* add shadow to infoclock
* rename some locals
* change default height of clock
* add option to switch bachground on/off (default off)
* add option to switch seconds on/off (default on)
This commit is contained in:
svenhoefer
2013-12-10 02:38:43 +01:00
parent 25b1b35872
commit e97e33532b
8 changed files with 46 additions and 6 deletions

View File

@@ -283,6 +283,8 @@ typedef enum
LOCALE_CI_SETTINGS,
LOCALE_CI_TIMEOUT,
LOCALE_CI_WAITING,
LOCALE_CLOCK_BACKGROUND,
LOCALE_CLOCK_SECONDS,
LOCALE_CLOCK_SIZE_HEIGHT,
LOCALE_CLOCK_SWITCH_OFF,
LOCALE_CLOCK_SWITCH_ON,
@@ -838,7 +840,9 @@ typedef enum
LOCALE_MENU_HINT_CHANNELLIST_SETUP,
LOCALE_MENU_HINT_CHANNELS,
LOCALE_MENU_HINT_CI,
LOCALE_MENU_HINT_CLOCK_BACKGROUND,
LOCALE_MENU_HINT_CLOCK_MODE,
LOCALE_MENU_HINT_CLOCK_SECONDS,
LOCALE_MENU_HINT_CLOCK_SIZE,
LOCALE_MENU_HINT_COLORS,
LOCALE_MENU_HINT_CONTENT_BACK,

View File

@@ -283,6 +283,8 @@ const char * locale_real_names[] =
"ci.settings",
"ci.timeout",
"ci.waiting",
"clock_background",
"clock_seconds",
"clock_size_height",
"clock_switch_off",
"clock_switch_on",
@@ -838,7 +840,9 @@ const char * locale_real_names[] =
"menu.hint_channellist_setup",
"menu.hint_channels",
"menu.hint_ci",
"menu.hint_clock_background",
"menu.hint_clock_mode",
"menu.hint_clock_seconds",
"menu.hint_clock_size",
"menu.hint_colors",
"menu.hint_content_back",

View File

@@ -539,6 +539,8 @@ struct SNeutrinoSettings
};
int infoClockFontSize;
int infoClockSeconds;
int infoClockBackground;
// lcdd
enum LCD_SETTINGS {