From 24439e72e8b0d13bccce21e19a28d70d1bd98760 Mon Sep 17 00:00:00 2001 From: Andreas Mair Date: Mon, 11 Jun 2007 12:57:02 +0200 Subject: 2007-06-11: Version 0.0.5rc - Fixed possible crash in recording's details. - Added MoBuntu theme (Submitted by Morone @vdr-portal.de). - Added Blue, Blue2, Blue3 and Coolblue theme (Submitted by Uwe @vdr-portal.de). - Added support for TrueTypeFonts (based on graphtft and text2skin plugins). - Added support for new epgsearch tags. - Updated French translation. (Submitted by pat @vdr-portal.de) - Changed size calculation for scrollbars. - Add setup options to individually set the fonts to use. See README for details. - Set used colors for every area in menu OSD when using multiple areas. - Reworked multiple areas mode in menu OSD. - Do not disable logos/symbols/flags if 4bpp single area is configured in setup. - Replaced setup options "One area (if possible)" and "Bpp in single area" by option "Try 8bpp single areas". - Unified appearance of error/info/status messages in all OSDs. - Added setup option to selectively enable scrolling text. - Added setup option to selectively enable logos in the different OSDs. - Added text effects (e.g. scrolling and blinking) for selected text. - Removed clrMenuHighlight, clrMessageBorder, clrMenuItemCurrentFg, clrMenuEventTitle, clrMenuEventShortText, clrMenuScrollbarTotal and clrMenuScrollbarShown in themes. - Fixed height of title/subtitle box in EPG & recording details. - Recognize mediamanager plugin in mainmenu logos. - Don't cut info line in EPG & recording details at logo area's left edge. - Updated Russian translation (Submitted by neptunvasja @vdr-portal.de). - Added Dutch translation (Submitted by dorpsgek @vdr-portal.de). - Various bugfixes and graphical changes. --- tools.h | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) (limited to 'tools.h') diff --git a/tools.h b/tools.h index 7c8ff13..d19d785 100644 --- a/tools.h +++ b/tools.h @@ -1,5 +1,5 @@ /* - * tools.h: The 'EnigmaNG' VDR skin + * tools.h: 'EnigmaNG' skin for the Video Disk Recorder * * See the README file for copyright information and how to reach the author. * @@ -8,9 +8,20 @@ #ifndef __SKINENIGMA_TOOLS_H #define __SKINENIGMA_TOOLS_H -#include +#include "common.h" -const char *parseaux(const char *str); +#ifdef min +#undef min +#endif +#define min(x, y) (x < y ? x : y) + +#ifdef max +#undef max +#endif +#define max(x, y) (x > y ? x : y) + +std::string parseaux(const char *str); bool ischaracters(const char *aux, const char *mask); #endif // __SKINENIGMA_TOOLS_H +// vim:et:sw=2:ts=2: -- cgit v1.2.3