From f4e23b8daa1d959bbb9ef5a8d4253412a15ff013 Mon Sep 17 00:00:00 2001 From: louis Date: Sun, 10 Mar 2013 17:06:41 +0100 Subject: Position of channel logos in channel display now configurable --- config.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config.c') 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); -- cgit v1.2.3