summaryrefslogtreecommitdiff
path: root/styledpixmap.c
diff options
context:
space:
mode:
authorkamel5 <vdr.kamel5 (at) gmx (dot) net>2019-07-11 11:28:11 +0200
committerkamel5 <vdr.kamel5 (at) gmx (dot) net>2019-07-11 11:44:39 +0200
commit0766d679806e1ed098f562672e88ef324c3cd680 (patch)
tree727689519e3f2a6b098f7dc1337cb639f44d3321 /styledpixmap.c
parent3513f82a8c4e01bc375453c9dcb8001b7ea82cd2 (diff)
downloadvdr-plugin-tvguide-0766d679806e1ed098f562672e88ef324c3cd680.tar.gz
vdr-plugin-tvguide-0766d679806e1ed098f562672e88ef324c3cd680.tar.bz2
Change tvguideConfig to Config
Diffstat (limited to 'styledpixmap.c')
-rw-r--r--styledpixmap.c6
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);
}