X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/02226aee689caad4d05e65448ec7640d33e8f659..4cc1f7a05166715c19c965e3bbbe74a43835a754:/skin.py diff --git a/skin.py b/skin.py index 520780e6..8535dc81 100644 --- a/skin.py +++ b/skin.py @@ -126,6 +126,16 @@ 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 == "scrollbarMode": + guiObject.setScrollbarMode( + { "showOnDemand": guiObject.showOnDemand, + "showAlways": guiObject.showAlways, + "showNever": guiObject.showNever + }[value]) elif attrib != 'name': print "unsupported attribute " + attrib + "=" + value except int: