X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/d1e450f95a9b79b144a00dcf0f9356ff6cb9bfb2..8639b8f076ec2921d1185c92be5be71649d4defa:/data/skin_default.xml diff --git a/data/skin_default.xml b/data/skin_default.xml index 65e810d9..054167aa 100644 --- a/data/skin_default.xml +++ b/data/skin_default.xml @@ -1,170 +1,160 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Name - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + Name + + + + + + + Name + + + StartTime + + + + EndTime + Format:- %H:%M + + + Progress + + + ExtendedDescription + - - + + + + + + + + + + + + + + + + + +# this should be factored out into some helper code, but currently demonstrates applets. +from enigma import eSize, ePoint + +orgwidth = self.instance.size().width() +orgpos = self.instance.position() +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: + count = 10 +offset = 25 * count +wsizex = textsize[0] + 60 +wsizey = textsize[1] + offset + +if (520 > wsizex): + wsizex = 520 +wsize = (wsizex, wsizey) + +# resize +self.instance.resize(eSize(*wsize)) + +# resize label +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)) + +# center window +newwidth = wsize[0] +self.instance.move(ePoint((720-wsizex)/2, (576-wsizey)/(count > 7 and 2 or 3))) + + - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - - + + + - - - - - - - - - - - - - - - - + + + + + + @@ -174,294 +164,659 @@ + - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Name + + + + + + + StartTime + + + + EndTime + Format:- %H:%M + + + Progress + + + StartTime + Format:(%A) + + + ExtendedDescription + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {"template": [ + MultiContentEntryText(pos = (80, 10), size = (200, 50), flags = RT_HALIGN_LEFT, text = 1), # index 1 is the language name, + MultiContentEntryPixmap(pos = (10, 5), size = (60, 40), png = 2), # index 2 is the pixmap + ], + "fonts": [gFont("Regular", 20)], + "itemHeight": 50 + } + + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + + + + + + + +# this should be factored out into some helper code, but currently demonstrates applets. +from enigma import eSize, ePoint + +orgwidth = self.instance.size().width() +orgpos = self.instance.position() +textsize = self["text"].getSize() + +# y size still must be fixed in font stuff... +textsize = (textsize[0] + 50, textsize[1] + 50) +offset = 0 +if self.type == self.TYPE_YESNO: + offset = 60 +wsizex = textsize[0] + 60 +wsizey = textsize[1] + offset +if (280 > wsizex): + wsizex = 280 +wsize = (wsizex, wsizey) + + +# resize +self.instance.resize(eSize(*wsize)) + +# resize label +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)) + +# center window +newwidth = wsize[0] +self.instance.move(ePoint(orgpos.x() + (orgwidth - newwidth)/2, orgpos.y())) + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - RadioText + + + + + + + + + + + + + + + + + + + ShortDescription + + + Duration + AsLength + + + RecordServiceName + + ExtendedDescription + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Name - - WithSeconds + + RasInteractiveAvailable + + + + Blink - + + Progress - - RasInteractiveAvailable - + + Default - + StartTime Default - + Name - + Remaining InMinutes - - Name - - + StartTime Default - + + Name + + Duration InMinutes + + + + RadioText + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + - + - + - + - + - + - + - + - + - - - + + + + + + + + + + + + SNRdB + + + + SNR + + + SNR + + + + AGC + + + AGC + + + + BER + + + BER + + + + LOCK + + + + LOCK + Invert + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TYPE + 0,0 + + + + TYPE + 1,1 + + + + TYPE + 2,2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -# this should be factored out into some helper code, but currently demonstrates applets. -from enigma import eSize, ePoint - -orgwidth = self.instance.size().width() -orgpos = self.instance.position() -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: - count = 10 -offset = 25 * count -wsizex = textsize[0] + 60 -wsizey = textsize[1] + offset - -if (450 > wsizex): - wsizex = 450 -wsize = (wsizex, wsizey) - - -# resize -self.instance.resize(eSize(*wsize)) - -# resize label -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)) - -# center window -newwidth = wsize[0] -#self.instance.move(ePoint(orgpos.x() + (orgwidth - newwidth)/2, orgpos.y())) - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Blink + + + + + Name + + + + + + + + + + + + + + + + + @@ -470,102 +825,180 @@ newwidth = wsize[0] - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Remaining - - - - - - + + + + + + + + + + + + + + + + + + + - - - - - - - -# this should be factored out into some helper code, but currently demonstrates applets. -from enigma import eSize, ePoint - -orgwidth = self.instance.size().width() -orgpos = self.instance.position() -textsize = self["text"].getSize() - -# y size still must be fixed in font stuff... -textsize = (textsize[0] + 50, textsize[1] + 50) -offset = 0 -if self.type == self.TYPE_YESNO: - offset = 60 -wsizex = textsize[0] + 60 -wsizey = textsize[1] + offset -if (280 > wsizex): - wsizex = 280 -wsize = (wsizex, wsizey) - + -# resize -self.instance.resize(eSize(*wsize)) - -# resize label -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)) - -# center window -newwidth = wsize[0] -self.instance.move(ePoint(orgpos.x() + (orgwidth - newwidth)/2, orgpos.y())) - + + + + Name + + + Progress + + + Format:%H:%M + + + Format:%S + + + + + + Name + + + Progress + + + Format:%H:%M + + + Format:%S + + + config.usage.blinking_display_clock_during_recording,True,CheckSourceBoolean + Blink + + + + + + + + + + + + + Name + + + Position + + + Format:%H:%M + + + config.usage.blinking_display_clock_during_recording,True,CheckSourceBoolean + Blink + + + + + + + + + + + + + + + + Format:%H:%M + + + config.usage.blinking_display_clock_during_recording,True,CheckSourceBoolean + Blink + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -