» 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 | 1059 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 | 839 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

~3mth ago

joreg: END OF SHOUTBOX! As this page has is now legacy, it will no longer feature new content. For latest news, see: http://vvvv.org

~4mth ago

joreg: vvvvTv S0204 is out: Custom Widgets with Dear ImGui: https://youtube.com/live/nrXfpn5V9h0

~4mth ago

joreg: New user registration is currently disabled as we're moving to a new login provider: https://visualprogramming.net/blog/2024/reclaiming-vvvv.org/

~4mth ago

joreg: vvvvTv S02E03 is out: Logging: https://youtube.com/live/OpUrJjTXBxM

~4mth ago

~4mth ago

joreg: Follow TobyK on his Advent of Code: https://www.twitch.tv/tobyklight

~4mth ago

joreg: vvvvTv S02E02 is out: Saving & Loading UI State: https://www.youtube.com/live/GJQGVxA1pIQ

~4mth ago

joreg: We now have a presence on LinkedIn: https://www.linkedin.com/company/vvvv-group

~5mth ago

joreg: vvvvTv S02E01 is out: Buttons & Sliders with Dear ImGui: https://www.youtube.com/live/PuuTilbqd9w

~5mth ago

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