diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2005-11-28 00:38:00 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2005-11-28 00:38:00 +0000 |
| commit | c5f61282a2391235e05ff40bc40a2f0852ea1a9f (patch) | |
| tree | 0322d397eb8117e81ba842bdab2c815550cf79dc /skin.py | |
| parent | 99e66edd91b058d8b5869f900cab9b2f40cd37d5 (diff) | |
| download | enigma2-c5f61282a2391235e05ff40bc40a2f0852ea1a9f.tar.gz enigma2-c5f61282a2391235e05ff40bc40a2f0852ea1a9f.zip | |
add support for render pixmaps with transparent background
use in skin for ePixmaps alphatest="on"
Diffstat (limited to 'skin.py')
| -rw-r--r-- | skin.py | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -82,6 +82,11 @@ def applySingleAttribute(guiObject, desktop, attrib, value): desktop.makeCompatiblePixmap(ptr) guiObject.setPixmap(ptr) # guiObject.setPixmapFromFile(value) + elif attrib == "alphatest": # used by ePixmap + guiObject.setAlphatest( + { "on": True, + "off": False + }[value]) elif attrib == "orientation": # used by eSlider try: guiObject.setOrientation( |
