» Drag (Value)
This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.

Drag (Value)

plugin

about

Again, this is so simple I'm not sure it hadn't existed before. Yet, here it is.
This let's you click/press and drag one or more values depending on one or more buttons.

Have fun, I made two versions, a binary version and a dynamic/source-code version. Whichever you like best. Personally I'm a fan of binaries so that's why you get that version. If anyone would have a look at my code and give me tips that'd be great :)

Future versions might include the "apple feature" a.k.a. inertia-based dragging.

/edit: better helppatch now

download

Drag (Value) (binary).zip
25.04.11 [14:25 UTC] by Grandchild | 1043 downloads
v1.0 - Contains the .dll and the helppatch
Show 1 older revisions

Older Revisions

Drag (Value) (source).zip
25.04.11 [14:25 UTC] by Grandchild | 826 downloads
v1.0 - Contains the source code (.csproj, .cs) and the helppatch

bo27 25/04/2011 - 11:20

nice! thanks
but for me works only in vvvv/plugin folder. could you make it more relative?

Grandchild 25/04/2011 - 12:23

You mean the helppatch? I have no idea why it doesn't open on F1 when it's in the help folder. I think it should work from there but it doesn't. Anything that I missed?

kalle 25/04/2011 - 13:25

search the xml for all instances of the Drag-plugin:

<NODE componentmode="Hidden" filename="%VVVV%\plugins\Drag (Value).dll" managers="" nodename="Drag (Value)" systemname="Drag (Value)">

and change to

<NODE componentmode="Hidden" filename="Drag (Value).dll" managers="" nodename="Drag (Value)" systemname="Drag (Value)">

just delete the %VVVV%\plugins\ -thing.

nice plugin btw.
i used modules for this.

Grandchild 25/04/2011 - 14:03

Ah thanks kalle! Updated in a sec...

Yeah I used modules for that too so far, but this is one example that's much simpler (and thus presumably faster) in textual code than in graphical code.

u7angel 26/04/2011 - 14:08

nice helppatch btw.

tonfilm 17/08/2011 - 01:26

just had a look at the code and saw that you access the pin slices by doing a modulo by the pin slice count. no need for that, the ISpread<T> does this for you of course, its a real spread :)

anonymous user login

Shoutbox

~6d ago

joreg: vvvvTv S02E00 is out: Sensors & Servos with Arduino: https://visualprogramming.net/blog/2024/vvvvtv-is-back-with-season-2/

~7d ago

fleg: hey there! What's the best tool for remote work? Teamviewer feels terrible. Thanks!

~20d ago

joreg: Last call: 6-session vvvv beginner course starting November 4: https://thenodeinstitute.org/courses/ws24-5-vvvv-beginners-part-i/

~1mth ago

joreg: Missed the last meetup? You can rewatch it here: https://www.youtube.com/live/MdvTa58uxB0?si=Fwi-9hHoCmo794Ag

~1mth ago

theurbankind: When is the next big event, like node festival ?

~1mth ago

~1mth ago

joreg: Join us for the next vvvv meetup on Oktober 17th: https://visualprogramming.net/blog/2024/25.-vvvv-worldwide-meetup/

~1mth ago

joreg: 6 session beginner course part 2 "Deep Dive" starts January 13th: https://thenodeinstitute.org/courses/ws24-5-vvvv-beginners-part-ii/

~1mth ago

joreg: 6 session beginner course part 1 "Playground" starts November 4th: https://thenodeinstitute.org/courses/ws24-5-vvvv-beginners-part-i/