slider and its value manipulation

Nov 1, 2012 at 1:38 PM

Hi, I am trying to use this library to develop a game. 

I am stuck at one point, and I couldn't find answer to this problem yet and I'd like to ask you for help. 

 

What I am trying to do is to develop multiple slidebar whose sum is at most 1. 

In other words, I want to have three slidebars that are independant, but sum of their values to be always less than 1. So, if I drag a slidebar too much, then other slidebars should decrease.

So, my question is is there any method to change value of other slidebars while dragging one?

Nov 1, 2012 at 1:54 PM

well, problem solved. Sorry for bothering.

 

When I first tried with correct method, there was some minor logic error, and I thought that the correct method was not working. 

 

Anyway, thanks for a nice library ;)

Coordinator
Nov 2, 2012 at 2:31 AM
Edited Nov 2, 2012 at 2:32 AM

Thank you. I'm glads its working for you. If you do come across any issues feel free to file an issue. :)