aboutsummaryrefslogtreecommitdiff
path: root/skin.py
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2007-12-13 01:09:02 +0000
committerFelix Domke <tmbinc@elitedvb.net>2007-12-13 01:09:02 +0000
commit7bcaff119363f42cd4263a5e07982de7671734a7 (patch)
treede94df2190bae3607e7b562cce9cf7f5a263c5f7 /skin.py
parent27a9db5f79a6b3fdda1fbfaa577b8260ac68b8da (diff)
downloadenigma2-7bcaff119363f42cd4263a5e07982de7671734a7.tar.gz
enigma2-7bcaff119363f42cd4263a5e07982de7671734a7.zip
allow skin elements to use alphablend. *BE CAREFUL:* This is a major performance degradation. non-alphablend is about 4 times faster than alphablend.
Diffstat (limited to 'skin.py')
-rw-r--r--skin.py5
1 files 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: