redesigned animations

This commit is contained in:
louis
2016-07-22 15:21:09 +02:00
parent 4f3c24df7b
commit a79af20c34
70 changed files with 1484 additions and 827 deletions

View File

@@ -8,6 +8,8 @@
<parameter type="int" name="fadetimecurrent" min="0" max="1000" displaytext="{tr(fadecurrenttext)}" helptext="{tr(helpfadecurrent)}">50</parameter>
<parameter type="int" name="shifttimechannel" min="0" max="1000" displaytext="{tr(shifttimechanneltext)}" helptext="{tr(helpshifttimechannel)}">0</parameter>
<parameter type="int" name="shifttimedatetime" min="0" max="1000" displaytext="{tr(shifttimedatetimetext)}" helptext="{tr(helpshifttimedatetime)}">200</parameter>
<parameter type="int" name="listfadetime" min="0" max="1000" displaytext="{tr(listfadetimetext)}" helptext="{tr(helplistfadetime)}">0</parameter>
<parameter type="int" name="listshifttime" min="0" max="1000" displaytext="{tr(listshifttimetext)}" helptext="{tr(helplistshifttime)}">100</parameter>
<parameter type="string" name="showdevices" displaytext="{tr(showdevices)}" helptext="{tr(helpshowdevices)}" options="no,menu,yes">0</parameter>
<parameter type="string" name="showweather" displaytext="{tr(showweather)}" helptext="{tr(helpshowweather)}" options="no,menu,yes">1</parameter>
<parameter type="string" name="recmenuorientation" displaytext="{tr(recmenuorientation)}" options="horizontal,vertical">1</parameter>
@@ -196,6 +198,22 @@
<trans lang="fi_FI">Liukuman kesto millisekunteina. Nollasta eriävä arvo aktivoi transitioefektit päävalikon ajastimille.</trans>
<trans lang="it_IT">Tempi di cambio del display dei Timer nel menù principale in ms. Se impostati a 0, i timers sono mostrati immediatamente.</trans>
</token>
<token name="tr(listfadetimetext)">
<trans lang="en_EN">Fade time menus [ms]</trans>
<trans lang="de_DE">Überblendungszeit Menüs [ms]</trans>
</token>
<token name="tr(listshifttimetext)">
<trans lang="en_EN">Shift time menus [ms]</trans>
<trans lang="de_DE">Übergangszeit Menüelemente [ms]</trans>
</token>
<token name="tr(helplistfadetime)">
<trans lang="en_EN">Fade time of menu elements when scrolling through the menus. If set to 0, this effect is disabled.</trans>
<trans lang="de_DE">Überblendungszeit der Menüelemente beim Bewegen durch die Menüs. Steht dieser Wert auf 0, ist dieser Effekt deaktiviert.</trans>
</token>
<token name="tr(helplistshifttime)">
<trans lang="en_EN">Shift time of menu elements when scrolling through the menus. If set to 0, this effect is disabled.</trans>
<trans lang="de_DE">Übergangszeit der Menüelemente beim Bewegen durch die Menüs. Steht dieser Wert auf 0, ist dieser Effekt deaktiviert.</trans>
</token>
<token name="tr(showdevices)">
<trans lang="en_EN">Show DVB device info</trans>
<trans lang="de_DE">DVB Karten Info anzeigen</trans>

View File

