Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28093
Modified Files: Tag: desiredata desire.c Log Message: remove [dropper] (will be replaced by something else later)
Index: desire.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/Attic/desire.c,v retrieving revision 1.1.2.217.2.229 retrieving revision 1.1.2.217.2.230 diff -C2 -d -r1.1.2.217.2.229 -r1.1.2.217.2.230 *** desire.c 19 Aug 2007 04:37:52 -0000 1.1.2.217.2.229 --- desire.c 19 Aug 2007 04:44:30 -0000 1.1.2.217.2.230 *************** *** 3,11 **** This file is part of DesireData. Copyright (c) 2004-2007 by Mathieu Bouchard. - Copyright (c) 1997-2005 Miller Puckette. Portions Copyright (c) 1997-2005 Miller Puckette, Günter Geiger, Krzysztof Czaja, Johannes Zmoelnig, Thomas Musil, Joseph Sarlo, etc. The remains of IEMGUI Copyright (c) 2000-2001 Thomas Musil (IEM KUG Graz Austria) - [dropper] class is Copyright (c) 2004 Carmen Rocco For information on usage and redistribution, and for a DISCLAIMER OF ALL WARRANTIES, see the file, "LICENSE.txt," in this distribution. --- 3,9 ---- *************** *** 6569,6611 **** }
- static t_class *dropper_class; - - static void dropper_bang(t_dropper *x) { - outlet_symbol(x->outlet, x->ds); - if(x->snd && x->snd->thing) pd_symbol(x->snd->thing, x->ds); - } - - static void dropper_symbol(t_dropper *x, t_symbol *s) { - SET(ds,s); - dropper_bang(x); - } - - static int dropper_pickle(t_dropper *x, t_foo *foo) { - return pd_pickle(foo,"iiaaaiiiiccc",&x->w,&x->isa,&x->snd,&x->rcv,&x->lab, - &x->ldx,&x->ldy,&x->font_style,&x->fontsize,&x->bcol,&x->fcol,&x->lcol); - } - - static void dropper_savefn(t_dropper *x, t_binbuf *b) { - t_foo foo = {0,0,b}; if (!b) return; - pd_savehead(b,x,"dropper"); dropper_pickle(x,&foo); - } - - static void dropper_reload(t_dropper *x, t_symbol *s, int argc, t_atom *argv) { - t_foo foo = { argc, argv, 0 }; - binbuf_update(x,gensym("dropper"),argc,argv); - if (!dropper_pickle(x,&foo)) return; - SET(h,x->w); - if (x->rcv) pd_bind(x,x->rcv); - iemgui_constrain(x); - gobj_changed(x,0); - } - - static void *dropper_new(t_symbol *s, int argc, t_atom *argv) { - t_dropper *x = (t_dropper *) iemgui_new(dropper_class); - outlet_new(x, &s_symbol); - dropper_reload(x,0,argc,argv); - return x; - } - void canvas_notice(t_gobj *x, t_gobj *origin, int argc, t_atom *argv) { t_canvas *self = (t_canvas *)x; --- 6567,6570 ----