summaryrefslogtreecommitdiff
path: root/skins/nopacity/xmlfiles/displayvolume.xml
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2014-09-27 09:25:14 +0200
committerlouis <louis.braun@gmx.de>2014-09-27 09:25:14 +0200
commitb0509b5182b6e0d04f05e6b3d5676b0d21f51966 (patch)
tree22b302342f22843e0815eb5f516c85f1478cbf0b /skins/nopacity/xmlfiles/displayvolume.xml
downloadvdr-plugin-skindesigner-0.0.1.tar.gz
vdr-plugin-skindesigner-0.0.1.tar.bz2
initial commit version 0.0.10.0.1
Diffstat (limited to 'skins/nopacity/xmlfiles/displayvolume.xml')
-rw-r--r--skins/nopacity/xmlfiles/displayvolume.xml40
1 files changed, 40 insertions, 0 deletions
diff --git a/skins/nopacity/xmlfiles/displayvolume.xml b/skins/nopacity/xmlfiles/displayvolume.xml
new file mode 100644
index 0000000..9cd176a
--- /dev/null
+++ b/skins/nopacity/xmlfiles/displayvolume.xml
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE displayvolume SYSTEM "../../dtd/displayvolume.dtd">
+
+<displayvolume x="20%" y="75%" width="60%" height="10%" fadetime="{fadeTime}">
+
+ <background>
+ </background>
+
+ <!-- Available Variables volume:
+ {volume} current volume, range from 0 to 255
+ {volumepercent} current volume in %
+ {maxvolume} maximal volume
+ {mute} true if volume is muted
+ -->
+ <volume>
+ <!-- Background -->
+ <area x="0" y="0" width="100%" height="100%" layer="1" transparency="20">
+ <drawimage imagetype="skinpart" path="displayvolume" x="0" y="0" width="100%" height="100%"/>
+ </area>
+ <!-- Header -->
+ <area x="0" y="3%" width="100%" height="40%" layer="2">
+ <drawtext x="10" valign="center" font="{vdrOsd}" fontsize="100%" color="{clrWhite}" text="{tr(volume)}: {volumepercent}%" />
+ <drawimage condition="not{mute}" imagetype="icon" path="ico_volume" x="{areawidth} - 2*{areaheight}" y="5" width="{areaheight}" height="{areaheight}"/>
+ <drawimage condition="{mute}" imagetype="icon" path="ico_mute" x="{areawidth} - 2*{areaheight}" y="5" width="{areaheight}" height="{areaheight}"/>
+ </area>
+ <!-- Volumebar Background -->
+ <area x="4%" y="60%" width="92%" height="30%" layer="2">
+ <drawellipse x="0" y="0" width="{areaheight}" height="{areaheight}" color="{clrBlack}" quadrant="0" />
+ <drawellipse x="1" y="1" width="{areaheight}-2" height="{areaheight}-2" color="{clrBrightGreen}" quadrant="0" />
+ <drawellipse x="{areawidth}-{areaheight}" y="0" width="{areaheight}" height="{areaheight}" color="{clrBlack}" quadrant="0" />
+ <drawrectangle x="{areaheight}/2" y="0" width="{areawidth} - {areaheight}" height="{areaheight}" color="{clrBlack}" />
+ </area>
+ <!-- Volumebar -->
+ <area x="5%" y="60%" width="91%" height="30%" layer="3">
+ <drawrectangle x="1" y="1" width="{volume}/{maxvolume}*{areawidth} - {volume}/{maxvolume}*{areaheight}/2" height="{areaheight}-2" color="{clrBrightGreen}" />
+ <drawellipse x="{volume}/{maxvolume}*{areawidth} - {volume}/{maxvolume}*{areaheight}/2" y="1" width="{areaheight}/2 - 2" height="{areaheight}-2" color="{clrBrightGreen}" quadrant="5" />
+ </area>
+ </volume>
+
+</displayvolume>