X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=skin.py;fp=skin.py;h=a0190f1c2dfbdc1f2f58700ce6ed38d18f0797ae;hp=19da2036cebe63550b59db545901b0bf3bea9cc1;hb=2872929ce24198202fa096d28ab94dea9f925450;hpb=157b03b04683b9a68d97ff431262ebe954e81e19 diff --git a/skin.py b/skin.py index 19da203..a0190f1 100755 --- a/skin.py +++ b/skin.py @@ -140,6 +140,17 @@ def applySingleAttribute(guiObject, desktop, attrib, value, scale = ((1,1),(1,1) guiObject.move(parsePosition(value, scale, desktop, guiObject.csize())) elif attrib == 'size': guiObject.resize(parseSize(value, scale)) + elif attrib == 'animationPaused': + pass + elif attrib == 'animationMode': + guiObject.setAnimationMode( + { "disable": 0x00, + "off": 0x00, + "offshow": 0x10, + "offhide": 0x01, + "onshow": 0x01, + "onhide": 0x10, + }[value]) elif attrib == 'title': guiObject.setTitle(_(value)) elif attrib == 'text':