summaryrefslogtreecommitdiff
path: root/imagecache.h
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2013-12-29 18:13:45 +0100
committerlouis <louis.braun@gmx.de>2013-12-29 18:13:45 +0100
commiteede61ade5b226480ebbe1e29235df58170a24bd (patch)
tree72098ad56f9d6902eeee75bc5fb4d5d02eb84340 /imagecache.h
parent06ed8b3567bee43f47659b17baf084fed352ddb4 (diff)
downloadvdr-plugin-tvguide-eede61ade5b226480ebbe1e29235df58170a24bd.tar.gz
vdr-plugin-tvguide-eede61ade5b226480ebbe1e29235df58170a24bd.tar.bz2
Added possibility to search for reruns in case of a timer conflict
Diffstat (limited to 'imagecache.h')
-rw-r--r--imagecache.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/imagecache.h b/imagecache.h
index efe41f3..f8aeac5 100644
--- a/imagecache.h
+++ b/imagecache.h
@@ -12,6 +12,7 @@ enum eCacheType {
ctGrid,
ctLogo,
ctChannelGroup,
+ ctIcon,
};
enum eOsdElementType {
@@ -41,6 +42,7 @@ public:
cImage *GetGrid(int width, int height, bool active);
cImage *GetChannelGroup(int width, int height);
cImage *GetLogo(const cChannel *channel);
+ cImage *GetIcon(std::string name, int width, int height);
std::string GetCacheSize(eCacheType type);
void Clear(void);
private:
@@ -68,6 +70,7 @@ private:
std::map<std::string, cImage*> gridCache;
std::map<std::string, cImage*> groupsCache;
std::map<std::string, cImage*> logoCache;
+ std::map<std::string, cImage*> iconCache;
void CreateOsdIconCache(void);
void PrepareGridIconCache(void);
void CreateGridIconCache(void);