X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/7ce73e08a51a35e09a93fb40cc88ee4393e801fc..e9ac30d0d9eadcce3d2872ab2e4380144e49adbc:/data/skin_default.xml diff --git a/data/skin_default.xml b/data/skin_default.xml index 9bb9e860..f0d25871 100644 --- a/data/skin_default.xml +++ b/data/skin_default.xml @@ -1,23 +1,25 @@ - - - + + + + + + - + - - - - + + + - + @@ -29,17 +31,17 @@ - - - - - + + + + + - - - - - + + + + + @@ -47,6 +49,14 @@ + + + + + + Name + + @@ -63,7 +73,7 @@ - + @@ -75,7 +85,9 @@ - + + + @@ -86,14 +98,15 @@ - - + + - - + + + @@ -101,7 +114,7 @@ - + @@ -114,6 +127,15 @@ + + + + + + + + + @@ -121,18 +143,32 @@ - + + + + + - + + + + + + + + + - - - - - + + + + + + + @@ -185,6 +221,12 @@ + + + + + + @@ -192,23 +234,43 @@ - - + - - - - - - + + + + + + + + + StartTime + + + + EndTime + Format:- %H:%M + + + Progress + + + + + + ExtendedDescription + - + + + RadioText + @@ -221,26 +283,29 @@ Progress - - StartTime - Default + + RasInteractiveAvailable + - + StartTime Default - - Name - - + Name - - + Remaining InMinutes - + + Name + + + StartTime + Default + + Duration InMinutes @@ -276,6 +341,33 @@ + + + + + WithSeconds + + + + + + + + + + + + StartTime + + + + EndTime + Format:- %H:%M + + + + + @@ -287,17 +379,80 @@ - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + + + + ShortDescription + + + RecordServiceName + + + Duration + AsLength + + + ExtendedDescription + @@ -309,6 +464,31 @@ + + + + + + + + + + + + + + + + + + + + + + + + + @@ -318,37 +498,37 @@ from enigma import eSize, ePoint orgwidth = self.instance.size().width() orgpos = self.instance.position() -textsize = self["text"].getSize() +textsize = self["text"].getSize() # y size still must be fixed in font stuff... textsize = (textsize[0] + 50, textsize[1] + 50) count = len(self.list) -if count > 10: +if count > 10: count = 10 offset = 25 * count wsizex = textsize[0] + 60 wsizey = textsize[1] + offset -if (450 > wsizex): - wsizex = 450 +if (520 > wsizex): + wsizex = 520 wsize = (wsizex, wsizey) - # resize self.instance.resize(eSize(*wsize)) # resize label -self["text"].instance.resize(eSize(*textsize)) +self["text"].instance.resize(eSize(*textsize)) # move list listsize = (wsizex, 25 * count) -self["list"].instance.move(ePoint(0, textsize[1])) -self["list"].instance.resize(eSize(*listsize)) +self["list"].instance.move(ePoint(0, textsize[1])) +self["list"].instance.resize(eSize(*listsize)) # center window newwidth = wsize[0] -#self.instance.move(ePoint(orgpos.x() + (orgwidth - newwidth)/2, orgpos.y())) - +self.instance.move(ePoint((720-wsizex)/2, (576-wsizey)/(count > 7 and 2 or 3))) + + @@ -362,6 +542,8 @@ newwidth = wsize[0] + + @@ -396,7 +578,7 @@ from enigma import eSize, ePoint orgwidth = self.instance.size().width() orgpos = self.instance.position() -textsize = self["text"].getSize() +textsize = self["text"].getSize() # y size still must be fixed in font stuff... textsize = (textsize[0] + 50, textsize[1] + 50) @@ -405,7 +587,7 @@ if self.type == self.TYPE_YESNO: offset = 60 wsizex = textsize[0] + 60 wsizey = textsize[1] + offset -if (280 > wsizex): +if (280 > wsizex): wsizex = 280 wsize = (wsizex, wsizey) @@ -414,16 +596,46 @@ wsize = (wsizex, wsizey) self.instance.resize(eSize(*wsize)) # resize label -self["text"].instance.resize(eSize(*textsize)) +self["text"].instance.resize(eSize(*textsize)) # move list listsize = (wsizex, 50) -self["list"].instance.move(ePoint(0, textsize[1])) -self["list"].instance.resize(eSize(*listsize)) +self["list"].instance.move(ePoint(0, textsize[1])) +self["list"].instance.resize(eSize(*listsize)) # center window newwidth = wsize[0] self.instance.move(ePoint(orgpos.x() + (orgwidth - newwidth)/2, orgpos.y())) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +