From 6b08851e7ceaffecee80cd58b693a961d90bae5d Mon Sep 17 00:00:00 2001 From: louis Date: Thu, 7 Feb 2013 14:05:54 +0100 Subject: Version 0.0.6 --- HISTORY | 5 +++++ displayreplay.c | 10 +++++----- skinnopacity.c | 2 +- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/HISTORY b/HISTORY index c6198b2..8134842 100644 --- a/HISTORY +++ b/HISTORY @@ -114,3 +114,8 @@ Version 0.0.6 plugins do). Whether additional images should be displayed in general is configurable, just as the number of images to display. - Changed Disc Usage Info display, size individually configurable +- Added Theme DarkRed (Thanks @TheChief) +- Changed buttons in DisplayReplay so that only the active button is + highlighted +- Added screen resolution icon in DisplayReplay +- Changed Makefile to avoid warnings with newer ImageMagick versions 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)); diff --git a/skinnopacity.c b/skinnopacity.c index 90bf383..a6bb232 100644 --- a/skinnopacity.c +++ b/skinnopacity.c @@ -15,7 +15,7 @@ #endif -static const char *VERSION = "0.0.5"; +static const char *VERSION = "0.0.6"; static const char *DESCRIPTION = "'nOpacity' Skin"; static const char *MAINMENUENTRY = "nOpacity"; -- cgit v1.2.3