diff options
author | louis <louis.braun@gmx.de> | 2013-12-27 16:31:49 +0100 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2013-12-27 16:31:49 +0100 |
commit | c5af8c801775819dd9eed003883cb9cea2ef7376 (patch) | |
tree | 5fb061290ff8f0da82e84b977d93748b3377b5b0 /statusheader.c | |
parent | 53fa2c70cac3025ff223a6d0e2cdae2805b14c30 (diff) | |
download | vdr-plugin-tvguide-c5af8c801775819dd9eed003883cb9cea2ef7376.tar.gz vdr-plugin-tvguide-c5af8c801775819dd9eed003883cb9cea2ef7376.tar.bz2 |
Fixed OSD Background Color (Closes Ticket 1474)
Diffstat (limited to 'statusheader.c')
-rw-r--r-- | statusheader.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/statusheader.c b/statusheader.c index 63442c1..7632d79 100644 --- a/statusheader.c +++ b/statusheader.c @@ -133,13 +133,13 @@ int cStatusHeader::DrawPoster(const cEvent *event, int x, int y, int height, int void cStatusHeader::DecorateVideoFrame(void) {
int radius = 16;
- int frame = 10;
- pixmapTVFrame->DrawRectangle(cRect(0, 0, tvFrameWidth, frame), theme.Color(clrBackground));
- pixmapTVFrame->DrawEllipse(cRect(frame,frame,radius,radius), theme.Color(clrBackground), -2);
- pixmapTVFrame->DrawRectangle(cRect(tvFrameWidth - frame, frame, frame, height - 2*frame), theme.Color(clrBackground));
- pixmapTVFrame->DrawEllipse(cRect(tvFrameWidth - radius - frame, frame, radius, radius), theme.Color(clrBackground), -1);
- pixmapTVFrame->DrawRectangle(cRect(0, frame, frame, height - 2*frame), theme.Color(clrBackground));
- pixmapTVFrame->DrawEllipse(cRect(frame, height - radius - frame, radius, radius), theme.Color(clrBackground), -3);
- pixmapTVFrame->DrawRectangle(cRect(0, height - frame, tvFrameWidth, frame), theme.Color(clrBackground));
- pixmapTVFrame->DrawEllipse(cRect(tvFrameWidth - radius - frame, height - radius - frame, radius, radius), theme.Color(clrBackground), -4);
+ int frame = 2;
+ pixmapTVFrame->DrawRectangle(cRect(0, 0, tvFrameWidth, frame), theme.Color(clrBackgroundOSD));
+ pixmapTVFrame->DrawEllipse(cRect(frame,frame,radius,radius), theme.Color(clrBackgroundOSD), -2);
+ pixmapTVFrame->DrawRectangle(cRect(tvFrameWidth - frame, frame, frame, height - 2*frame), theme.Color(clrBackgroundOSD));
+ pixmapTVFrame->DrawEllipse(cRect(tvFrameWidth - radius - frame, frame, radius, radius), theme.Color(clrBackgroundOSD), -1);
+ pixmapTVFrame->DrawRectangle(cRect(0, frame, frame, height - 2*frame), theme.Color(clrBackgroundOSD));
+ pixmapTVFrame->DrawEllipse(cRect(frame, height - radius - frame, radius, radius), theme.Color(clrBackgroundOSD), -3);
+ pixmapTVFrame->DrawRectangle(cRect(0, height - frame, tvFrameWidth, frame), theme.Color(clrBackgroundOSD));
+ pixmapTVFrame->DrawEllipse(cRect(tvFrameWidth - radius - frame, height - radius - frame, radius, radius), theme.Color(clrBackgroundOSD), -4);
}
\ No newline at end of file |