diff options
Diffstat (limited to 'styledpixmap.c')
-rw-r--r-- | styledpixmap.c | 6 |
1 files changed, 3 insertions, 3 deletions
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); } |