X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/359b7184acb84b5409e10a97d11762bcbc63f7ed..be97d632ac31d3dbc1477afd6144b7bbfac77ba7:/data/skin_default.xml
diff --git a/data/skin_default.xml b/data/skin_default.xml
index 5ab25f3f..35da336e 100644
--- a/data/skin_default.xml
+++ b/data/skin_default.xml
@@ -1,282 +1,110 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
-
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Name
+
+
+
+
+
+
+ Name
+
+
+ StartTime
+
+
+
+ EndTime
+ Format:- %H:%M
+
+
+ Progress
+
+
+ ExtendedDescription
+
+
+
+
+ WithSeconds
+
+
+ Name
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
@@ -286,66 +114,238 @@ 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 > 6:
- count = 6
-offset = 30 * count
+if count > 10:
+ count = 10
+offset = 25 * count
wsizex = textsize[0] + 60
wsizey = textsize[1] + offset
-if (400 > wsizex):
- wsizex = 400
-wsize = (wsizex, wsizey)
+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, 30 * len(self.list))
-self["list"].instance.move(ePoint(0, textsize[1]))
-self["list"].instance.resize(eSize(*listsize))
+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()))
-
+self.instance.move(ePoint((720-wsizex)/2, (576-wsizey)/(count > 7 and 2 or 3)))
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
-
-
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ WithSeconds
+
+
+
+
+
+
+
+
+
+
+
+ StartTime
+
+
+
+ EndTime
+ Format:- %H:%M
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
\ No newline at end of file
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ShortDescription
+
+
+ Duration
+ AsLength
+
+
+ RecordServiceName
+
+
+ ExtendedDescription
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Name
+
+
+ RasInteractiveAvailable
+
+
+
+
+
+ Progress
+
+
+ Default
+
+
+ StartTime
+ Default
+
+
+ Name
+
+
+ Remaining
+ InMinutes
+
+
+ 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
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Name
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Remaining
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+