From 2ced4d35c533969fdb0ee6fa963a2fef26c50b79 Mon Sep 17 00:00:00 2001 From: Andreas Mair Date: Wed, 14 Feb 2007 12:24:25 +0100 Subject: 2007-02-14: Version 0.0.1 - Initial release. --- logo.h | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 logo.h (limited to 'logo.h') diff --git a/logo.h b/logo.h new file mode 100644 index 0000000..d331c1d --- /dev/null +++ b/logo.h @@ -0,0 +1,35 @@ +/* + * logo.h: The 'EnigmaNG' VDR skin + * + * See the README file for copyright information and how to reach the author. + * + */ + +#ifndef __SKINENIGMA_LOGO_H +#define __SKINENIGMA_LOGO_H + +#include +#include +#include + +#define ChannelLogoWidth 80 +#define ChannelLogoHeight 80 + +class cEnigmaLogoCache { +private: + unsigned int cacheSizeM; + cBitmap *bitmapM; + std::map cacheMapM; + bool LoadXpm(const char *fileNameP); +public: + cEnigmaLogoCache(unsigned int cacheSizeP); + ~cEnigmaLogoCache(); + bool Resize(unsigned int cacheSizeP); + bool Load(const char *fileNameP); + cBitmap& Get(void); + bool Flush(void); +}; + +extern cEnigmaLogoCache EnigmaLogoCache; + +#endif // __SKINENIGMA_LOGO_H -- cgit v1.2.3