--- On Tue, 4/5/11, Billy Stiltner <billy.stilt...@gmail.com> wrote:
> From: Billy Stiltner <billy.stilt...@gmail.com> > Subject: Re: [PD] Data Structures GOP and installing latest PD > To: "Jonathan Wilkes" <jancs...@yahoo.com> > Cc: "João Pais" <jmmmp...@googlemail.com>, "pd-list" <pd-list@iem.at> > Date: Tuesday, April 5, 2011, 8:36 PM > João > Thanks for the zip. The abstractions are nice. I wonder if > there is a > way to keep from moving the control points out of bounds on > the > bezier. With a slider or numberbox it is easy just store a > limit in an > f and when the slider value changes check to see if it is > beyond limit > then do a delayed message to the slider to set the value to > limit. You can do that with data structures, too. > You > could even put a message to canvas label "beyond the outer > limit" > haha!. > > > > On 4/5/11, Jonathan Wilkes <jancs...@yahoo.com> > wrote: > > > > > > --- On Tue, 4/5/11, João Pais <jmmmp...@googlemail.com> > wrote: > > > >> From: João Pais <jmmmp...@googlemail.com> > >> Subject: Re: [PD] Data Structures GOP and > installing latest PD > >> To: "Billy Stiltner" <billy.stilt...@gmail.com> > >> Cc: "pd-list" <pd-list@iem.at>, > "Jonathan Wilkes" <jancs...@yahoo.com> > >> Date: Tuesday, April 5, 2011, 6:22 PM > >> > The other message that does gop > >> is coords. > >> > I do not know the complete message but this > works > >> > > >> > [toggle] > >> > | > >> > [coords 600 600 700 700 1 1 $1( > >> > | > >> > [s pd-pd-arrayz] > >> > > >> > > >> > [pd pd-arrayz] > >> > > >> > clicking toggle displays or hides [pd > pd-arrayz] > >> > >> I just tried around, and it looks like it does the > same as > >> donecanvasdialog, except the first 2 parameters, > x+y canvas > >> size. what you have as $1 also accept 2, which is > the > >> setting for GOP on+"hide object name and > arguments" (quite > >> useful). after that you can add 2 more numbers, > for the x > >> and y margins. > >> > >> Don't change the settings much while the subpatch > is > >> opened, or tcl/tk will stop responding that well > (but it > >> doesn't crash pd). > > > > Not sure if it was mentioned, but I think > "donecanvasdialog" sets the > > dirty flag and "coords" does not (if it matters to > you). > > > > -Jonathan > > > >> > >> João > >> > > > _______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list