summaryrefslogtreecommitdiff
path: root/displayreplay.c
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2013-04-17 16:25:03 +0200
committerlouis <louis.braun@gmx.de>2013-04-17 16:25:03 +0200
commitd0cd4a3d202f3bc5987dfdf5d5ff39d863a11a32 (patch)
tree03edadcc8d4c510b5319d93bcf455590d604e6f4 /displayreplay.c
parent180d534d2464606aa7bf0e0d67b22446a76801c8 (diff)
downloadskin-nopacity-d0cd4a3d202f3bc5987dfdf5d5ff39d863a11a32.tar.gz
skin-nopacity-d0cd4a3d202f3bc5987dfdf5d5ff39d863a11a32.tar.bz2
Displaying additional Pause Icon during slow motion
Diffstat (limited to 'displayreplay.c')
-rw-r--r--displayreplay.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/displayreplay.c b/displayreplay.c
index e59ef12..7be2a46 100644
--- a/displayreplay.c
+++ b/displayreplay.c
@@ -255,6 +255,12 @@ void cNopacityDisplayReplay::SetMode(bool Play, bool Forward, int Speed) {
}
}
} else if (Forward) {
+ if (!Play) {
+ pixmapPause->Fill(clrTransparent);
+ if (imgLoader.LoadIcon("skinIcons/pause", iconSize)) {
+ pixmapPause->DrawImage(cPoint(0,0), imgLoader.GetImage());
+ }
+ }
pixmapFwd->Fill(clrTransparent);
if (imgLoader.LoadIcon("skinIcons/fwd", iconSize)) {
pixmapFwd->DrawImage(cPoint(0,0), imgLoader.GetImage());
@@ -265,6 +271,12 @@ void cNopacityDisplayReplay::SetMode(bool Play, bool Forward, int Speed) {
pixmapFwdSpeed->DrawText(cPoint((iconSize - sWidth)/2, (iconSize - fontReplayHeader->Height())/2), *speed, Theme.Color(clrReplayHighlightIcon), clrTransparent, fontReplayHeader);
}
} else {
+ if (!Play) {
+ pixmapPause->Fill(clrTransparent);
+ if (imgLoader.LoadIcon("skinIcons/pause", iconSize)) {
+ pixmapPause->DrawImage(cPoint(0,0), imgLoader.GetImage());
+ }
+ }
pixmapRew->Fill(clrTransparent);
if (imgLoader.LoadIcon("skinIcons/rew", iconSize)) {
pixmapRew->DrawImage(cPoint(0,0), imgLoader.GetImage());