@@ -176,7 +176,6 @@
</area>
</scrapercontent>
<channelhints>
<area background="true" x="0" y="{areaheight}*0.75 - {numhints}*{areaheight}*{zapchannelhintsheight}/1000 + 1" width="{zapchannelhintswidth}*{areawidth}/100" height="{numhints}*{areaheight}*{zapchannelhintsheight}/1000" layer="1">
<fill color="{menuback}" />
@@ -239,11 +238,13 @@
</channellistback>
<channellist x="0" y="0" orientation="vertical" width="30%" height="100%" align="center" numlistelements="{listitemsmax}" fadetime="{fadetimezapcockpit}" shifttime="{shifttimezapcockpit}" shiftmode="slowed" shifttype="left">
<listelement>
<area x="0" width="100%" layer="4">
<drawrectangle condition="not{current}" x="0" y="0" width="100%" height="100%" color="{menuback}" />
<drawrectangle condition="not{current}" x="0" y="{areaheight}-1" width="100%" height="1" color="{menubackline}" />
<drawrectangle condition="{current}" x="0" y="0" width="100%" height="100%" color="{menuactive}" />
<listelement fadetime="{listfadetime}" shifttime="{listshifttime}">
<area indicator="true" condition="{current}" x="0" width="100%" layer="4">
<drawrectangle x="0" y="0" width="100%" height="100%" color="{menuactive}" />
</area>
<area condition="not{current}" x="0" width="100%" layer="4">
<drawrectangle x="0" y="0" width="100%" height="100%" color="{menuback}" />
<drawrectangle x="0" y="{areaheight}-1" width="100%" height="1" color="{menubackline}" />
</area>
<area x="1%" width="25%" layer="5">
<drawimage condition="{channellogoexists}" name="logo" imagetype="channellogo" path="{channelid}" align="center" width="80%" height="80%" valign="center" />
@@ -287,11 +288,13 @@
</grouplistback>
<grouplist x="70%" y="0" orientation="vertical" width="30%" height="100%" align="center" numlistelements="{listitemsmax}-2" fadetime="{fadetimezapcockpit}" shifttime="{shifttimezapcockpit}" shiftmode="slowed" shifttype="right">
<listelement>
<area x="0" width="100%" layer="5">
<drawrectangle condition="not{current}" x="0" y="0" width="100%" height="100%" color="{menuback}" />
<drawrectangle condition="not{current}" x="0" y="{areaheight}-1" width="100%" height="1" color="{menubackline}" />
<drawrectangle condition="{current}" x="0" y="0" width="100%" height="100%" color="{menuactive}" />
<listelement fadetime="{listfadetime}" shifttime="{listshifttime}">
<area indicator="true" condition="{current}" x="0" width="100%" layer="5">
<drawrectangle x="0" y="0" width="100%" height="100%" color="{menuactive}" />
</area>
<area condition="not{current}" x="0" width="100%" layer="5">
<drawrectangle x="0" y="0" width="100%" height="100%" color="{menuback}" />
<drawrectangle x="0" y="{areaheight}-1" width="100%" height="1" color="{menubackline}" />
</area>
<area x="0" width="24%" layer="5">
<drawimage condition="not{current}" imagetype="icon" path="folder" align="center" valign="center" width="90%" height="90%" />
@@ -317,11 +320,13 @@
</groupchannellistback>
<groupchannellist x="40%" y="3%" orientation="vertical" width="30%" height="94%" align="center" numlistelements="{listitemsmax}" fadetime="{fadetimezapcockpit}" shifttime="{shifttimezapcockpit}" shiftmode="slowed" startx="70%" starty="3%">
<listelement>
<area x="0" width="100%" layer="2">
<drawrectangle condition="not{current}" x="0" y="0" width="100%" height="100%" color="{menuback}" />
<drawrectangle condition="not{current}" x="0" y="{areaheight}-1" width="100%" height="1" color="{menubackline}" />
<drawrectangle condition="{current}" x="0" y="0" width="100%" height="100%" color="{menuactive}" />
<listelement fadetime="{listfadetime}" shifttime="{listshifttime}">
<area indicator="true" condition="{current}" x="0" width="100%" layer="2">
<drawrectangle x="0" y="0" width="100%" height="100%" color="{menuactive}" />
</area>
<area condition="not{current}" x="0" width="100%" layer="2">
<drawrectangle x="0" y="0" width="100%" height="100%" color="{menuback}" />
<drawrectangle x="0" y="{areaheight}-1" width="100%" height="1" color="{menubackline}" />
</area>
<area x="1%" width="25%" layer="5">
<drawimage condition="{channellogoexists}" name="logo" imagetype="channellogo" path="{channelid}" align="center" width="80%" height="80%" valign="center" />

