summaryrefslogtreecommitdiff
path: root/skins
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2015-03-31 16:08:42 +0200
committerlouis <louis.braun@gmx.de>2015-03-31 16:08:42 +0200
commit203754e2047998185a177b177c5c46ccb265318e (patch)
treed2f86a51b39526f34ef39cc452fc1e2623d5b204 /skins
parent43422fac91d7c67d1cb69e2add4abce49e89ca90 (diff)
downloadvdr-plugin-skindesigner-203754e2047998185a177b177c5c46ccb265318e.tar.gz
vdr-plugin-skindesigner-203754e2047998185a177b177c5c46ccb265318e.tar.bz2
added viewelement <sortmode> in displaymenu to display the sort mode of the currently displayed menu
Diffstat (limited to 'skins')
-rw-r--r--skins/blackhole/xmlfiles/displaymenu.xml16
-rw-r--r--skins/metrixhd/xmlfiles/displaymenu.xml15
2 files changed, 31 insertions, 0 deletions
diff --git a/skins/blackhole/xmlfiles/displaymenu.xml b/skins/blackhole/xmlfiles/displaymenu.xml
index 04a3838..22e80a5 100644
--- a/skins/blackhole/xmlfiles/displaymenu.xml
+++ b/skins/blackhole/xmlfiles/displaymenu.xml
@@ -105,6 +105,22 @@
<drawtext align="center" valign="center" font="{regular}" fontsize="40%" color="{clrWhite}" text="{text}" />
</area>
</message>
+
+ <!-- Available Variables sortmode:
+ {sortnumber} true if menu is sorted by number
+ {sortname} true if menu is sorted alphabetical
+ {sorttime} true if menu is sorted by time
+ {sortprovider} true if menu is sorted by provider
+ -->
+ <sortmode>
+ <area x="44%" y="1%" width="6%" height="6%" layer="3">
+ <drawimage condition="{sortnumber}" imagetype="icon" path="ico_sort_number" x="0" y="0" width="100%" height="100%"/>
+ <drawimage condition="{sortname}" imagetype="icon" path="ico_sort_name" x="0" y="0" width="100%" height="100%"/>
+ <drawimage condition="{sorttime}" imagetype="icon" path="ico_sort_time" x="0" y="0" width="100%" height="100%"/>
+ <drawimage condition="{sortprovider}" imagetype="icon" path="ico_sort_provider" x="0" y="0" width="100%" height="100%"/>
+ </area>
+ </sortmode>
+
<!-- Available Variables colorbuttons:
{red1} true if red button is button 1
{red2} true if red button is button 2
diff --git a/skins/metrixhd/xmlfiles/displaymenu.xml b/skins/metrixhd/xmlfiles/displaymenu.xml
index d51cfbf..1389bef 100644
--- a/skins/metrixhd/xmlfiles/displaymenu.xml
+++ b/skins/metrixhd/xmlfiles/displaymenu.xml
@@ -84,6 +84,21 @@
<drawtext align="center" valign="center" font="{light}" fontsize="50%" color="{clrWhite}" text="{text}" />
</area>
</message>
+
+ <!-- Available Variables sortmode:
+ {sortnumber} true if menu is sorted by number
+ {sortname} true if menu is sorted alphabetical
+ {sorttime} true if menu is sorted by time
+ {sortprovider} true if menu is sorted by provider
+ -->
+ <sortmode>
+ <area x="35%" y="2%" width="6%" height="6%" layer="4">
+ <drawimage condition="{sortnumber}" imagetype="icon" path="ico_sort_number" x="0" y="0" width="100%" height="100%"/>
+ <drawimage condition="{sortname}" imagetype="icon" path="ico_sort_name" x="0" y="0" width="100%" height="100%"/>
+ <drawimage condition="{sorttime}" imagetype="icon" path="ico_sort_time" x="0" y="0" width="100%" height="100%"/>
+ <drawimage condition="{sortprovider}" imagetype="icon" path="ico_sort_provider" x="0" y="0" width="100%" height="100%"/>
+ </area>
+ </sortmode>
<!-- Available Variables colorbuttons:
{red1} true if red button is button 1
{red2} true if red button is button 2