From the original SynthMaker forum (2004–2014), with its members’ names and dates.
skOre ·
[--]spacebar = mouse into drag scene mode, left+right button is pretty unreliable with modern mice and spacebar is pretty much the standard
[--]shift+click on right-side-links to drag&drop them (as it is possible with normal click on left-side-links)
[--]highlight linked wires when hovering the mouse over a connector
[--]possibility to switch wires between in front and in back of modules
[--]auto linking while dragging groups
But maybe I just missed that some already work.
I also worked on a small example, that needs optimisation,
could somebody (or somedev) help me out on this one?
Also: Uber nice program you got going here, switched from SE, no regrets since
malc ·
Hi skOre,
Welcome to the forum!
Thanks for the suggestion, you didn't miss anything that was already there.
Your example looks interesting. Are you trying to create a module that allows you to set a colour? What do you need help with - what do you want it to do?
Thanks 🙂
skOre ·
Nah, I was just playing around to check out what I could do.
But I noticed that the output was not completely smooth,
so maybe I did something wrong...
malc ·
I see what you're getting at. Ok, well this is mostly down to the redraw.
First you're using the Redraw component. This redraws the whole of the module's front panel. Your panel covers quite a large area so redrawing this on every mouse movement makes for a pretty jerky result. Try making the module smaller and it'll perfrom much better.
Second thing is the position of the Redraw in the link order matters. When you move the sliders the border rectangles move out of sync with the coloured rects. You should do the redraw right at the end.
For more efficient drawing use the Redraw Area component. As it's name suggests, this redraws only a part of the panel. When you're dragging a slider only your four coloured rectangles need to change. Restricting the redraw to just this area will make a big difference.
Have a look at this and you'll what I mean:
[old link]
Wrote something here? To have a post removed or your name hidden, write to [email protected].