summaryrefslogtreecommitdiff
path: root/setup.c
diff options
context:
space:
mode:
authorMartin Schirrmacher <vdr.skinflatplus@schirrmacher.eu>2014-08-03 22:19:06 +0200
committerMartin Schirrmacher <vdr.skinflatplus@schirrmacher.eu>2014-08-03 22:19:06 +0200
commit295552e49b7a5b61b6f3e5064524fe626e757380 (patch)
treea7cdf08bdfb1c403d128832a15a727b80d21c98b /setup.c
parent2ad9f95b7b23c222fff5fc6566d711e2f8d4f595 (diff)
downloadskin-flatplus-295552e49b7a5b61b6f3e5064524fe626e757380.tar.gz
skin-flatplus-295552e49b7a5b61b6f3e5064524fe626e757380.tar.bz2
add new option TopBar clock font scale, add new option Draw small seconds, add new option Show video/audio bitrate, fix wrong margin of folder icon in recordings menu
Diffstat (limited to 'setup.c')
-rw-r--r--setup.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/setup.c b/setup.c
index bf253e84..c6f50627 100644
--- a/setup.c
+++ b/setup.c
@@ -253,6 +253,9 @@ void cFlatSetup::Store(void) {
SetupStore("ScrollerType", Config.ScrollerType);
SetupStore("DiskUsageShort", Config.DiskUsageShort);
SetupStore("DiskUsageFree", Config.DiskUsageFree);
+ SetupStore("TopBarFontClockScale", dtoa(Config.TopBarFontClockScale));
+ SetupStore("RecordingSmallSecs", Config.RecordingSmallSecs);
+ SetupStore("ChannelBitrateShow", Config.ChannelBitrateShow);
Config.Init();
}
@@ -300,6 +303,7 @@ void cFlatSetupGeneral::Setup(void) {
Add(new cMenuEditPrcItem(tr("TopBar font size"), &SetupConfig->TopBarFontSize, 0.01, 0.2, 1));
Add(new cMenuEditBoolItem(tr("TopBar show recording"), &SetupConfig->TopBarRecordingShow));
Add(new cMenuEditBoolItem(tr("TopBar show conflicts"), &SetupConfig->TopBarRecConflictsShow));
+ Add(new cMenuEditPrcItem(tr("TopBar clock font scale"), &SetupConfig->TopBarFontClockScale, 0.005, 0.02, 1));
Add(new cMenuEditIntItem(tr("Conflicts min value for red"), &SetupConfig->TopBarRecConflictsHigh));
Add(new cMenuEditIntItem(tr("Message bottom offset"), &SetupConfig->MessageOffset));
Add(new cMenuEditStraItem(tr("Message color position"), &SetupConfig->MessageColorPosition, MessageColorPositions.Size(), &MessageColorPositions[0]));
@@ -399,6 +403,7 @@ void cFlatSetupChannelInfo::Setup(void) {
Add(new cMenuEditBoolItem(tr("Colors for signal quality"), &SetupConfig->SignalQualityUseColors));
Add(new cMenuEditBoolItem(tr("Show resolution & aspect"), &SetupConfig->ChannelResolutionAspectShow));
Add(new cMenuEditBoolItem(tr("Show format (hd/sd)"), &SetupConfig->ChannelFormatShow));
+ Add(new cMenuEditBoolItem(tr("Show video/audio bitrate"), &SetupConfig->ChannelBitrateShow));
Add(new cMenuEditBoolItem(tr("Simple aspect & format"), &SetupConfig->ChannelSimpleAspectFormat));
Add(new cMenuEditBoolItem(tr("Channelinfo border by decor-file?"), &SetupConfig->decorBorderChannelByTheme));
@@ -598,6 +603,7 @@ void cFlatSetupReplay::Setup(void) {
Add(new cMenuEditBoolItem(tr("Show resolution & aspect"), &SetupConfig->RecordingResolutionAspectShow));
Add(new cMenuEditBoolItem(tr("Show format (hd/sd)"), &SetupConfig->RecordingFormatShow));
Add(new cMenuEditBoolItem(tr("Simple aspect & format"), &SetupConfig->RecordingSimpleAspectFormat));
+ Add(new cMenuEditBoolItem(tr("Draw small seconds"), &SetupConfig->RecordingSmallSecs));
if( SetupConfig->decorBorderReplayByTheme ) {
cString type = cString::sprintf("%s:\t%s", tr("Replay border type"), Bordertypes[SetupConfig->decorBorderReplayTypeTheme]);