[PD] more about DS
Miller Puckette
msp at ucsd.edu
Tue May 28 17:55:35 CEST 2013
That's what I did too :)
M
On Tue, May 28, 2013 at 05:22:06PM +0200, Roman Haefeli wrote:
> On Die, 2013-05-28 at 13:40 +0200, João Pais wrote:
> > when you have a point defined by a variable, afaik it's always open to
> > user interaction. but, check the help for drawpolygon, the -x argument. I
> > never tried it.
>
> Yeah, -x works. As mentioned by Martin, it makes the struct not report
> clicks anymore.
>
> I came up with another solution, somewhat similar to what Johannes
> posted in the previous thread. I store the position at the time of the
> 'click' event and use the coordinates to reset the position on 'change'
> events.
>
> > btw, a scalar is only a unit, which can have any graphic, text, symbol usw
> > you define in the template. for these questions it's better if you say
> > which class of element you're using. drawpolygon, usw usw
>
> Sorry for not being clear. I was actually using [filledpolygon].
>
> Roman
>
> > > Hi all
> > >
> > > Is it possible to have a scalar with a settable position, but which
> > > cannot be moved with mouse interaction?
> > >
> > > I figured I can use arrays to create grids of immutable scalars, but
> > > then I don't know how I can detect which specific element/scalar has
> > > been clicked on.
> > >
> > > Thanks,
> > > Roman
> > >
> > >
> > >
> > > _______________________________________________
> > > Pd-list at iem.at mailing list
> > > UNSUBSCRIBE and account-management ->
> > > http://lists.puredata.info/listinfo/pd-list
>
>
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
More information about the Pd-list
mailing list