add support for render pixmaps with transparent background
[vuplus_dvbapp] / skin.py
diff --git a/skin.py b/skin.py
index dc78c19..f5a6718 100644 (file)
--- a/skin.py
+++ b/skin.py
@@ -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(