From 702f4d7795fa97d0cb716c7933f83225e85a35e0 Mon Sep 17 00:00:00 2001 From: louis Date: Tue, 12 Feb 2013 16:37:59 +0100 Subject: Introduced rounded corners for menuitems and buttons --- config.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'config.c') 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); -- cgit v1.2.3