diff options
author | louis <louis.braun@gmx.de> | 2015-05-16 07:57:14 +0200 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2015-05-16 07:57:14 +0200 |
commit | 53547389a4108b4120f04d3623ac16e913aa93f5 (patch) | |
tree | 34b7365aa4daffe59d54e65ee6a4f23837defefd /skins | |
parent | 727f20617cb17ab23f2e41a192366692c6d45374 (diff) | |
download | vdr-plugin-skindesigner-53547389a4108b4120f04d3623ac16e913aa93f5.tar.gz vdr-plugin-skindesigner-53547389a4108b4120f04d3623ac16e913aa93f5.tar.bz2 |
added timeshift support in displayreplay
Diffstat (limited to 'skins')
-rw-r--r-- | skins/metrixhd/xmlfiles/displayreplay.xml | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/skins/metrixhd/xmlfiles/displayreplay.xml b/skins/metrixhd/xmlfiles/displayreplay.xml index 6f92b74..907ea79 100644 --- a/skins/metrixhd/xmlfiles/displayreplay.xml +++ b/skins/metrixhd/xmlfiles/displayreplay.xml @@ -112,10 +112,13 @@ <!-- Available Variables totaltime: {rectotal} Total Time in hh:mm:ss + {timeshift} true if a timeshifted recording is displayed + {timeshifttotal} Total Time of timeshift event in hh:mm --> <totaltime> <area x="69%" y="92%" width="30%" height="7%" layer="2"> - <drawtext align="right" valign="center" font="{light}" fontsize="100%" color="{clrWhite}" text="{rectotal}" /> + <drawtext condition="not{timeshift}" align="right" valign="center" font="{light}" fontsize="100%" color="{clrWhite}" text="{rectotal}" /> + <drawtext condition="{timeshift}" align="right" valign="center" font="{light}" fontsize="100%" color="{clrWhite}" text="{timeshifttotal} ({rectotal})" /> </area> </totaltime> @@ -130,12 +133,19 @@ <!-- Available Variables progressbar: {current} current frame of recording {total} total frames of recording + {timeshift} true if a timeshifted recording is displayed + {timeshifttotal} total number of frames of timeshift event --> <progressbar> - <area x="5%" y="89%" width="90%" height="3%" layer="2"> + <area condition="not{timeshift}" x="5%" y="89%" width="90%" height="3%" layer="2"> <fill color="{clrDarkGray}" /> <drawrectangle x="0" y="0" width="{current}/{total}*{areawidth}" height="100%" color="{clrTransBlueLight}" /> </area> + <area condition="{timeshift}" x="5%" y="89%" width="90%" height="3%" layer="2"> + <fill color="{clrDarkGray}" /> + <drawrectangle x="0" y="0" width="{total}/{timeshifttotal}*{areawidth}" height="100%" color="{clrTransWhite}" /> + <drawrectangle x="0" y="0" width="{current}/{timeshifttotal}*{areawidth}" height="100%" color="{clrTransBlueLight}" /> + </area> </progressbar> <!-- Available Variables cutmarks: |