Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23258
Modified Files: Tag: desiredata desire.c Log Message: remove obsolete methods 'find' 'findagain'
Index: desire.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/Attic/desire.c,v retrieving revision 1.1.2.217.2.147 retrieving revision 1.1.2.217.2.148 diff -C2 -d -r1.1.2.217.2.147 -r1.1.2.217.2.148 *** desire.c 10 Jul 2007 17:45:47 -0000 1.1.2.217.2.147 --- desire.c 10 Jul 2007 17:52:52 -0000 1.1.2.217.2.148 *************** *** 1220,1252 **** }
- static void canvas_find(t_canvas *x, t_symbol *s, int ac, t_atom *av) { - for (int i = 0; i < ac; i++) { - if (av[i].a_type == A_SYMBOL) { - if (!strcmp(av[i].a_symbol->name, "_semi_")) SETSEMI(&av[i]); - else if (!strcmp(av[i].a_symbol->name, "_comma_")) SETCOMMA(&av[i]); - } - } - if (!canvas_findbuf) canvas_findbuf = binbuf_new(); - binbuf_clear(canvas_findbuf); - binbuf_add(canvas_findbuf, ac, av); - canvas_find_index1 = 0; - canvas_find_index2 = -1; - canvas_whichfind = x; - int myindex1; - if (!canvas_dofind(x, &myindex1)) { - binbuf_print(canvas_findbuf); - post("... couldn't find"); - } - } - - static void canvas_find_again(t_canvas *x) { - int myindex1; - if (!canvas_findbuf || !canvas_whichfind) return; - if (!canvas_dofind(canvas_whichfind, &myindex1)) { - binbuf_print(canvas_findbuf); - post("... couldn't find"); - } - } - static void canvas_find_parent(t_canvas *x) { if (x->owner) canvas_vis(canvas_getcanvas(x->owner), 1); --- 1220,1223 ---- *************** *** 7227,7232 **** class_addcreator2("table",table_new,"SF"); class_addmethod2(c,canvas_close,"close","F"); - class_addmethod2(c,canvas_find, "find","*"); - class_addmethod2(c,canvas_find_again, "findagain",""); class_addmethod2(c,canvas_find_parent,"findparent",""); class_addmethod2(c,canvas_arraydialog,"arraydialog","sfff"); --- 7198,7201 ----