View File

@@ -1,6 +1,6 @@
<menuchannels x="0" y="0" width="100%" height="100%" fadetime="0">
<menuitems x="0" y="10%" orientation="vertical" width="100%" height="82%" align="center" numlistelements="{chlistitemsmax}">
<listelement>
<listelement fadetime="{listfadetime}" shifttime="{listshifttime}">
<areacontainer condition="not{current}">
<!-- Background -->
<area x="1%" width="58%" layer="2">
@@ -24,7 +24,7 @@
</areacontainer>
<areacontainer condition="{current}">
<!-- Background -->
<area x="1%" width="58%" layer="2">
<area indicator="true" x="1%" width="58%" layer="2">
<fill condition="{current}" color="{menuactive}" />
<fill condition="{separator}" color="{menuseparator}" />
</area>

View File

@@ -82,12 +82,10 @@
</scrollbar>
<menuitems x="0" y="10%" orientation="vertical" width="94%" height="82%" align="center" menuitemwidth="94%" determinatefont="column1" numlistelements="{listitemsmax}">
<listelement>
<area x="0" condition="not{separator}" width="100%" layer="2">
<fill condition="not{current}" color="{clrTransparent}" />
<fill condition="{current}" color="{menuactive}" />
<listelement fadetime="{listfadetime}" shifttime="{listshifttime}">
<area indicator="true" condition="{current}++not{separator}" x="0" width="100%" layer="2">
<fill color="{menuactive}" />
</area>
<!-- Separators -->
<area x="0" condition="{separator}" width="100%" layer="2">
<fill color="{menualternate}" />

View File

