summaryrefslogtreecommitdiff
path: root/displayreplay.c
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2013-02-07 14:05:54 +0100
committerlouis <louis.braun@gmx.de>2013-02-07 14:05:54 +0100
commit6b08851e7ceaffecee80cd58b693a961d90bae5d (patch)
treec82d398ebd28600433dc2601b3cc7c062690ca48 /displayreplay.c
parent3f6dedede0b8c615be7b88c4f366aa1569dc4d28 (diff)
downloadskin-nopacity-6b08851e7ceaffecee80cd58b693a961d90bae5d.tar.gz
skin-nopacity-6b08851e7ceaffecee80cd58b693a961d90bae5d.tar.bz2
Version 0.0.6
Diffstat (limited to 'displayreplay.c')
-rw-r--r--displayreplay.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/displayreplay.c b/displayreplay.c
index 9784d75..d200d5d 100644
--- a/displayreplay.c
+++ b/displayreplay.c
@@ -59,11 +59,11 @@ void cNopacityDisplayReplay::SetGeometry(void) {
currentHeight = progressBarHeight + config.fontReplay;
controlsHeight = height - headerHeight - info2Height - footerHeight - progressBarHeight;
- infoWidth = 0.75 * width;
+ infoWidth = 0.75 * width - config.resolutionIconSize - 10;
dateWidth = width - infoWidth;
- resolutionX = width - 20 - config.resolutionIconSize;
- resolutionY = height - 10 - config.resolutionIconSize;
+ resolutionX = 10;
+ resolutionY = 5;
jumpX = (width - 4 * controlsHeight)/2 + 5*controlsHeight;
jumpY = headerHeight + info2Height + progressBarHeight;
@@ -76,9 +76,9 @@ void cNopacityDisplayReplay::CreatePixmaps(void) {
pixmapHeader = osd->CreatePixmap(1, cRect(0, 0, width, headerHeight));
pixmapBackground = osd->CreatePixmap(1, cRect(0, headerHeight, width, info2Height + progressBarHeight + controlsHeight));
pixmapFooter = osd->CreatePixmap(1, cRect(0, headerHeight + info2Height + progressBarHeight + controlsHeight, width, footerHeight));
- pixmapInfo = osd->CreatePixmap(2, cRect(0, 0, infoWidth, headerHeight));
+ pixmapInfo = osd->CreatePixmap(2, cRect(config.resolutionIconSize + 10, 0, infoWidth, headerHeight));
pixmapDate = osd->CreatePixmap(2, cRect(infoWidth, 0, dateWidth, headerHeight));
- pixmapInfo2 = osd->CreatePixmap(2, cRect(0, headerHeight, width, info2Height));
+ pixmapInfo2 = osd->CreatePixmap(2, cRect(config.resolutionIconSize + 10, headerHeight, infoWidth, info2Height));
pixmapProgressBar = osd->CreatePixmap(2, cRect(0, headerHeight + info2Height, width, progressBarHeight));
pixmapCurrent = osd->CreatePixmap(3, cRect(0, headerHeight + info2Height + progressBarHeight, width/5, currentHeight));
pixmapTotal = osd->CreatePixmap(3, cRect(4*width/5, headerHeight + info2Height + progressBarHeight, width/5, currentHeight));