summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2015-01-15 14:03:22 +0100
committerlouis <louis.braun@gmx.de>2015-01-15 14:03:22 +0100
commit9923616f262eba9a307933c2769f24cb2d1ac12e (patch)
tree94231766c3cca52a5645fd48f3ce9934954ded41
parent635078cbd497630b809dc68267fec064a9f958eb (diff)
downloadvdr-plugin-skindesigner-9923616f262eba9a307933c2769f24cb2d1ac12e.tar.gz
vdr-plugin-skindesigner-9923616f262eba9a307933c2769f24cb2d1ac12e.tar.bz2
optimized some weather templates
-rw-r--r--skins/blackhole/xmlfiles/plug-weatherforecast-weatherforecast.xml8
-rw-r--r--skins/metrixhd/xmlfiles/plug-weatherforecast-weatherforecast.xml4
-rw-r--r--skins/nopacity/xmlfiles/plug-weatherforecast-weatherforecast.xml4
3 files changed, 8 insertions, 8 deletions
diff --git a/skins/blackhole/xmlfiles/plug-weatherforecast-weatherforecast.xml b/skins/blackhole/xmlfiles/plug-weatherforecast-weatherforecast.xml
index 66f3fce..4cccbaf 100644
--- a/skins/blackhole/xmlfiles/plug-weatherforecast-weatherforecast.xml
+++ b/skins/blackhole/xmlfiles/plug-weatherforecast-weatherforecast.xml
@@ -109,8 +109,8 @@
<loop name="hourly" x="0" y="0" orientation="horizontal" columnwidth="{areawidth}/8" rowheight="{areaheight}" overflow="cut">
<drawtext align="center" y="0" font="{semibold}" fontsize="15%" color="{clrWhite}" text="{hourly[timestamp]}" />
<drawimage imagetype="icon" path="{hourly[icon]}" align="center" y="15%" width="{columnwidth}*0.8" height="{columnwidth}*0.8"/>
- <drawtext align="center" y="{columnwidth}*0.8 + {rowheight}*0.2" font="{regular}" fontsize="15%" color="{clrWhite}" text="{hourly[temperature]}°C" />
- <drawtextbox x="0" y="{columnwidth}*0.8 + {rowheight}*0.4" width="{columnwidth}" maxlines="2" align="center" font="{regular}" fontsize="10%" color="{clrWhite}" text="{hourly[summary]}" />
+ <drawtext align="center" y="{columnwidth}*0.8 + {rowheight}*0.15" font="{regular}" fontsize="15%" color="{clrWhite}" text="{hourly[temperature]}°C" />
+ <drawtextbox x="0" y="{columnwidth}*0.8 + {rowheight}*0.3" width="{columnwidth}" maxlines="2" align="center" font="{regular}" fontsize="10%" color="{clrWhite}" text="{hourly[summary]}" />
<drawimage imagetype="skinpart" path="line_vertical" x="{columnwidth}" y="0" width="2" height="{rowheight}"/>
</loop>
</area>
@@ -118,8 +118,8 @@
<loop name="daily" x="0" y="0" orientation="horizontal" columnwidth="{areawidth}/7" rowheight="{areaheight}" overflow="cut">
<drawtext align="center" y="0" font="{semibold}" fontsize="14%" color="{clrWhite}" text="{daily[dayname]}" />
<drawtext align="center" y="10%" font="{semibold}" fontsize="14%" color="{clrWhite}" text="{daily[day]}" />
- <drawimage imagetype="icon" path="{daily[icon]}" align="center" y="25%" width="{columnwidth}*0.8" height="{columnwidth}*0.8"/>
- <drawtext align="center" y="{rowheight}*0.65" font="{regular}" fontsize="11%" color="{clrWhite}" text="{daily[temperaturemin]}°C - {daily[temperaturemax]}°C" />
+ <drawimage imagetype="icon" path="{daily[icon]}" align="center" y="25%" width="{columnwidth}*0.6" height="{columnwidth}*0.6"/>
+ <drawtext align="center" y="{rowheight}*0.65" font="{regular}" fontsize="13%" color="{clrWhite}" text="{daily[temperaturemin]}°C - {daily[temperaturemax]}°C" />
<drawtextbox x="{columnwidth}*0.02" y="{rowheight}*0.80" width="{columnwidth}*0.96" maxlines="2" align="center" font="{regular}" fontsize="8%" color="{clrWhite}" text="{daily[summary]}" />
<drawimage imagetype="skinpart" path="line_vertical" x="{columnwidth}" y="0" width="2" height="{rowheight}"/>
</loop>
diff --git a/skins/metrixhd/xmlfiles/plug-weatherforecast-weatherforecast.xml b/skins/metrixhd/xmlfiles/plug-weatherforecast-weatherforecast.xml
index b77899a..e4f4960 100644
--- a/skins/metrixhd/xmlfiles/plug-weatherforecast-weatherforecast.xml
+++ b/skins/metrixhd/xmlfiles/plug-weatherforecast-weatherforecast.xml
@@ -128,7 +128,7 @@
<!-- All Tokens from listelement are available -->
<currentelement delay="100" fadetime="0">
<area condition="{iscurrent}" x="51%" y="0" width="48%" height="100%" layer="3">
- <drawimage name="weathericon" imagetype="icon" path="{icon}" x="2%" y="0" width="{areawidth}*0.4" height="{areawidth}*0.4"/>
+ <drawimage name="weathericon" imagetype="icon" path="{icon}" x="2%" y="0" width="{areawidth}*0.3" height="{areawidth}*0.3"/>
<drawtext align="right" y="0" font="{semibold}" fontsize="8%" color="{clrWhite}" text="{city}" />
<drawtext align="right" y="7%" font="{light}" fontsize="8%" color="{clrWhite}" text="{timestamp}" />
<drawtext align="right" y="13%" font="{light}" fontsize="18%" color="{clrWhite}" text="{temperature}°C" />
@@ -161,4 +161,4 @@
</area>
</currentelement>
</menuitems>
-</menuplugin> \ No newline at end of file
+</menuplugin>
diff --git a/skins/nopacity/xmlfiles/plug-weatherforecast-weatherforecast.xml b/skins/nopacity/xmlfiles/plug-weatherforecast-weatherforecast.xml
index b8072b4..08a10e3 100644
--- a/skins/nopacity/xmlfiles/plug-weatherforecast-weatherforecast.xml
+++ b/skins/nopacity/xmlfiles/plug-weatherforecast-weatherforecast.xml
@@ -106,7 +106,7 @@
<fill color="{clrTransBlack}" />
</area>
<area condition="{iscurrent}" x="32%" y="2%" width="67%" height="96%" layer="3">
- <drawimage name="weathericon" imagetype="icon" path="{icon}" x="2%" y="0" width="{areawidth}*0.3" height="{areawidth}*0.3"/>
+ <drawimage name="weathericon" imagetype="icon" path="{icon}" x="2%" y="0" width="{areawidth}*0.2" height="{areawidth}*0.2"/>
<drawtext align="right" y="2%" font="{semibold}" fontsize="6%" color="{clrWhite}" text="{city}" />
<drawtext align="right" y="8%" font="{vdrOsd}" fontsize="6%" color="{clrWhite}" text="{timestamp}" />
<drawtext align="right" y="14%" font="{vdrOsd}" fontsize="12%" color="{clrWhite}" text="{temperature}°C" />
@@ -139,4 +139,4 @@
</area>
</currentelement>
</menuitems>
-</menuplugin> \ No newline at end of file
+</menuplugin>