diff options
author | Andreas Mair <amair.sob@googlemail.com> | 2007-06-11 12:57:02 +0200 |
---|---|---|
committer | Andreas Mair <amair.sob@googlemail.com> | 2007-06-11 12:57:02 +0200 |
commit | 24439e72e8b0d13bccce21e19a28d70d1bd98760 (patch) | |
tree | 40114ac9918d904e640900e3845f65243a2319ac /logo.h | |
parent | c562d549bc6274265991eec634f99b1e311323df (diff) | |
download | vdr-plugin-skinenigmang-0.0.5rc.tar.gz vdr-plugin-skinenigmang-0.0.5rc.tar.bz2 |
2007-06-11: Version 0.0.5rcv0.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.
Diffstat (limited to 'logo.h')
-rw-r--r-- | logo.h | 35 |
1 files changed, 19 insertions, 16 deletions
@@ -1,5 +1,5 @@ /* - * logo.h: The 'EnigmaNG' VDR skin + * logo.h: 'EnigmaNG' skin for the Video Disk Recorder * * See the README file for copyright information and how to reach the author. * @@ -8,17 +8,18 @@ #ifndef __SKINENIGMA_LOGO_H #define __SKINENIGMA_LOGO_H +#include "common.h" + +#ifdef HAVE_IMAGEMAGICK +#include "bitmap.h" +#endif + #include <map> -#include <string> #include <vdr/channels.h> #include <vdr/epg.h> #include <vdr/recording.h> #include <vdr/osd.h> -#ifdef HAVE_IMAGEMAGICK -#include "bitmap.h" -#endif - // size of channel logos #define ChannelLogoWidth 80 #define ChannelLogoHeight 80 @@ -31,26 +32,26 @@ class cEnigmaLogoCache { private: - bool fImageRequested; + bool fImageRequested; unsigned int cacheSizeM; cBitmap *bitmapM; #ifdef HAVE_IMAGEMAGICK - cOSDImageBitmap image; - cBitmap *bmpImage; + cOSDImageBitmap image; + cBitmap *bmpImage; #endif std::map<std::string, cBitmap*> cacheMapM; - bool LoadImage(const char *fileNameP, int w, int h, int c); + bool DrawImage(const char *fileNameP, int x, int y, int w, int h, int c, cBitmap *bmp); bool LoadXpm(const char *fileNameP, int w, int h); - bool Load(const char *fileNameP, int w, int h); + bool Load(const char *fileNameP, int w, int h); public: cEnigmaLogoCache(unsigned int cacheSizeP); ~cEnigmaLogoCache(); bool Resize(unsigned int cacheSizeP); - bool LoadEventImage(const cEvent *Event, int w, int h, int c); - bool LoadRecordingImage(const cRecording *Recording, int w, int h, int c); - bool LoadChannelLogo(const cChannel *Channel); - bool LoadSymbol(const char *fileNameP); - bool LoadIcon(const char *fileNameP); + bool DrawEventImage(const cEvent *Event, int x, int y, int w, int h, int c, cBitmap *bmp); + bool DrawRecordingImage(const cRecording *Recording, int x, int y, int w, int h, int c, cBitmap *bmp); + bool LoadChannelLogo(const cChannel *Channel); + bool LoadSymbol(const char *fileNameP); + bool LoadIcon(const char *fileNameP); cBitmap& Get(void); bool Flush(void); }; @@ -58,3 +59,5 @@ public: extern cEnigmaLogoCache EnigmaLogoCache; #endif // __SKINENIGMA_LOGO_H + +// vim:et:sw=2:ts=2: |