summaryrefslogtreecommitdiff
path: root/Config.h
diff options
context:
space:
mode:
Diffstat (limited to 'Config.h')
-rw-r--r--Config.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/Config.h b/Config.h
index 39ee8ad..d123864 100644
--- a/Config.h
+++ b/Config.h
@@ -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);