diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2007-12-13 01:09:02 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2007-12-13 01:09:02 +0000 |
| commit | 7bcaff119363f42cd4263a5e07982de7671734a7 (patch) | |
| tree | de94df2190bae3607e7b562cce9cf7f5a263c5f7 /skin.py | |
| parent | 27a9db5f79a6b3fdda1fbfaa577b8260ac68b8da (diff) | |
| download | enigma2-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.py | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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: |
