diff options
author | louis <louis.braun@gmx.de> | 2014-10-03 15:54:23 +0200 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2014-10-03 15:54:23 +0200 |
commit | 91a0681ab8b2752b5ebd7cfebdd1456708d6ed69 (patch) | |
tree | 24c0d8bb48829882bdec0ec7717cc0cba91551c6 /config.h | |
parent | 7766972eece16b450621d0e5c72f35733af5b238 (diff) | |
download | vdr-plugin-skindesigner-91a0681ab8b2752b5ebd7cfebdd1456708d6ed69.tar.gz vdr-plugin-skindesigner-91a0681ab8b2752b5ebd7cfebdd1456708d6ed69.tar.bz2 |
changed skin handling and added themes support for skins
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -15,17 +15,23 @@ private: cString CheckSlashAtEnd(std::string path); bool epgImagePathSet; bool skinPathSet; + bool logoPathSet; public: cDesignerConfig(); ~cDesignerConfig(); bool SetupParse(const char *Name, const char *Value); + void SetPathes(void); void SetSkinPath(cString path); + void SetLogoPath(cString path); void SetEpgImagePath(cString path); - void SetPathes(void); + void ReadSkins(void); + void InitSkinIterator(void) { skinIterator = skins.begin(); }; + bool GetSkin(string &skin); void SetChannelLogoSize(void); void CheckDecimalPoint(void); cString logoExtension; cString skinPath; + cString logoPath; cString epgImagePath; int numLogosPerSizeInitial; int limitLogoCache; @@ -35,12 +41,14 @@ public: int logoHeight; bool replaceDecPoint; char decPoint; + vector<string> skins; + vector<string>::iterator skinIterator; }; #ifdef DEFINE_CONFIG bool firstDisplay = true; cDesignerConfig config; - cFontManager *fontManager; - cImageCache *imgCache; + cFontManager *fontManager = NULL; + cImageCache *imgCache = NULL; cTheme Theme; #else extern bool firstDisplay; |