From c562d549bc6274265991eec634f99b1e311323df Mon Sep 17 00:00:00 2001 From: Andreas Mair Date: Mon, 2 Apr 2007 11:38:08 +0200 Subject: 2007-04-02: Version 0.0.4 - Changed text color in themes for green and yellow buttons. - Fixed false colors problem after theme changes. - Updated Finnish translation. (Submitted by Rolf Ahrenberg) - Updated French translation. (Submitted by pat @vdr-portal.de) - Do not overwrite status messages in mainmenu with list items. - New setup option that replaces SKINENIGMA_FULL_CHANNELINFO_TITLE define. - Disable logos/symbols/flags if 4bpp single area is configured in setup. (Will eventually replace SKINENIGMA_NO_MENULOGO define) - Added support for mailbox plugin; shows mail symbol in channel info (Based on patch by triple955 @vdr-portal.de). - Introduced new HAVE_IMAGEMAGICK define to enable non-xpm images in event's and recording's details. - Fixed "blinking" date in channel info (Reported by several people). - Changed background for recording symbol in channel info to white (Suggested by gromit @vdr-portal.de). - Long channel group names are no longer drawn at the right side of the date (Reported by several people). - New setup option for displaying a recording's size and use size.vdr (Suggested by vejoun @vdr-portal.de). - Show stop time of running timers in info area in main menu. (Suggested by viking @vdr-portal.de) - Updated Russian translation. (Submitted by neptunvasja @vdr-portal.de) - New defines "ListProgressBarGap" & "ListProgressBarBorder" to customize the progressbar in lists: * "ListProgressBarGap" sets the gap above/below the progressbar (relative to the font's height). * "ListProgressBarBorder" sets the border's width. - Added fallback to "classic" skin if any of the OSD menus fails to open. - Fix possible NULL pointer accesses. - Fixed compiler error with certain gcc versions. - Minor bugfixes and graphical changes. --- config.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'config.h') diff --git a/config.h b/config.h index a79da0c..bce7357 100644 --- a/config.h +++ b/config.h @@ -8,15 +8,26 @@ #ifndef __SKINENIGMA_CONFIG_H #define __SKINENIGMA_CONFIG_H +#ifdef HAVE_IMAGEMAGICK +#define NUM_IMAGEEXTENSIONTEXTS 3 +extern const char *imageExtensionTexts[NUM_IMAGEEXTENSIONTEXTS]; +#else +#define NUM_IMAGEEXTENSIONTEXTS 0 +#endif + struct cEnigmaConfig { private: char logoDir[255]; + char strImagesDir[255]; public: cEnigmaConfig(); ~cEnigmaConfig(); void SetLogoDir(const char *logodirP); char *GetLogoDir(void) { return logoDir; } + void SetImagesDir(const char *dir); + char *GetImagesDir(void) {return strImagesDir; } + const char *GetImageExtension(void); int showAuxInfo; int showLogo; int showVps; @@ -34,6 +45,14 @@ public: int numReruns; int useSubtitleRerun; int showTimerConflicts; + int showRecSize; + int showImages; + int resizeImages; + int showMailIcon; + int imageWidth; + int imageHeight; + int imageExtension; + int fullTitleWidth; }; extern cEnigmaConfig EnigmaConfig; -- cgit v1.2.3