add ability to draw a slider border
[enigma2.git] / skin.py
diff --git a/skin.py b/skin.py
index 520780e..27fc7d5 100644 (file)
--- a/skin.py
+++ b/skin.py
@@ -126,6 +126,10 @@ def applySingleAttribute(guiObject, desktop, attrib, value):
                        guiObject.setSelectionEnable(0)
                elif attrib == "transparent":
                        guiObject.setTransparent(int(value))
+               elif attrib == "borderColor":
+                       guiObject.setBorderColor(parseColor(value))
+               elif attrib == "borderWidth":
+                       guiObject.setBorderWidth(int(value))
                elif attrib != 'name':
                        print "unsupported attribute " + attrib + "=" + value
        except int: