summaryrefslogtreecommitdiff
path: root/bitmap.c
diff options
context:
space:
mode:
authorlordjaxom <lordjaxom>2004-07-14 16:49:10 +0000
committerlordjaxom <lordjaxom>2004-07-14 16:49:10 +0000
commit5071a1754f3db0adcf477ecf8e5b2a818d1935bd (patch)
tree210c39c7871d0192ec5aad51096ea39fa47ccd9e /bitmap.c
parentf2a4ea2dc8c0d915e0f2af6f4ec1a228e1e94453 (diff)
downloadvdr-plugin-text2skin-5071a1754f3db0adcf477ecf8e5b2a818d1935bd.tar.gz
vdr-plugin-text2skin-5071a1754f3db0adcf477ecf8e5b2a818d1935bd.tar.bz2
- fixed display of scrollbar if there is no text presentv0.0.8
- fixed animation delay if update takes longer than the delay - using backgrounds also in 8-bit fullscreen mode to improve performance - implemented screen layer to improve performance - corrected offsets and tab widths in main menu - implemented parameters "current", "mark" and "selected" to choose mark colors in replay display (defaults to the old values) - implemented color value "None" to be able to unset a color
Diffstat (limited to 'bitmap.c')
-rw-r--r--bitmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitmap.c b/bitmap.c
index 0137289..4a2ab27 100644
--- a/bitmap.c
+++ b/bitmap.c
@@ -1,5 +1,5 @@
/*
- * $Id: bitmap.c,v 1.17 2004/06/18 16:08:11 lordjaxom Exp $
+ * $Id: bitmap.c,v 1.18 2004/07/13 13:52:51 lordjaxom Exp $
*/
#include "bitmap.h"
@@ -72,7 +72,7 @@ cBitmap &cText2SkinBitmap::Get(int &UpdateIn) {
} else if ((diff = cur - mLastGet) >= mDelay) {
mCurrent = (mCurrent + 1) % mBitmaps.size();
mLastGet = cur;
- upd = mDelay;
+ upd = mDelay - diff > 1 ? mDelay - diff : 1;
} else {
upd = mDelay - diff;
}