From 0766d679806e1ed098f562672e88ef324c3cd680 Mon Sep 17 00:00:00 2001 From: kamel5 Date: Thu, 11 Jul 2019 11:28:11 +0200 Subject: Change tvguideConfig to Config --- styledpixmap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'styledpixmap.c') diff --git a/styledpixmap.c b/styledpixmap.c index 0cd4646..7b059c4 100644 --- a/styledpixmap.c +++ b/styledpixmap.c @@ -22,9 +22,9 @@ void cStyledPixmap::setPixmap(cPixmap *pixmap) { } void cStyledPixmap::drawBackground() { - if (tvguideConfig.style == eStyleBlendingDefault){ + if (config.style == eStyleBlendingDefault){ drawBlendedBackground(); - } else if (tvguideConfig.style == eStyleBlendingMagick){ + } else if (config.style == eStyleBlendingMagick){ drawSparsedBackground(); } else { pixmap->Fill(color); @@ -129,7 +129,7 @@ void cStyledPixmap::drawBorder() { int height = pixmap->ViewPort().Height(); drawDefaultBorder(width, height); - if (tvguideConfig.roundedCorners) { + if (config.roundedCorners) { int borderRadius = 12; drawRoundedCorners(width, height, borderRadius); } -- cgit v1.2.3