Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3153
Modified Files: Tag: devel_0_39 desire.c Log Message: fix for the object creation position on the canvas
Index: desire.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/Attic/desire.c,v retrieving revision 1.1.2.77 retrieving revision 1.1.2.78 diff -C2 -d -r1.1.2.77 -r1.1.2.78 *** desire.c 17 May 2006 15:18:21 -0000 1.1.2.77 --- desire.c 20 May 2006 18:08:28 -0000 1.1.2.78 *************** *** 11067,11071 **** #define Z(a,b) \ void canvas_##a(t_glist *gl, t_symbol *s, int argc, t_atom *argv) \ ! {canvas_iemguis(gl, gensym(#b));} Z(bng,bng) Z(toggle,tgl) Z(vslider,vsl) Z(hslider,hsl) --- 11067,11074 ---- #define Z(a,b) \ void canvas_##a(t_glist *gl, t_symbol *s, int argc, t_atom *argv) \ ! {if (argc >= 2) glist_setlastxy(gl, atom_getintarg(0, argc, argv), atom_getintarg(1, argc, argv)); \ ! else glist_setlastxy(gl, 40, 40); \ ! canvas_iemguis(gl, gensym(#b)); \ ! } Z(bng,bng) Z(toggle,tgl) Z(vslider,vsl) Z(hslider,hsl)