add ability to draw a slider border
[enigma2.git] / skin.py
diff --git a/skin.py b/skin.py
index 520780e6c2aef4d3e5fc5673af71d25ae664cd71..27fc7d5d4b461a08abe9e3a65d0ef32a48739d4c 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: