summaryrefslogtreecommitdiff
path: root/skinenigmang.c
diff options
context:
space:
mode:
authorAndreas Mair <amair.sob@googlemail.com>2007-02-19 12:42:15 +0100
committerAndreas Mair <amair.sob@googlemail.com>2007-02-19 12:42:15 +0100
commitb1fa489fdbd06712add00390966defbe9a96232a (patch)
treea5d1efbbfe4f22e12bea081454502828682be134 /skinenigmang.c
parent2ced4d35c533969fdb0ee6fa963a2fef26c50b79 (diff)
downloadvdr-plugin-skinenigmang-b1fa489fdbd06712add00390966defbe9a96232a.tar.gz
vdr-plugin-skinenigmang-b1fa489fdbd06712add00390966defbe9a96232a.tar.bz2
2007-02-19: Version 0.0.2v0.0.2
- Fixed problems in replay OSD when not using small font (Reported by several people). - Only display reruns of current event in EPG info if there are more than two reruns. - New setup option to enable/disable trying a single 8bpp OSD area. - Completed French translation (Submitted by Patrice Staudt). - Completed Finnish translation (Patch by rofafor @vdr-portal.de). - Changed defines: HAVE_EPGSEARCH to SKINENIGMA_HAVE_EPGSEARCH and NO_MENULOGO to SKINENIGMA_NO_MENULOGO (Patch by rofafor @vdr-portal.de). - Fixed crash if loading channel logos by channel id (Reported by zulu @vdr-portal.de). - Fixed gcc warning (Reported by zulu @vdr-portal.de). - Renamed theme WomansLike to WomenLike. - Some smaller fixes.
Diffstat (limited to 'skinenigmang.c')
-rw-r--r--skinenigmang.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/skinenigmang.c b/skinenigmang.c
index e2a6728..f4a1a25 100644
--- a/skinenigmang.c
+++ b/skinenigmang.c
@@ -18,7 +18,7 @@
#error "VDR-1.4.0 API version or greater is required!"
#endif
-static const char VERSION[] = "0.0.1";
+static const char VERSION[] = "0.0.2";
static const char DESCRIPTION[] = "EnigmaNG skin";
class cPluginSkinEnigma : public cPlugin {
@@ -139,6 +139,8 @@ bool cPluginSkinEnigma::SetupParse(const char *Name, const char *Value)
{
// parse your own setup parameters and store their values.
debug("cPluginSkinEnigma::SetupParse()\n");
+ if (!strcasecmp(Name, "TrySingleArea"))
+ EnigmaConfig.singleArea = atoi(Value);
if (!strcasecmp(Name, "ShowAuxInfo"))
EnigmaConfig.showAuxInfo = atoi(Value);
else if (!strcasecmp(Name, "ShowProgressBar"))
@@ -201,6 +203,8 @@ void cPluginSkinEnigmaSetup::Setup(void)
Clear();
+ Add(new cMenuEditBoolItem(tr("One area (if possible)"), &data.singleArea,
+ tr("no"), tr("yes")));
Add(new cMenuEditBoolItem(tr("Show auxiliary information"), &data.showAuxInfo,
tr("top"), tr("bottom")));
Add(new cMenuEditBoolItem(tr("Show remaining/elapsed time"), &data.showRemaining,
@@ -237,6 +241,7 @@ void cPluginSkinEnigmaSetup::Store(void)
// store setup data
debug("cPluginSkinEnigmaSetup::Store()\n");
EnigmaConfig = data;
+ SetupStore("TrySingleArea", EnigmaConfig.singleArea);
SetupStore("ShowAuxInfo", EnigmaConfig.showAuxInfo);
SetupStore("ShowRemaining", EnigmaConfig.showRemaining);
SetupStore("ShowProgressBar", EnigmaConfig.showProgressbar);