mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 15:58:31 +00:00
changed skin handling and added themes support for skins
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<background>
|
||||
<area x="0" y="0" width="100%" height="100%" layer="1">
|
||||
<fill color="{clrTransBlack}" />
|
||||
<drawrectangle x="0" y="0" width="100%" height="10%" color="{clrDarkBlue}" />
|
||||
<drawrectangle x="0" y="0" width="100%" height="10%" color="{clrBackground}" />
|
||||
</area>
|
||||
<area x="0" y="0" width="100%" height="10%" layer="2">
|
||||
<drawimage imagetype="skinpart" path="headertop" x="0" y="0" width="100%" height="100%"/>
|
||||
@@ -10,9 +10,9 @@
|
||||
</background>
|
||||
<scrollbar>
|
||||
<area x="97%" y="25%" width="2%" height="60%" layer="2">
|
||||
<fill color="{clrDarkBlue}" />
|
||||
<fill color="{clrBorder}" />
|
||||
<drawrectangle x="2" y="2" width="{areawidth} - 4" height="{areaheight} - 4" color="{clrTransparent}" />
|
||||
<drawrectangle x="4" y="4 + {areaheight} * {offset} / 1000" width="{areawidth} - 8" height="{areaheight} * {height} / 1000 - 8" color="{clrDarkGreen}" />
|
||||
<drawrectangle x="4" y="4 + {areaheight} * {offset} / 1000" width="{areawidth} - 8" height="{areaheight} * {height} / 1000 - 8" color="{clrProgressbar}" />
|
||||
</area>
|
||||
</scrollbar>
|
||||
<!-- Available Variables in detailheader elements:
|
||||
@@ -245,9 +245,10 @@
|
||||
-->
|
||||
<tablabels>
|
||||
<area x="1%" y="85%" width="98%" height="5%" layer="3">
|
||||
<drawrectangle x="0" y="1" width="100%" height="1" color="{clrBorder}" />
|
||||
<loop name="tabs" x="0" y="0" orientation="horizontal">
|
||||
<drawrectangle condition="{tabs[current]}" x="0" y="0" width="{width(label)}" height="100%" color="{clrDarkGreen}" />
|
||||
<drawrectangle condition="not{tabs[current]}" x="0" y="0" width="{width(label)}" height="100%" color="{clrDarkGreen}" />
|
||||
<drawrectangle condition="{tabs[current]}" x="0" y="1" width="{width(label)}" height="100%" color="{clrBorder}" />
|
||||
<drawrectangle condition="not{tabs[current]}" x="0" y="1" width="{width(label)}" height="100%" color="{clrBorder}" />
|
||||
<drawrectangle condition="not{tabs[current]}" x="2" y="2" width="{width(label)} - 4" height="{areaheight}-4" color="{clrTransparent}" />
|
||||
<drawtext name="label" x="0" valign="center" font="{vdrOsd}" fontsize="95%" color="{clrWhite}" text=" {tabs[title]} " />
|
||||
</loop>
|
||||
|
||||
Reference in New Issue
Block a user