From f2a4ea2dc8c0d915e0f2af6f4ec1a228e1e94453 Mon Sep 17 00:00:00 2001 From: lordjaxom Date: Fri, 25 Jun 2004 17:54:38 +0000 Subject: - on devices capable of full-color OSD, bpp's have no meaning anymore (but will still work like usual). On such devices, a full-screen 8-bit OSD will be used - new display-item "PresentTextDescription" displays combined ShortText/Description - displaying replay symbols only if information is actually available - exchanged x, y, width, height with x1, y1, x2, y2 coordinates (skin version is now 0.0.3) - coordinates may be negative to respect dynamic OSD settings (negative coordinates give pixels from the right or bottom edge) - added base parameter to Skin item to be able to use full screen in absolute mode - added a script to convert 0.0.2 skins to 0.0.3 - added parsing quoted texts (path="Bla.jpg" etc. will work correctly now) - fixed translator to escape the dollar sign - fixed display of scrollbar (REALLY!) - fixed linkage of libMagick++ --- display.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'display.c') diff --git a/display.c b/display.c index 43a6786..d046a85 100644 --- a/display.c +++ b/display.c @@ -1,5 +1,5 @@ /* - * $Id: display.c,v 1.17 2004/06/16 18:46:50 lordjaxom Exp $ + * $Id: display.c,v 1.18 2004/06/24 18:37:30 lordjaxom Exp $ */ #include "render.h" @@ -109,8 +109,10 @@ void cText2SkinDisplayReplay::SetTitle(const char *Title) { } void cText2SkinDisplayReplay::SetMode(bool Play, bool Forward, int Speed) { + Dprintf("speed: Play = %s, Forward = %s, Speed = %d\n", Play ? "true" : "false", Forward ? "true" : "false", Speed); mRender->Lock(); - if (mRender->mReplayPlay != Play || mRender->mReplayForward != Forward || mRender->mReplaySpeed != Speed) { + if (mRender->mReplayInfo == false || mRender->mReplayPlay != Play || mRender->mReplayForward != Forward || mRender->mReplaySpeed != Speed) { + mRender->mReplayInfo = true; mRender->mReplayPlay = Play; mRender->mReplayForward = Forward; mRender->mReplaySpeed = Speed; -- cgit v1.2.3