summaryrefslogtreecommitdiff
path: root/libcore/imagecache.h
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2014-12-06 10:13:06 +0100
committerlouis <louis.braun@gmx.de>2014-12-06 10:13:06 +0100
commit974ca74366af7ab022c1fb79c4d36e1e0b4e4d14 (patch)
treec45276da41b4117fa920c2fbebcc1ee8b50efaaa /libcore/imagecache.h
parent7b538a7be703c70625b38644dfc8d6c04f11af2c (diff)
parent28fd2f5e1a5c88a91caeb4c7bd363dbaffad3789 (diff)
downloadvdr-plugin-skindesigner-974ca74366af7ab022c1fb79c4d36e1e0b4e4d14.tar.gz
vdr-plugin-skindesigner-974ca74366af7ab022c1fb79c4d36e1e0b4e4d14.tar.bz2
Merge branch 'master' of projects.vdr-developer.org:vdr-plugin-skindesigner
Diffstat (limited to 'libcore/imagecache.h')
-rw-r--r--libcore/imagecache.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libcore/imagecache.h b/libcore/imagecache.h
index 95148b2..4a26710 100644
--- a/libcore/imagecache.h
+++ b/libcore/imagecache.h
@@ -30,6 +30,9 @@ public:
//skinparts
void CacheSkinpart(string path, int width, int height);
cImage *GetSkinpart(string name, int width, int height);
+ //Cairo Images
+ void CacheEllipse(int id, int width, int height, tColor color, int quadrant);
+ cImage *GetEllipse(int id, int width, int height, tColor color, int quadrant);
//helpers
void Clear(void);
void Debug(bool full);
@@ -46,6 +49,7 @@ private:
map<string, cImage*> iconCache;
map<string, cImage*> channelLogoCache;
map<string, cImage*> skinPartsCache;
+ map<int, cImage*> cairoImageCache;
bool LoadIcon(eImageType type, string name);
bool LoadLogo(const cChannel *channel);
bool LoadSeparatorLogo(string name);