[PD] Multi-slider attempt

Georg Werner georg at fricklr.de
Tue Dec 2 13:32:58 CET 2008


hi jonathan,

you can update he bars by making them part of the handles.
i attached my version of your attempt.

g.

Jonathan Wilkes:
> After checking out Frank Barknecht's ds slider example, I'm trying to build a ds bar-graph that behaves like the max multi-slider, where you can click-drag to change multiple values in one mouse-swoop.
>      In the attached patch, you can click on the red "handle" and drag across the bars to change the elements of the arrays.  But I can't figure out how to resize the "bars" without using a metro to get the y-value of the handles.
>      Is there a simpler way to do this?  I tried using only one struct for both "bar" and "handle" but couldn't figure out how to get the bottom of the bars to stay constant.
> 
> Thanks,
> Jonathan
> 
> 
> 
>       
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: multislider.pd
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20081202/d0d81f41/attachment.txt>


More information about the Pd-list mailing list