From: Felix Domke Date: Thu, 13 Dec 2007 01:09:02 +0000 (+0000) Subject: allow skin elements to use alphablend. *BE CAREFUL:* This is a major performance... X-Git-Tag: 2.6.0~1669 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/7bcaff119363f42cd4263a5e07982de7671734a7?ds=sidebyside allow skin elements to use alphablend. *BE CAREFUL:* This is a major performance degradation. non-alphablend is about 4 times faster than alphablend. --- diff --git a/skin.py b/skin.py index ed48546e..8de161da 100644 --- a/skin.py +++ b/skin.py @@ -130,8 +130,9 @@ def applySingleAttribute(guiObject, desktop, attrib, value): # guiObject.setPixmapFromFile(value) elif attrib == "alphatest": # used by ePixmap guiObject.setAlphatest( - { "on": True, - "off": False + { "on": 1, + "off": 0, + "blend": 2, }[value]) elif attrib == "orientation": # used by eSlider try: