diff options
author | Andreas Mair <amair.sob@googlemail.com> | 2010-04-05 12:31:58 +0200 |
---|---|---|
committer | Andreas Mair <amair.sob@googlemail.com> | 2010-04-05 12:31:58 +0200 |
commit | eebfdf1a3d737db58e6d2d3c6945584dd5e5054f (patch) | |
tree | 6a28dcd5ab8c85a14a8957f221d8ef0a5680a7fc /skinenigmang.c | |
parent | 95977e11c0a5c1170351f2fafe400519d7b1086b (diff) | |
download | vdr-plugin-skinenigmang-0.1.1.tar.gz vdr-plugin-skinenigmang-0.1.1.tar.bz2 |
2010-04-05: Version 0.1.1v0.1.1
- Moved "General / Show progressbar" to "Logos & Symbols / Show progressbar in lists".
- Fixed gcc 4.3 compiler warnings.
- Show "Parental Rating" and "Contents" in EPG and recording details (requires at least VDR 1.7.11).
- Show estimated bitrate and recording format (TS/PES) in recording's details.
- Show subtitle tracks in EPG and recording details.
- Changed defaults for setup options.
- Don't define CLEAR_BUG_WORKAROUND by default.
- Added new setup option "Colored status symbols in EPG details".
- Added new theme "bgw" (Submitted by jlacvdr @gmail.com).
- Added new setup option "Round corners".
- Display cut length and size of recordings in recording's details (based on skinelchi-0.2.1).
- Fixed calculation of channel info OSD areas.
- Check for valid OSD width and height and font size and width.
- Added VDR's default fonts to the TrueTypeFont selector.
- Unselectable rows in menu OSD starting with "---" will be formated as headlines if "Show symbols in lists" is set.
- New "elapsed/remaining" option for "Show remaining/elapsed time" setting.
- New "active only" option for "Show status symbols" setting.
- Added setup option for minimal info area width.
- Restructured setup menu.
Diffstat (limited to 'skinenigmang.c')
-rw-r--r-- | skinenigmang.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/skinenigmang.c b/skinenigmang.c index c623f5c..3500766 100644 --- a/skinenigmang.c +++ b/skinenigmang.c @@ -20,7 +20,7 @@ #endif -static const char VERSION[] = "0.1.0"; +static const char VERSION[] = "0.1.1"; static const char DESCRIPTION[] = trNOOP("EnigmaNG skin"); class cPluginSkinEnigma : public cPlugin { @@ -127,8 +127,7 @@ bool cPluginSkinEnigma::Start(void) if (!fImagesDirSet) { // set epgimages directory char *dir = NULL; - asprintf(&dir, "%s/epgimages", cPlugin::ConfigDirectory(PLUGIN_NAME_I18N)); - if (dir) { + if (-1 != asprintf(&dir, "%s/epgimages", cPlugin::ConfigDirectory(PLUGIN_NAME_I18N))) { EnigmaConfig.SetImagesDir(dir); fImagesDirSet = true; free(dir); @@ -181,8 +180,10 @@ bool cPluginSkinEnigma::SetupParse(const char *OptionName, const char *Value) else if (!strcasecmp(OptionName, "ShowSymbolsReplay")) EnigmaConfig.showSymbolsReplay = atoi(Value); else if (!strcasecmp(OptionName, "ShowSymbolsMsgs")) EnigmaConfig.showSymbolsMsgs = atoi(Value); else if (!strcasecmp(OptionName, "ShowSymbolsAudio")) EnigmaConfig.showSymbolsAudio = atoi(Value); + else if (!strcasecmp(OptionName, "ShowColSymbolsDetails")) EnigmaConfig.showColSymbolsDetails = atoi(Value); else if (!strcasecmp(OptionName, "ShowLogo")) EnigmaConfig.showLogo = atoi(Value); else if (!strcasecmp(OptionName, "ShowInfo")) EnigmaConfig.showInfo = atoi(Value); + else if (!strcasecmp(OptionName, "MinInfoWidth")) EnigmaConfig.minInfoWidth = atoi(Value); else if (!strcasecmp(OptionName, "ShowMarker")) EnigmaConfig.showMarker = atoi(Value); else if (!strcasecmp(OptionName, "ShowVPS")) EnigmaConfig.showVps = atoi(Value); else if (!strcasecmp(OptionName, "ShowFlags")) EnigmaConfig.showFlags = atoi(Value); @@ -251,6 +252,7 @@ bool cPluginSkinEnigma::SetupParse(const char *OptionName, const char *Value) else if (!strcasecmp(OptionName, "ShowScrollbar")) EnigmaConfig.showScrollbar = atoi(Value); else if (!strcasecmp(OptionName, "ShowSignalInfo")) EnigmaConfig.showSignalInfo = atoi(Value); else if (!strcasecmp(OptionName, "ShowCaMode")) EnigmaConfig.showCaMode = atoi(Value); + else if (!strcasecmp(OptionName, "DrawRoundCorners")) EnigmaConfig.drawRoundCorners = atoi(Value); else return false; return true; |