diff options
author | louis <louis.braun@gmx.de> | 2013-02-12 16:37:59 +0100 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2013-02-12 16:37:59 +0100 |
commit | 702f4d7795fa97d0cb716c7933f83225e85a35e0 (patch) | |
tree | e70b222b47e327ec46b3a332bb3043a315dd70b4 /config.c | |
parent | f04a7865cdab7a6a8d0aa5ec2f062e16bcd27e8e (diff) | |
download | skin-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.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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); |