diff options
author | chriszero <zerov83@gmail.com> | 2015-04-05 22:33:05 +0200 |
---|---|---|
committer | chriszero <zerov83@gmail.com> | 2015-04-05 22:33:05 +0200 |
commit | f3d792a866ba602458d5d6c521bafa66e56a5528 (patch) | |
tree | 8a0b9c52ca97635cbd682468f629784d0d5b2d6c /Config.h | |
parent | f7f62b7ff1f12c1563a04560ad87d2f92a3e0af9 (diff) | |
download | vdr-plugin-plex-f3d792a866ba602458d5d6c521bafa66e56a5528.tar.gz vdr-plugin-plex-f3d792a866ba602458d5d6c521bafa66e56a5528.tar.bz2 |
Fixes some concurency bugs
Diffstat (limited to 'Config.h')
-rw-r--r-- | Config.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -33,6 +33,8 @@ public: bool UseCustomTranscodeProfile; bool UsePlexAccount; bool UseConfiguredServer; + int GridColumns; + int GridRows; std::string GetUUID(); void SetUUID(const char* uuid); @@ -40,6 +42,12 @@ public: std::string GetLanguage(); std::string GetUsername(); std::string GetPassword(); + int ThumbHeight() { return 1080 / GridRows; }; + int ThumbWidth() { return 1920 / GridColumns; }; + int ArtHeight() { return 1080; }; + int ArtWidth() { return 1920; }; + int BannerHeight() { return 1080 / 2; }; + int BannerWidth() { return 1920 / 2; }; private: @@ -68,6 +76,8 @@ class cMyMenuSetupPage:public cMenuSetupPage int HideMainMenuEntry; int UseCustomTranscodeProfile; int UsePlexAccount; + int GridColumns; + int GridRows; virtual void Store(void); |