summaryrefslogtreecommitdiff
path: root/imagecache.h
diff options
context:
space:
mode:
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);