• Home
  • Documentation
  • Forum
  • Blog
  • Users
    • Map
    • Userlist
    • Businesses
    • Userpages
    • Connections
  • Contributions
    • All
    • Store
  • Downloads
    • vvvv beta
    • vvvv beta previews
  • Store
Show / Hide Table of Contents

Drag (Value)

Author: Grandchild
Date: 25 Apr, 2011
Category: plugin

Download

64bit

1-Drag (Value) (binary).zip
25 Apr, 2011 - 12:25
v1.0 - Contains the .dll and the helppatch
0-Drag (Value) (source).zip
25 Apr, 2011 - 12:25
v1.0 - Contains the source code (.csproj, .cs) and the helppatch

Description

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

Comments

Comments are no longer accepted.
Please create a new topic in the vvvv beta forum to discuss this contribution.
bo27
25 Apr, 2011 - 09:20

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

Grandchild
25 Apr, 2011 - 10: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 Apr, 2011 - 11: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 Apr, 2011 - 12: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 Apr, 2011 - 12:08

nice helppatch btw.

tonfilm
16 Aug, 2011 - 23: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 does this for you of course, its a real spread :)

  • Improve this Doc

© 2020 by vvvv group. Imprint | Privacy Policy.
Thanks to DocFX for building this website. Analytics by Plausible.

Back to top