diff options
author | louis <louis.braun@gmx.de> | 2015-01-09 00:02:53 +0100 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2015-01-09 00:02:53 +0100 |
commit | 7da0737bfe55577e2df2db79dc0e3ab8f74cb2dc (patch) | |
tree | b19e3efa050b2184160fc3eaa7c54f8f52391742 | |
parent | 3bbb613609075f8f57837910f62a4e51a1b539e8 (diff) | |
download | vdr-plugin-skindesigner-7da0737bfe55577e2df2db79dc0e3ab8f74cb2dc.tar.gz vdr-plugin-skindesigner-7da0737bfe55577e2df2db79dc0e3ab8f74cb2dc.tar.bz2 |
reverted
-rw-r--r-- | skins/blackhole/xmlfiles/displayvolume.xml | 2 | ||||
-rw-r--r-- | views/displayvolumeview.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/skins/blackhole/xmlfiles/displayvolume.xml b/skins/blackhole/xmlfiles/displayvolume.xml index 3415a4b..1b886ad 100644 --- a/skins/blackhole/xmlfiles/displayvolume.xml +++ b/skins/blackhole/xmlfiles/displayvolume.xml @@ -23,7 +23,7 @@ <drawtext align="center" valign="center" color="{clrWhite}" font="{semibold}" fontsize="80%" text="{volume} / {maxvolume}" /> </area> <area x="0" y="0" width="100%" height="100%" layer="5"> - <drawimage imagetype="skinpart" path="tachohands/perc_{volumepercent}" x="{areawidth}*0.059" y="{areawidth}*0.059" width="{areawidth}*0.882" height="{areawidth}*0.882"/> + <drawimage imagetype="skinpart" path="tachohands/perc_{volpercent}" x="{areawidth}*0.059" y="{areawidth}*0.059" width="{areawidth}*0.882" height="{areawidth}*0.882"/> </area> <area x="0" y="80%" width="20%" height="20%" layer="5"> <drawimage condition="gt({volpercent}, 74)" imagetype="icon" path="ico_volume_full" align="center" valign="center" width="90%" height="90%"/> diff --git a/views/displayvolumeview.c b/views/displayvolumeview.c index e3700dd..4ab2fdd 100644 --- a/views/displayvolumeview.c +++ b/views/displayvolumeview.c @@ -40,7 +40,7 @@ void cDisplayVolumeView::DrawVolume(int current, int total, bool mute) { intTokens.insert(pair<string,int>("volume", current)); intTokens.insert(pair<string,int>("maxvolume", total)); - intTokens.insert(pair<string,int>("volumepercent", (double)current *100 / (double)total)); + intTokens.insert(pair<string,int>("volpercent", (double)current *100 / (double)total)); intTokens.insert(pair<string,int>("mute", mute)); ClearViewElement(veVolume); |