Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16828
Modified Files: Tag: devel_0_39 desire.c Log Message: renamed t_fielddesc to t_slot
Index: desire.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/Attic/desire.c,v retrieving revision 1.1.2.174 retrieving revision 1.1.2.175 diff -C2 -d -r1.1.2.174 -r1.1.2.175 *** desire.c 9 Sep 2006 01:56:31 -0000 1.1.2.174 --- desire.c 9 Sep 2006 02:36:45 -0000 1.1.2.175 *************** *** 1035,1041 **** /******************* redrawing data *********************/
! static t_float fielddesc_getcoord(t_fielddesc *f, t_template *, t_word *wp, int loud); ! static void fielddesc_setcoord(t_fielddesc *f, t_template *, t_word *wp, float pix, int loud); ! static t_float fielddesc_cvttocoord(t_fielddesc *f, float val); static t_template *template_new(t_symbol *sym, int argc, t_atom *argv); static void template_free(t_template *x); --- 1035,1041 ---- /******************* redrawing data *********************/
[...1454 lines suppressed...] dn.canvas = canvas; --- 5433,5437 ---- drawnumber_getrect(z, canvas, data, template, basex, basey, &x1, &y1, &x2, &y2); if (xpix >= x1 && xpix <= x2 && ypix >= y1 && ypix <= y2 ! && x->value.var && slot_getfloat(&x->vis, template, data, 0)) { if (doit) { dn.canvas = canvas; *************** *** 5470,5474 **** dn.scalar = sc; dn.array = ap; ! dn.ycumulative = fielddesc_getfloat(&x->value, template, data, 0); /* canvas_grab(canvas, z, drawnumber_motion, 0, xpix, ypix); */ } --- 5440,5444 ---- dn.scalar = sc; dn.array = ap; ! dn.ycumulative = slot_getfloat(&x->value, template, data, 0); /* canvas_grab(canvas, z, drawnumber_motion, 0, xpix, ypix); */ }