diff options
author | louis <louis.braun@gmx.de> | 2013-05-08 18:31:01 +0200 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2013-05-08 18:31:01 +0200 |
commit | ec606cea46a25009182b03eb9bbd53bea362bdbd (patch) | |
tree | 4bf273553e9bb826dd57c566e97cabc47ec2f008 /config.c | |
parent | cdcbf602021a64393669a28fbd7de1c7ddd23fa1 (diff) | |
download | skin-nopacity-ec606cea46a25009182b03eb9bbd53bea362bdbd.tar.gz skin-nopacity-ec606cea46a25009182b03eb9bbd53bea362bdbd.tar.bz2 |
Introduced plain style without any blending effects
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -21,6 +21,7 @@ cNopacityConfig::cNopacityConfig() { logoExtension = "png"; logoBorder = 15; backgroundStyle = 0; + roundedCornersChannel = 1; displaySignalStrength = 1; displayPrevNextChannelGroup = 1; fontChannelHeaderSize = 0; @@ -162,6 +163,8 @@ cNopacityConfig::~cNopacityConfig() { } void cNopacityConfig::setDynamicValues() { +esyslog("nopacity: col blending %x, do Blending %x", Theme.Color(clrDoBlending), CLR_BLENDING_ON); + doBlending = (Theme.Color(clrDoBlending) == CLR_BLENDING_ON)?true:false; if (fontIndex == 0) { fontName = strdup(fontDefaultName); } else { @@ -300,6 +303,7 @@ bool cNopacityConfig::SetupParse(const char *Name, const char *Value) { else if (strcmp(Name, "logoHeight") == 0) logoHeight = atoi(Value); else if (strcmp(Name, "logoBorder") == 0) logoBorder = atoi(Value); else if (strcmp(Name, "backgroundStyle") == 0) backgroundStyle = atoi(Value); + else if (strcmp(Name, "roundedCornersChannel") == 0) roundedCornersChannel = atoi(Value); else if (strcmp(Name, "displaySignalStrength") == 0) displaySignalStrength = atoi(Value); else if (strcmp(Name, "displayPrevNextChannelGroup") == 0) displayPrevNextChannelGroup = atoi(Value); else if (strcmp(Name, "fontChannelHeaderSize") == 0) fontChannelHeaderSize = atoi(Value); |