Hi,
does exist a template for an expandable GOP?
I do this but the controls are not hidden when the switch is set off (they remain visible out of the abstraction box):
Expandable GOP?
Hi,
does exist a template for an expandable GOP?
I do this but the controls are not hidden when the switch is set off (they remain visible out of the abstraction box):
Work in progress : FCPD a FreeCAD PureData connexion
@oid A realtime
on expr
indicates a 8ms compute time. I'll try with your version.
I've added a change
and a pipe
to delay the switch.
It doesn't fix the comments problem, they only disappear when I save their containing abstraction (or when I reload the main patch).
Now I'm looking for a dynamically added and resized background canvas to get rid of the transparency.
Work in progress : FCPD a FreeCAD PureData connexion
@FFW This seems to work, but I can not quite see why yours does not work and I went through it removing every possible cause I could think of until I had pretty much this same patch, and it didn't work. Patch it together from scratch and it works, so probably something stupid and easy to miss in your patch and we are both missing the obvious. I added a third and fourth argument so you have shrunk width and hight and expanded width and height for args now and left some of the details for you to fill in.
ffw.pd
This seems pretty useful, easy way to make menus and dynamic interfaces, good idea to stick this in an abstraction, never dawned on me to do such a thing.
@FFW said:
And [donecanvasdialog( is worse: all the guis remain visible as ghosts.
With your version or with the one I posted?
Your issue with the seq helpfile is just an error in the helpfile, possibly who ever made it used a custom font which can cause such issues for everyone who uses the default fonts.
@FFW That is because you are not sending 0 to the third argument and then 1 or 2 as I do in mine. Sending 0 to that argument disables GOP then sending 1 or 2 reenables it which tells pd to redraw and the reason for all that extra stuff at the bottom of mine. Try something like this for your minimal test:
This should make it work, donecanvasdialog does the exact same thing as the canvas properties dialog does when you click "ok" or "apply," this is the exact message the tcl/tk frontend sends to the pd core so if your canvas properties dialog works than this should work.
Edit: Fixed some errors in the image, had 1 instead of $1.
@FFW try this, open ffw-test.pd and see if it expands on mouse over and shrinks when the mouse leaves. Restart pd before opening it just in case you have one of those weird things going on caused by a confused instance of pd. This should work,
Archive.zip
Edit: if it doesn't work, what version of pd are you running?
OK got it: setting the "gop mode" to zero is not enough, it has to be set with the large dimensions and then it can be shrink without ghosts.
And then it works with [coords( too.
EDIT: I've fixed it with a list:
Work in progress : FCPD a FreeCAD PureData connexion
Oops! Looks like something went wrong!