[PD] newbie question: te_xpix/te_ypix
Miller Puckette
mpuckett at man104-1.ucsd.edu
Mon Aug 19 18:28:13 CEST 2002
Be warned though that "te_xpix" gets used somewhat differently from "te_xpos";
for instance in the "xxx_getrect" function you should now convert from
pixels to coordinates; see, for instance, the code for the toggle switch
(g_toggle.c) . If you don't do this, you'll see nothing wrong until someone
tries to use you in a graph-on-parent patch, and then your object flies
off to a random screen location!
cheers
Miller
On Sun, Aug 18, 2002 at 08:01:38PM +0200, Yves Degoyon wrote:
> hi,
>
> te_xpix/te_ypix have been defined for version of PD > 0.35 test 17,
> i'm not too sure of the test number but around this one.
>
> before that, they were called te_xpos/te_ypos,
> so, you've got two options :
>
> a/ change te_xpix/te_ypix to te_xpos/te_ypos
> in the externals code.
>
> b/ upgrade PD, let's say to the official 0.35.
>
> cheers,
>
> sevy/yves
>
> Peter Elsdon wrote:
>
> >Hi,
> >
> >Sorry if this is OT or a little basic, but I'm trying to compile PD externals, and running into the same problem with quite a number of them - something along the lines of:
> >
> >structure has no member named 'te_xpix' [or te_ypix}
> >
> >I'm running SuSE7.2 and can't figure out what's missing - most of the externals are fine, and PD compiles ok. Any suggestions?
> >
> >Thanks
> >
> >Peter
> >
> >_______________________________________________
> >PD-list mailing list
> >PD-list at iem.kug.ac.at
> >http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list
> >
> >
>
>
>
> _______________________________________________
> PD-list mailing list
> PD-list at iem.kug.ac.at
> http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list
More information about the Pd-list
mailing list