diff options
| author | louis <louis.braun@gmx.de> | 2015-05-14 10:38:08 +0200 |
|---|---|---|
| committer | louis <louis.braun@gmx.de> | 2015-05-14 10:38:08 +0200 |
| commit | 9a0217589ef98f0af13bd623a6e7870d566779f6 (patch) | |
| tree | 67eb8e9850b8609ad24e93bd3460d7c0ec914dd2 /libcore/pixmapcontainer.c | |
| parent | 01b09d742440727661d69bed76710b9d79e2c912 (diff) | |
| download | vdr-plugin-skindesigner-9a0217589ef98f0af13bd623a6e7870d566779f6.tar.gz vdr-plugin-skindesigner-9a0217589ef98f0af13bd623a6e7870d566779f6.tar.bz2 | |
fixed blinking for animated views
Diffstat (limited to 'libcore/pixmapcontainer.c')
| -rw-r--r-- | libcore/pixmapcontainer.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libcore/pixmapcontainer.c b/libcore/pixmapcontainer.c index 0391a64..c60ba54 100644 --- a/libcore/pixmapcontainer.c +++ b/libcore/pixmapcontainer.c @@ -344,6 +344,11 @@ void cPixmapContainer::SetDrawPortPoint(int num, const cPoint &Point) { * to ensure that a proper lock is set before accessing pixmaps ****************************************************************************/ +int cPixmapContainer::AnimationDelay(void) { + int animTime = max(shiftTime, fadeTime); + return animTime + 100; +} + void cPixmapContainer::FadeIn(void) { if (!fadeTime) { for (int i = 0; i < numPixmaps; i++) { |
