From 7bcaff119363f42cd4263a5e07982de7671734a7 Mon Sep 17 00:00:00 2001 From: Felix Domke Date: Thu, 13 Dec 2007 01:09:02 +0000 Subject: [PATCH 1/1] allow skin elements to use alphablend. *BE CAREFUL:* This is a major performance degradation. non-alphablend is about 4 times faster than alphablend. --- skin.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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: -- 2.30.2