summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2013-03-10 17:06:41 +0100
committerlouis <louis.braun@gmx.de>2013-03-10 17:06:41 +0100
commitf4e23b8daa1d959bbb9ef5a8d4253412a15ff013 (patch)
treeb190021a6361affedb5250cedfc4ab57470d1194 /config.c
parent3d4c1d84b7cd2ca23e3fda446a30b55a1d4878d9 (diff)
downloadskin-nopacity-f4e23b8daa1d959bbb9ef5a8d4253412a15ff013.tar.gz
skin-nopacity-f4e23b8daa1d959bbb9ef5a8d4253412a15ff013.tar.bz2
Position of channel logos in channel display now configurable
Diffstat (limited to 'config.c')
-rw-r--r--config.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.c b/config.c
index 7d0c9dc..605ca93 100644
--- a/config.c
+++ b/config.c
@@ -13,6 +13,7 @@ cNopacityConfig::cNopacityConfig() {
channelBorderVertical = 15;
channelBorderBottom = 15;
channelFadeTime = 300; // ms
+ logoPosition = 1;
logoWidth = 260;
logoHeight = 200;
logoExtension = "png";
@@ -200,6 +201,7 @@ bool cNopacityConfig::SetupParse(const char *Name, const char *Value) {
else if (strcmp(Name, "channelHeight") == 0) channelHeight = atoi(Value);
else if (strcmp(Name, "channelBorderVertical") == 0) channelBorderVertical = atoi(Value);
else if (strcmp(Name, "channelBorderBottom") == 0) channelBorderBottom = atoi(Value);
+ else if (strcmp(Name, "logoPosition") == 0) logoPosition = atoi(Value);
else if (strcmp(Name, "logoWidth") == 0) logoWidth = atoi(Value);
else if (strcmp(Name, "logoHeight") == 0) logoHeight = atoi(Value);
else if (strcmp(Name, "logoBorder") == 0) logoBorder = atoi(Value);