@@ -121,7 +121,7 @@
</areacontainer>
</header>
<datetime>
<datetime shifttime="400" shifttype="right">
<area x="75%" y="0" width="12%" height="10%" layer="2">
<drawtext align="right" y="0%" font="{light}" fontsize="55%" color="{fontactive}" text="{dayname}" />
<drawtext align="right" y="45%" font="{light}" fontsize="55%" color="{fontactive}" text="{day}. {monthnameshort}" />
@@ -131,7 +131,7 @@
</area>
</datetime>
<currentweather condition="gt({indexshowweather},0)">
<currentweather condition="gt({indexshowweather},0)" shifttime="400" shifttype="right">
<areacontainer condition="not{mainmenusmall}++eq({indexmainmenuorientation},0)">
<area x="50%" y="0" width="14%" height="10%" layer="3">
<drawimage imagetype="icon" path="{icon}" align="center" valign="center" width="{areaheight}*0.9" height="{areaheight}*0.9"/>
@@ -455,23 +455,21 @@
</temperatures>
<menuitems x="0" y="7%" orientation="vertical" width="70%" height="57%" align="center" numlistelements="{menuitemsmax}">
<listelement>
<listelement fadetime="{listfadetime}" shifttime="{listshifttime}">
<areacontainer x="0" width="57%" condition="not{mainmenusmall}">
<area layer="2">
<fill condition="not{current}" color="{clrTransparent}" />
<fill condition="{current}" color="{menuactive}" />
<area indicator="true" condition="{current}" layer="2">
<fill color="{menuactive}" />
</area>
<areascroll condition="{current}" scrollelement="menutext" mode="forthandback" orientation="horizontal" delay="2000" scrollspeed="medium" x="0" width="99%" layer="3">
<drawtext name="menutext" x="20" valign="center" font="{light}" fontsize="85%" color="{fontactive}" text="{number} {label}" />
</areascroll>
<areascroll condition="not{current}" scrollelement="menutext" mode="forthandback" orientation="horizontal" delay="2000" scrollspeed="medium" x="0" width="99%" layer="3">
<areascroll condition="not{current}" scrollelement="menutext" mode="forthandback" orientation="horizontal" delay="2000" scrollspeed="medium" x="0" width="99%" layer="4">
<drawtext name="menutext" x="20" valign="center" font="{light}" fontsize="85%" color="{fontdefault}" text="{number} {label}" />
</areascroll>
</areacontainer>
<areacontainer x="0" width="41%" condition="{mainmenusmall}">
<area layer="2">
<fill condition="not{current}" color="{clrTransparent}" />
<fill condition="{current}" color="{menuactive}" />
<area indicator="true" condition="{current}" layer="2">
<fill color="{menuactive}" />
</area>
<areascroll condition="{current}" scrollelement="menutext" mode="forthandback" orientation="horizontal" delay="2000" scrollspeed="medium" x="0" width="99%" layer="3">
<drawtext name="menutext" x="20" valign="center" font="{light}" fontsize="85%" color="{fontactive}" text="{number} {label}" />
@@ -493,7 +491,7 @@
</menuitems>
<menuitems orientation="horizontal" condition="not{mainmenusmall}" x="2%" y="10%" width="96%" height="50%" align="center" numlistelements="{menuitemsmax}">
<listelement>
<listelement fadetime="{listfadetime}" shifttime="{listshifttime}">
<areacontainer condition="not{current}">
<area x="0" width="100%" y="10%" height="80%" layer="3">
<drawimage imagetype="menuicon" path="{icon}" align="center" valign="center" width="{areaheight}*0.4" height="{areaheight}*0.4"/>
@@ -503,7 +501,7 @@
</areascroll>
</areacontainer>
<areacontainer condition="{current}">
<area x="0" y="15%" width="100%" height="75%" layer="2">
<area indicator="true" x="0" y="15%" width="100%" height="75%" layer="2">
<fill color="{menuactive}" />
</area>
<area x="0" width="100%" y="10%" height="80%" layer="3">
@@ -516,14 +514,14 @@
</listelement>
</menuitems>
<menuitems orientation="horizontal" condition="{mainmenusmall}" x="0" y="7%" width="44%" height="56%" align="center" numlistelements="{menuitemsmax}">
<listelement>
<listelement fadetime="{listfadetime}" shifttime="{listshifttime}">
<areacontainer condition="not{current}">
<area x="0" width="100%" y="10%" height="60%" layer="3">
<drawimage imagetype="menuicon" path="{icon}" valign="center" align="center" x="0" y="10%" width="{areawidth}*0.7" height="{areawidth}*0.7"/>
</area>
</areacontainer>
<areacontainer condition="{current}">
<area x="0" y="10%" width="100%" height="60%" layer="2">
<area indicator="true" x="0" y="10%" width="100%" height="60%" layer="2">
<fill color="{menuactive}" />
</area>
<area x="0" width="100%" y="10%" height="60%" layer="3">

View File

@@ -44,10 +44,9 @@
</sortmode>
<menuitems x="0" y="10%" orientation="vertical" width="100%" height="82%" align="center" numlistelements="{listitemsmax}">
<listelement>
<listelement fadetime="{listfadetime}" shifttime="{listshifttime}">
<!-- Background -->
<area x="1%" width="58%" layer="2">
<fill condition="not{current}" color="{clrTransparent}" />
<area indicator="true" x="1%" width="58%" layer="2">
<fill condition="{folder}" color="{menuseparator}" />
<fill condition="{current}" color="{menuactive}" />
</area>
@@ -99,10 +98,9 @@
</menuitems>
<menuitems x="0" y="10%" orientation="horizontal" width="100%" height="82%" align="center" numlistelements="10">
<listelement>
<listelement fadetime="{listfadetime}" shifttime="{listshifttime}">
<!-- Background -->
<area y="64%" height="36%" layer="2">
<fill condition="not{current}" color="{clrTransparent}" />
<area indicator="true" y="64%" height="36%" layer="2">
<fill condition="{folder}" color="{menuseparator}" />
<fill condition="{current}" color="{menuactive}" />
</area>

View File

