summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2013-02-12 16:37:59 +0100
committerlouis <louis.braun@gmx.de>2013-02-12 16:37:59 +0100
commit702f4d7795fa97d0cb716c7933f83225e85a35e0 (patch)
treee70b222b47e327ec46b3a332bb3043a315dd70b4 /config.c
parentf04a7865cdab7a6a8d0aa5ec2f062e16bcd27e8e (diff)
downloadskin-nopacity-702f4d7795fa97d0cb716c7933f83225e85a35e0.tar.gz
skin-nopacity-702f4d7795fa97d0cb716c7933f83225e85a35e0.tar.bz2
Introduced rounded corners for menuitems and buttons
Diffstat (limited to 'config.c')
-rw-r--r--config.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/config.c b/config.c
index a02e6fa..e6403fa 100644
--- a/config.c
+++ b/config.c
@@ -54,6 +54,8 @@ cNopacityConfig::cNopacityConfig() {
fontVolume = 0;
//DisplayMenu
scalePicture = 1;
+ roundedCorners = 0;
+ cornerRadius = 12;
narrowMainMenu = 1;
narrowScheduleMenu = 1;
narrowChannelMenu = 1;
@@ -235,6 +237,8 @@ bool cNopacityConfig::SetupParse(const char *Name, const char *Value) {
else if (strcmp(Name, "menuInfoScrollDelay") == 0) menuInfoScrollDelay = atoi(Value);
else if (strcmp(Name, "menuInfoScrollSpeed") == 0) menuInfoScrollSpeed = atoi(Value);
else if (strcmp(Name, "scalePicture") == 0) scalePicture = atoi(Value);
+ else if (strcmp(Name, "roundedCorners") == 0) roundedCorners = atoi(Value);
+ else if (strcmp(Name, "cornerRadius") == 0) cornerRadius = atoi(Value);
else if (strcmp(Name, "narrowMainMenu") == 0) narrowMainMenu = atoi(Value);
else if (strcmp(Name, "narrowScheduleMenu") == 0) narrowScheduleMenu = atoi(Value);
else if (strcmp(Name, "narrowChannelMenu") == 0) narrowChannelMenu = atoi(Value);