diff --git a/lib/python/skin.py b/lib/python/skin.py index 7a4a94cfdc..d2bc793099 100644 --- a/lib/python/skin.py +++ b/lib/python/skin.py @@ -400,6 +400,11 @@ def parseScale(s): return val +def mergeScale(s1, s2): + # merge ((w, w), (h, h)) with ((x, x), (y, y)) + return ((s1[0][0] * s2[0][0], s1[0][1] * s2[0][1]), (s1[1][0] * s2[1][0], s1[1][1] * s2[1][1])) + + def parseScrollbarMode(s): from enigma import eListbox try: