diff options
author | louis <louis.braun@gmx.de> | 2013-04-17 16:25:03 +0200 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2013-04-17 16:25:03 +0200 |
commit | d0cd4a3d202f3bc5987dfdf5d5ff39d863a11a32 (patch) | |
tree | 03edadcc8d4c510b5319d93bcf455590d604e6f4 /displayreplay.c | |
parent | 180d534d2464606aa7bf0e0d67b22446a76801c8 (diff) | |
download | skin-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.c | 12 |
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()); |