Hi guys,
I'm attempting to make a vertical "progress" control to use as a volume indicator.
I've done a bit of searching but I haven't been able to find anything relevant with regards to either rotating a progress control, or to perform inline calculations.
My question is this: How would I go about setting the position or size of a contol based on a value?
For example:
<posy>Player.Volume * 3</posy>
Inline calculations for image group
SytheZN
Junior Member Posts: 2 Joined: Apr 2012 Reputation: 0 |
2012-04-23 16:39
Post: #1
|
| find quote |
jmarshall
Team-XBMC Developer Posts: 24,523 Joined: Oct 2003 Reputation: 138 |
2012-04-24 00:01
Post: #2
You can't.
A vertical progress bar can be done by just using a rotation anim easily enough, though obviously the controls for it might be non-intuitive. Cheers, Jonathan Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. ![]() |
| find quote |
SytheZN
Junior Member Posts: 2 Joined: Apr 2012 Reputation: 0 |
2012-04-24 02:12
Post: #3
Thanks...
I ended up doing it with a series of states based on IntegerGreaterThan(Player.Volume,{x})+!IntegerGreaterThan(Player.Volume,{x+1}). A little roundabout, and a thousand lines of xml later , but it seems to work.I'll try the rotation animation though.
(This post was last modified: 2012-04-24 02:13 by SytheZN.)
|
| find quote |

![[Image: badge.gif]](http://www.ohloh.net/projects/9132/badge.gif)
, but it seems to work.
Search
Help