Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9876
Modified Files: Tag: desiredata desire.c Log Message: switch between [hsl] and [vsl] without recreating object. same for [hradio] and [vradio].
Index: desire.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/Attic/desire.c,v retrieving revision 1.1.2.217.2.78 retrieving revision 1.1.2.217.2.79 diff -C2 -d -r1.1.2.217.2.78 -r1.1.2.217.2.79 *** desire.c 19 Dec 2006 06:04:36 -0000 1.1.2.217.2.78 --- desire.c 19 Dec 2006 06:15:09 -0000 1.1.2.217.2.79 *************** *** 6794,6797 **** --- 6794,6798 ---- static void radio_float(t_radio *x, t_floatarg f) {radio_fout2(x,f,1);} static void radio_loadbang(t_radio *x) {if(iemgui_loadbang(x)) radio_bang(x);} + static void radio_orient(t_radio *x,t_floatarg v) {SET(orient,!!v);}
static void radio_number(t_radio *x, t_floatarg num) { *************** *** 6918,6921 **** --- 6919,6923 ---- static void slider_float(t_slider *x, t_floatarg f) {slider_set(x,f);if(iemgui_forward(x))slider_bang(x);} static void slider_loadbang(t_slider *x) {if(iemgui_loadbang(x)) slider_bang(x);} + static void slider_orient(t_slider *x,t_floatarg v) {SET(orient,!!v);}
static int slider_pickle(t_slider *x, t_foo *foo) { *************** *** 7612,7615 **** --- 7614,7618 ---- class_addmethod3(c,radio_fout, "fout","f"); class_addmethod3(c,radio_number, "number","f"); + class_addmethod3(c,slider_orient,"orient","f"); class_addmethod3(c,radio_single_change, "single_change",""); class_addmethod3(c,radio_double_change, "double_change",""); *************** *** 7645,7648 **** --- 7648,7652 ---- class_addmethod3(c,iemgui_init,"init","f"); class_addmethod3(c,slider_steady,"steady","f"); + class_addmethod3(c,slider_orient,"orient","f"); sym_vsl = gensym("vsl"); sym_vslider = gensym("vslider");