diff options
21 files changed, 74 insertions, 30 deletions
@@ -192,3 +192,4 @@ Version 0.2.1 - fixed bug that global tokens were not parsed correctly - added finnish translation +- some more nopacity optimizations - thanx@utility diff --git a/skins/nopacity/setup.xml b/skins/nopacity/setup.xml new file mode 100644 index 0000000..7252c47 --- /dev/null +++ b/skins/nopacity/setup.xml @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE setup SYSTEM "../../dtd/setup.dtd"> + +<setup> + <!-- + define all your parameters here which should be configurable via + OSD and the skindesigner setup menu. + Parameters must have type "bool" or "integer". For "bool" Parameters + a choice yes/no is shown in the setup menu, a "integer" parameter + can be configured to a value between "min" and "max". If "min" is not + set, "0" is the minimum, if "max" is not set, "1000" is maximum. + "displayname" is used to display the option in the setup menu. + The configured parameter value is the default value. + --> + <parameters> + <parameter type="bool" name="showposter" displaytext="{tr(showpostertext)}">1</parameter> + <parameter type="bool" name="showweather" displaytext="{tr(showweather)}">1</parameter> + <parameter type="int" name="fadeTime" min="0" max="1000" displaytext="{tr(fadeText)}">300</parameter> + <parameter type="int" name="transparency" min="0" max="30" displaytext="{tr(transparency)}">20</parameter> + </parameters> + + <!-- + translations of displaytexts + --> + <translations> + <token name="tr(showpostertext)"> + <trans lang="en_EN">Show Poster when switching channel</trans> + <trans lang="de_DE">Poster beim Umschalten anzeigen</trans> + </token> + <token name="tr(showweather)"> + <trans lang="en_EN">Show Weather in infobar</trans> + <trans lang="de_DE">Wetter in Infobar anzeigen</trans> + </token> + <token name="tr(fadeText)"> + <trans lang="en_EN">Fade time in ms (needs VDR restart)</trans> + <trans lang="de_DE">Einblendzeit in ms (erfordert VDR Neustart)</trans> + </token> + <token name="tr(transparency)"> + <trans lang="en_EN">Transpareny channel, replay and volume (needs VDR restart)</trans> + <trans lang="de_DE">Transparenz bei Kanal,Wiedergabe und Lautstärke (erfordert VDR Neustart)</trans> + </token> + </translations> +</setup> diff --git a/skins/nopacity/themes/darkred/theme.xml b/skins/nopacity/themes/darkred/theme.xml index 7ba4794..56b7df4 100644 --- a/skins/nopacity/themes/darkred/theme.xml +++ b/skins/nopacity/themes/darkred/theme.xml @@ -11,6 +11,7 @@ <color name="clrTransWhite">99FFFFFF</color> <color name="clrBlack">FF000000</color> <color name="clrProgressbar">FF3D0000</color> + <color name="clrScrollbar">FF3D0000</color> <color name="clrBorder">FF2B0000</color> <color name="clrGray">FF858585</color> <color name="clrBackground">B0000000</color> @@ -23,6 +24,5 @@ <color name="clrTransparent">00000000</color> </colors> <variables> - <var type="int" name="fadeTime">300</var> </variables> </globals> diff --git a/skins/nopacity/themes/default/theme.xml b/skins/nopacity/themes/default/theme.xml index ec3898e..82c075c 100644 --- a/skins/nopacity/themes/default/theme.xml +++ b/skins/nopacity/themes/default/theme.xml @@ -11,6 +11,7 @@ <color name="clrTransWhite">99FFFFFF</color> <color name="clrBlack">FF000000</color> <color name="clrProgressbar">FF8EAB21</color> + <color name="clrScrollbar">FF8EAB21</color> <color name="clrBorder">FF4C5C11</color> <color name="clrGray">FF858585</color> <color name="clrBackground">B012273F</color> @@ -23,6 +24,5 @@ <color name="clrTransparent">00000000</color> </colors> <variables> - <var type="int" name="fadeTime">300</var> </variables> </globals> diff --git a/skins/nopacity/xmlfiles/displaychannel.xml b/skins/nopacity/xmlfiles/displaychannel.xml index aabe707..354e1a7 100644 --- a/skins/nopacity/xmlfiles/displaychannel.xml +++ b/skins/nopacity/xmlfiles/displaychannel.xml @@ -4,7 +4,7 @@ <displaychannel x="0" y="0" width="100%" height="100%" fadetime="{fadeTime}"> <background> - <area x="1%" y="74%" width="98%" height="25%" layer="1" transparency="20"> + <area x="1%" y="74%" width="98%" height="25%" layer="1" transparency="{transparency}"> <drawimage imagetype="skinpart" path="displaychannelback" x="0" y="0" width="100%" height="100%"/> </area> <area x="1%" y="74%" width="98%" height="25%" layer="7"> @@ -47,7 +47,7 @@ </datetime> <currentweather> - <area x="60%" y="74%" width="18%" height="6%" layer="2"> + <area condition="{showweather}" x="60%" y="74%" width="18%" height="6%" layer="2"> <drawimage name="weathericon" imagetype="icon" path="{icon}" x="{areawidth}/2 + {width(temperature)}/2 - {width(weathericon)}/2 + 5" valign="center" width="{areaheight}*0.7" height="{areaheight}*0.7"/> <drawtext name="temperature" x="{areawidth}/2 - {width(temperature)}/2 - {width(weathericon)}/2" valign="center" font="{vdrOsd}" fontsize="70%" color="{clrWhite}" text="{temperature}°C" /> </area> @@ -195,10 +195,10 @@ {isbanner} true if image is a banner, false if it is a poster --> <scrapercontent> - <area condition="{isbanner}" x="1%" y="1%" width="{areaheight}*0.13*{mediawidth}/{mediaheight}" height="13%" layer="2"> + <area condition="{showposter}++{isbanner}" x="1%" y="1%" width="{areaheight}*0.13*{mediawidth}/{mediaheight}" height="13%" layer="2"> <drawimage imagetype="image" path="{mediapath}" align="center" valign="center" width="{areawidth}" height="{areaheight}"/> </area> - <area condition="not{isbanner}" x="1%" y="1%" width="{areaheight}*0.5*{mediawidth}/{mediaheight}" height="50%" layer="2"> + <area condition="{showposter}++not{isbanner}" x="1%" y="1%" width="{areaheight}*0.5*{mediawidth}/{mediaheight}" height="50%" layer="2"> <drawimage imagetype="image" path="{mediapath}" x="5" y="5" width="{areawidth}-10" height="{areaheight}-10"/> </area> </scrapercontent> @@ -211,14 +211,14 @@ {error} true if message is a error message --> <message> - <area x="5%" y="58%" width="90%" height="15%" layer="6"> + <area x="5%" y="88%" width="90%" height="10%" layer="6"> <drawimage condition="{status}" imagetype="skinpart" path="messageStatus" x="0" y="0" width="100%" height="100%" /> <drawimage condition="{info}" imagetype="skinpart" path="messageInfo" x="0" y="0" width="100%" height="100%" /> <drawimage condition="{warning}" imagetype="skinpart" path="messageWarning" x="0" y="0" width="100%" height="100%" /> <drawimage condition="{error}" imagetype="skinpart" path="messageError" x="0" y="0" width="100%" height="100%" /> </area> - <area x="5%" y="58%" width="90%" height="15%" layer="7"> - <drawtext align="center" valign="center" font="{light}" fontsize="40%" color="{clrWhite}" text="{text}" /> + <area x="5%" y="88%" width="90%" height="10%" layer="7"> + <drawtext align="center" valign="center" font="{light}" fontsize="50%" color="{clrWhite}" text="{text}" /> </area> </message> diff --git a/skins/nopacity/xmlfiles/displaymenuchannels.xml b/skins/nopacity/xmlfiles/displaymenuchannels.xml index b90ece5..8a0ff34 100644 --- a/skins/nopacity/xmlfiles/displaymenuchannels.xml +++ b/skins/nopacity/xmlfiles/displaymenuchannels.xml @@ -3,7 +3,7 @@ <area x="30%" y="11%" width="2%" height="78%" layer="2"> <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="{clrProgressbar}" /> + <drawrectangle x="4" y="4 + {areaheight} * {offset} / 1000" width="{areawidth} - 8" height="{areaheight} * {height} / 1000 - 8" color="{clrScrollbar}" /> </area> </scrollbar> diff --git a/skins/nopacity/xmlfiles/displaymenudetailepg.xml b/skins/nopacity/xmlfiles/displaymenudetailepg.xml index 32e7c17..a49ad36 100644 --- a/skins/nopacity/xmlfiles/displaymenudetailepg.xml +++ b/skins/nopacity/xmlfiles/displaymenudetailepg.xml @@ -12,7 +12,7 @@ <area x="97%" y="25%" width="2%" height="60%" layer="2"> <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="{clrProgressbar}" /> + <drawrectangle x="4" y="4 + {areaheight} * {offset} / 1000" width="{areawidth} - 8" height="{areaheight} * {height} / 1000 - 8" color="{clrScrollbar}" /> </area> </scrollbar> <!-- Available Variables in detailheader elements: diff --git a/skins/nopacity/xmlfiles/displaymenudetailrecording.xml b/skins/nopacity/xmlfiles/displaymenudetailrecording.xml index 9ebf380..28469db 100644 --- a/skins/nopacity/xmlfiles/displaymenudetailrecording.xml +++ b/skins/nopacity/xmlfiles/displaymenudetailrecording.xml @@ -12,7 +12,7 @@ <area x="97%" y="25%" width="2%" height="60%" layer="2"> <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="{clrProgressbar}" /> + <drawrectangle x="4" y="4 + {areaheight} * {offset} / 1000" width="{areawidth} - 8" height="{areaheight} * {height} / 1000 - 8" color="{clrScrollbar}" /> </area> </scrollbar> <!-- Available Variables in detailheader elements: diff --git a/skins/nopacity/xmlfiles/displaymenudetailtext.xml b/skins/nopacity/xmlfiles/displaymenudetailtext.xml index 6abd03e..dae4e61 100644 --- a/skins/nopacity/xmlfiles/displaymenudetailtext.xml +++ b/skins/nopacity/xmlfiles/displaymenudetailtext.xml @@ -12,7 +12,7 @@ <area x="97%" y="11%" width="2%" height="79%" layer="2"> <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="{clrProgressbar}" /> + <drawrectangle x="4" y="4 + {areaheight} * {offset} / 1000" width="{areawidth} - 8" height="{areaheight} * {height} / 1000 - 8" color="{clrScrollbar}" /> </area> </scrollbar> <!-- Available Variables in tab elements: diff --git a/skins/nopacity/xmlfiles/displaymenumain.xml b/skins/nopacity/xmlfiles/displaymenumain.xml index 8384441..5af1bc9 100644 --- a/skins/nopacity/xmlfiles/displaymenumain.xml +++ b/skins/nopacity/xmlfiles/displaymenumain.xml @@ -49,7 +49,7 @@ <area x="30%" y="11%" width="2%" height="78%" layer="2"> <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="{clrProgressbar}" /> + <drawrectangle x="4" y="4 + {areaheight} * {offset} / 1000" width="{areawidth} - 8" height="{areaheight} * {height} / 1000 - 8" color="{clrScrollbar}" /> </area> </scrollbar> diff --git a/skins/nopacity/xmlfiles/displaymenurecordings.xml b/skins/nopacity/xmlfiles/displaymenurecordings.xml index 4998958..53ca60d 100644 --- a/skins/nopacity/xmlfiles/displaymenurecordings.xml +++ b/skins/nopacity/xmlfiles/displaymenurecordings.xml @@ -3,7 +3,7 @@ <area x="30%" y="11%" width="2%" height="78%" layer="2"> <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="{clrProgressbar}" /> + <drawrectangle x="4" y="4 + {areaheight} * {offset} / 1000" width="{areawidth} - 8" height="{areaheight} * {height} / 1000 - 8" color="{clrScrollbar}" /> </area> </scrollbar> diff --git a/skins/nopacity/xmlfiles/displaymenuschedules.xml b/skins/nopacity/xmlfiles/displaymenuschedules.xml index 130e5e0..27b84e9 100644 --- a/skins/nopacity/xmlfiles/displaymenuschedules.xml +++ b/skins/nopacity/xmlfiles/displaymenuschedules.xml @@ -24,7 +24,7 @@ <area x="30%" y="11%" width="2%" height="78%" layer="2"> <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="{clrProgressbar}" /> + <drawrectangle x="4" y="4 + {areaheight} * {offset} / 1000" width="{areawidth} - 8" height="{areaheight} * {height} / 1000 - 8" color="{clrScrollbar}" /> </area> </scrollbar> diff --git a/skins/nopacity/xmlfiles/displaymenusetup.xml b/skins/nopacity/xmlfiles/displaymenusetup.xml index 7bb2dde..519d818 100644 --- a/skins/nopacity/xmlfiles/displaymenusetup.xml +++ b/skins/nopacity/xmlfiles/displaymenusetup.xml @@ -4,7 +4,7 @@ <area x="30%" y="11%" width="2%" height="78%" layer="2"> <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="{clrProgressbar}" /> + <drawrectangle x="4" y="4 + {areaheight} * {offset} / 1000" width="{areawidth} - 8" height="{areaheight} * {height} / 1000 - 8" color="{clrScrollbar}" /> </area> </scrollbar> diff --git a/skins/nopacity/xmlfiles/displaymenutimers.xml b/skins/nopacity/xmlfiles/displaymenutimers.xml index db53f5d..5b1999b 100644 --- a/skins/nopacity/xmlfiles/displaymenutimers.xml +++ b/skins/nopacity/xmlfiles/displaymenutimers.xml @@ -3,7 +3,7 @@ <area x="30%" y="11%" width="2%" height="78%" layer="2"> <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="{clrProgressbar}" /> + <drawrectangle x="4" y="4 + {areaheight} * {offset} / 1000" width="{areawidth} - 8" height="{areaheight} * {height} / 1000 - 8" color="{clrScrollbar}" /> </area> </scrollbar> diff --git a/skins/nopacity/xmlfiles/displaymessage.xml b/skins/nopacity/xmlfiles/displaymessage.xml index f8c072b..84d9470 100644 --- a/skins/nopacity/xmlfiles/displaymessage.xml +++ b/skins/nopacity/xmlfiles/displaymessage.xml @@ -14,14 +14,14 @@ {error} true if message is a error message
-->
<message>
- <area x="5%" y="80%" width="90%" height="15%" layer="6">
+ <area x="5%" y="88%" width="90%" height="10%" layer="6">
<drawimage condition="{status}" imagetype="skinpart" path="messageStatus" x="0" y="0" width="100%" height="100%" />
<drawimage condition="{info}" imagetype="skinpart" path="messageInfo" x="0" y="0" width="100%" height="100%" />
<drawimage condition="{warning}" imagetype="skinpart" path="messageWarning" x="0" y="0" width="100%" height="100%" />
<drawimage condition="{error}" imagetype="skinpart" path="messageError" x="0" y="0" width="100%" height="100%" />
</area>
- <area x="5%" y="80%" width="90%" height="15%" layer="7">
- <drawtext align="center" valign="center" font="{light}" fontsize="40%" color="{clrWhite}" text="{text}" />
+ <area x="5%" y="88%" width="90%" height="10%" layer="7">
+ <drawtext align="center" valign="center" font="{light}" fontsize="50%" color="{clrWhite}" text="{text}" />
</area>
</message>
diff --git a/skins/nopacity/xmlfiles/displayreplay.xml b/skins/nopacity/xmlfiles/displayreplay.xml index cb6fd90..e77fc20 100644 --- a/skins/nopacity/xmlfiles/displayreplay.xml +++ b/skins/nopacity/xmlfiles/displayreplay.xml @@ -4,7 +4,7 @@ <displayreplay x="0" y="0" width="100%" height="100%" fadetime="{fadeTime}"> <background> - <area x="1%" y="74%" width="98%" height="25%" layer="1" transparency="20"> + <area x="1%" y="74%" width="98%" height="25%" layer="1" transparency="{transparency}"> <drawimage imagetype="skinpart" path="displayreplayback" x="0" y="0" width="100%" height="100%"/> </area> <area x="1%" y="74%" width="98%" height="25%" layer="7"> @@ -204,14 +204,14 @@ {error} true if message is a error message --> <message> - <area x="5%" y="58%" width="90%" height="15%" layer="6"> + <area x="5%" y="88%" width="90%" height="10%" layer="6"> <drawimage condition="{status}" imagetype="skinpart" path="messageStatus" x="0" y="0" width="100%" height="100%" /> <drawimage condition="{info}" imagetype="skinpart" path="messageInfo" x="0" y="0" width="100%" height="100%" /> <drawimage condition="{warning}" imagetype="skinpart" path="messageWarning" x="0" y="0" width="100%" height="100%" /> <drawimage condition="{error}" imagetype="skinpart" path="messageError" x="0" y="0" width="100%" height="100%" /> </area> - <area x="5%" y="58%" width="90%" height="15%" layer="7"> - <drawtext align="center" valign="center" font="{light}" fontsize="40%" color="{clrWhite}" text="{text}" /> + <area x="5%" y="88%" width="90%" height="10%" layer="7"> + <drawtext align="center" valign="center" font="{light}" fontsize="50%" color="{clrWhite}" text="{text}" /> </area> </message> diff --git a/skins/nopacity/xmlfiles/displayvolume.xml b/skins/nopacity/xmlfiles/displayvolume.xml index 8fa20c6..6c54ee9 100644 --- a/skins/nopacity/xmlfiles/displayvolume.xml +++ b/skins/nopacity/xmlfiles/displayvolume.xml @@ -14,7 +14,7 @@ --> <volume> <!-- Background --> - <area x="0" y="0" width="100%" height="100%" layer="1" transparency="20"> + <area x="0" y="0" width="100%" height="100%" layer="1" transparency="{transparency}"> <drawimage imagetype="skinpart" path="displayvolume" x="0" y="0" width="100%" height="100%"/> </area> <!-- Header --> diff --git a/skins/nopacity/xmlfiles/plug-weatherforecast-weatherforecast.xml b/skins/nopacity/xmlfiles/plug-weatherforecast-weatherforecast.xml index 08a10e3..521db36 100644 --- a/skins/nopacity/xmlfiles/plug-weatherforecast-weatherforecast.xml +++ b/skins/nopacity/xmlfiles/plug-weatherforecast-weatherforecast.xml @@ -6,7 +6,7 @@ <area x="30%" y="11%" width="2%" height="78%" layer="2"> <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="{clrProgressbar}" /> + <drawrectangle x="4" y="4 + {areaheight} * {offset} / 1000" width="{areawidth} - 8" height="{areaheight} * {height} / 1000 - 8" color="{clrScrollbar}" /> </area> </scrollbar> diff --git a/skins/nopacity/xmlfiles/plug-weatherforecast-weatherforecastdetailcurrent.xml b/skins/nopacity/xmlfiles/plug-weatherforecast-weatherforecastdetailcurrent.xml index 8aa3d4f..ae9c2a6 100644 --- a/skins/nopacity/xmlfiles/plug-weatherforecast-weatherforecastdetailcurrent.xml +++ b/skins/nopacity/xmlfiles/plug-weatherforecast-weatherforecastdetailcurrent.xml @@ -15,7 +15,7 @@ <area x="97%" y="25%" width="2%" height="60%" layer="2"> <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="{clrProgressbar}" /> + <drawrectangle x="4" y="4 + {areaheight} * {offset} / 1000" width="{areawidth} - 8" height="{areaheight} * {height} / 1000 - 8" color="{clrScrollbar}" /> </area> </scrollbar> <!-- Available Variables in detailheader and tab: diff --git a/skins/nopacity/xmlfiles/plug-weatherforecast-weatherforecastdetaildaily.xml b/skins/nopacity/xmlfiles/plug-weatherforecast-weatherforecastdetaildaily.xml index 2588bbc..433bf99 100644 --- a/skins/nopacity/xmlfiles/plug-weatherforecast-weatherforecastdetaildaily.xml +++ b/skins/nopacity/xmlfiles/plug-weatherforecast-weatherforecastdetaildaily.xml @@ -15,7 +15,7 @@ <area x="97%" y="25%" width="2%" height="60%" layer="2"> <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="{clrProgressbar}" /> + <drawrectangle x="4" y="4 + {areaheight} * {offset} / 1000" width="{areawidth} - 8" height="{areaheight} * {height} / 1000 - 8" color="{clrScrollbar}" /> </area> </scrollbar> diff --git a/skins/nopacity/xmlfiles/plug-weatherforecast-weatherforecastdetailhourly.xml b/skins/nopacity/xmlfiles/plug-weatherforecast-weatherforecastdetailhourly.xml index 22530f1..ccde6f7 100644 --- a/skins/nopacity/xmlfiles/plug-weatherforecast-weatherforecastdetailhourly.xml +++ b/skins/nopacity/xmlfiles/plug-weatherforecast-weatherforecastdetailhourly.xml @@ -15,7 +15,7 @@ <area x="97%" y="25%" width="2%" height="60%" layer="2"> <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="{clrProgressbar}" /> + <drawrectangle x="4" y="4 + {areaheight} * {offset} / 1000" width="{areawidth} - 8" height="{areaheight} * {height} / 1000 - 8" color="{clrScrollbar}" /> </area> </scrollbar> |
