Sorry, I didn't clarify that these are brand new changes I made in my port of
the GUI away from tcl/tk to nw.js. I developed them as a diversion from the
otherwise mind-numbing task of measuring fonts, fixing scrollbars, etc.
I'll try to post a screencast later.
-Jonathan
On Wednesday, September 2, 2015 2:29 PM, jamal crawford <[email protected]>
wrote:
hey list, Jonathan.
You start with a struct:[struct foo float x float y canvas a b]
Then create a scalar from this struct.
The scalar will have an "x" value, a "y" value, and a canvas "a" which gets
filled with the contents of an abstraction "b.pd" that is somewhere in Pd's
search path.
Now here's the neat thing-- inside the newly instantiated "b.pd" you can do
this:
[loadbang]|[field x]|[print x]
imagine you have a drawing instruction like this:[draw rect 0 0 20 20]
When you create the scalar you get a little black box on a canvas.
With a canvas field like I described, you can right-click the scalar and choose
"Open" to show a canvas window.
while trying to create [struct foo float x float y canvas a b], i get: canvas:
no such type, using pd 0.46.6
what am I missing?
~/.jc
_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list