diff options
author | louis <louis.braun@gmx.de> | 2015-05-10 12:55:23 +0200 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2015-05-10 12:55:23 +0200 |
commit | 28743412fed4d9d59100c38f4def327122ed0e2c (patch) | |
tree | abfca0011e69b0e39973de807b2b3e99ff7936bb /setup.c | |
parent | c5edc10fbd57d17e774a07b659996bdffe16242c (diff) | |
download | vdr-plugin-skindesigner-28743412fed4d9d59100c38f4def327122ed0e2c.tar.gz vdr-plugin-skindesigner-28743412fed4d9d59100c38f4def327122ed0e2c.tar.bz2 |
expanded shifting features
Diffstat (limited to 'setup.c')
-rw-r--r-- | setup.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -9,6 +9,7 @@ cSkinDesignerSetup::cSkinDesignerSetup() { rerunDistance = config.rerunDistance; rerunMaxChannel = config.rerunMaxChannel; blockFlush = config.blockFlush; + framesPerSecond = config.framesPerSecond; menuDisplayStyle[0] = tr("after one another"); menuDisplayStyle[1] = tr("at one go"); Setup(); @@ -65,6 +66,7 @@ void cSkinDesignerSetup::Store(void) { config.rerunDistance = rerunDistance; config.rerunMaxChannel = rerunMaxChannel; config.blockFlush = blockFlush; + config.framesPerSecond = framesPerSecond; config.InitSetupIterator(); cSkinSetup *skinSetup = NULL; @@ -88,6 +90,7 @@ void cSkinDesignerSetup::Store(void) { SetupStore("RerunDistance", rerunDistance); SetupStore("RerunMaxChannel", rerunMaxChannel); SetupStore("BlockFlush", blockFlush); + SetupStore("FramesPerSecond", framesPerSecond); } cOsdItem *cSkinDesignerSetup::InfoItem(const char *label) { @@ -101,6 +104,7 @@ void cSkinDesignerSetup::PluginSetup(void) { Add(InfoItem(tr("Plugin Setup"))); Add(new cMenuEditStraItem(tr("Menu Item display method"), &blockFlush, 2, menuDisplayStyle)); + Add(new cMenuEditIntItem(tr("Frames per Second (fading and shifting)"), &framesPerSecond, 10, 100)); Add(InfoItem(tr("Reruns"))); Add(new cMenuEditIntItem(tr("Maximum number of reruns to display"), &rerunAmount, 1, 100)); |