diff options
| author | louis <louis.braun@gmx.de> | 2014-10-26 08:26:44 +0100 |
|---|---|---|
| committer | louis <louis.braun@gmx.de> | 2014-10-26 08:26:44 +0100 |
| commit | 52d9280c6603edaa24f1e5a3d4abda8983d749ea (patch) | |
| tree | bf97043c549d7602136fd63f7f160416868dd37b /skins | |
| parent | 1e20f0c893b37f889269500e55f3022f450dfb04 (diff) | |
| download | vdr-plugin-skindesigner-52d9280c6603edaa24f1e5a3d4abda8983d749ea.tar.gz vdr-plugin-skindesigner-52d9280c6603edaa24f1e5a3d4abda8983d749ea.tar.bz2 | |
improved menu icon display
Diffstat (limited to 'skins')
| -rw-r--r-- | skins/metrixhd/xmlfiles/displaymenuschedules.xml | 5 | ||||
| -rw-r--r-- | skins/metrixhd/xmlfiles/displaymenusetup.xml | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/skins/metrixhd/xmlfiles/displaymenuschedules.xml b/skins/metrixhd/xmlfiles/displaymenuschedules.xml index 95f8174..b28471e 100644 --- a/skins/metrixhd/xmlfiles/displaymenuschedules.xml +++ b/skins/metrixhd/xmlfiles/displaymenuschedules.xml @@ -2,6 +2,8 @@ <!-- Available Variables header: {title} title of current menu {vdrversion} running VDR Version + {hasicon} true if a menu icon is available + {icon} path of menu icon {channelnumber} Number of Channel of current event {channelname} Name of current Channel of current event {channellogoexists} true if a channel logo exists @@ -12,7 +14,8 @@ --> <header> <area x="0" y="0" width="38%" height="10%" layer="2"> - <drawtext condition="{whatsonnow}||{whatsonnext}" x="5" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{title}" /> + <drawimage condition="{whatsonnow}||{whatsonnext}" name="menuicon" imagetype="menuicon" path="{icon}" x="5" valign="center" width="{areaheight}*8/10" height="80%"/> + <drawtext condition="{whatsonnow}||{whatsonnext}" x="{width(menuicon)} + 15" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{title}" /> <drawimage name="logo" condition="{whatson}" imagetype="channellogo" path="{channelid}" x="0" height="100%" align="left" valign="center" /> <drawtext condition="{whatson}" x="{width(logo)}+20" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{channelnumber} - {channelname}" /> </area> diff --git a/skins/metrixhd/xmlfiles/displaymenusetup.xml b/skins/metrixhd/xmlfiles/displaymenusetup.xml index d8d1852..d2fc400 100644 --- a/skins/metrixhd/xmlfiles/displaymenusetup.xml +++ b/skins/metrixhd/xmlfiles/displaymenusetup.xml @@ -13,10 +13,12 @@ <!-- Available Variables header: {title} title of current menu {vdrversion} running VDR Version + {icon} icon path --> <header> <area x="0" y="0" width="70%" height="7%" layer="2"> - <drawtext x="10" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{title}" /> + <drawimage name="menuicon" imagetype="menuicon" path="{icon}" x="5" valign="center" width="{areaheight}*8/10" height="80%"/> + <drawtext x="{areaheight}" valign="center" font="{light}" fontsize="80%" color="{clrWhite}" text="{title}" /> </area> </header> <!-- Available Variables datetime: |