@@ -9,16 +9,16 @@
</header>
<menuitems x="0" y="10%" orientation="vertical" width="100%" height="82%" align="center" numlistelements="{listitemsmax}">
<listelement>
<listelement fadetime="{listfadetime}" shifttime="{listshifttime}">
<!-- Background -->
<area x="1%" width="58%" layer="2">
<fill condition="not{current}" color="{clrTransparent}" />
<area indicator="true" condition="{current}||{separator}" x="1%" width="58%" layer="2">
<fill condition="{current}" color="{menuactive}" />
<fill condition="{separator}" color="{menuseparator}" />
</area>
<!-- WHATSON -->
<areacontainer x="1%" width="58%" condition="not{separator}++{whatson}++not{current}">
<area condition="not{running}" x="0" width="93%" layer="3">
<area condition="not{running}" width="93%" layer="3">
<drawtext name="menutext" x="20" valign="center" font="{light}" fontsize="90%" color="{fontdefault}" text="{start} {title}" />
</area>
<area condition="{running}" layer="3">

View File

@@ -46,10 +46,9 @@
</colorbuttons>
<menuitems x="0" y="10%" orientation="vertical" width="98%" height="80%" align="center" numlistelements="10">
<listelement>
<area x="0" width="60%" layer="2">
<fill condition="not{current}" color="{clrTransparent}" />
<fill condition="{current}" color="{menuactive}" />
<listelement fadetime="{listfadetime}" shifttime="{listshifttime}">
<area indicator="true" condition="{current}" x="0" width="60%" layer="2">
<fill color="{menuactive}" />
</area>
<area condition="not{current}" x="0" width="60%" layer="3">
<drawtext x="20" valign="center" font="{light}" fontsize="85%" color="{fontdefault}" text="{number} {label}" />

View File

@@ -1,10 +1,9 @@
<menutimers x="0" y="0" width="100%" height="100%" fadetime="0">
<menuitems x="0" y="10%" orientation="vertical" width="100%" height="82%" align="center" numlistelements="{listitemsmax}">
<listelement>
<listelement fadetime="{listfadetime}" shifttime="{listshifttime}">
<!-- Background -->
<area x="1%" width="58%" layer="2">
<fill condition="not{current}" color="{clrTransparent}" />
<fill condition="{current}" color="{menuactive}" />
<area indicator="true" condition="{current}" x="1%" width="58%" layer="2">
<fill color="{menuactive}" />
</area>
<!-- Element -->
<areacontainer condition="not{current}">

View File

@@ -49,11 +49,10 @@
</scrollbar>
<menuitems x="0" y="10%" orientation="vertical" width="100%" height="82%" align="center" numlistelements="10">
<listelement>
<listelement fadetime="{listfadetime}" shifttime="{listshifttime}">
<!-- Background -->
<area x="1%" width="46%" layer="2">
<fill condition="not{current}" color="{clrTransparent}" />
<fill condition="{current}" color="{menuactive}" />
<area indicator="true" condition="{current}" x="1%" width="46%" layer="2">
<fill color="{menuactive}" />
</area>
<area x="1%" width="46%" layer="3">
<drawtext condition="not{current}" x="10" valign="center" font="{light}" fontsize="90%" color="{fontdefault}" text="{menuitemtext}" />
@@ -96,11 +95,10 @@
</currentelement>
</menuitems>
<menuitems x="0" y="10%" orientation="horizontal" width="100%" height="90%" align="center" numlistelements="3">
<listelement>
<listelement fadetime="{listfadetime}" shifttime="{listshifttime}">
<!-- Background -->
<area y="80%" height="20%" layer="2">
<fill condition="not{current}" color="{clrTransparent}" />
<fill condition="{current}" color="{menuactive}" />
<area indicator="true" condition="{current}" y="80%" height="20%" layer="2">
<fill color="{menuactive}" />
</area>
<area y="80%" height="20%" layer="3">
<drawtextbox condition="not{current}" x="0" y="0" width="100%" height="100%" align="center" valign="center" font="{light}" fontsize="40%" color="{fontdefault}" text="{menuitemtext}" />