Update of /cvsroot/pure-data/externals/grill/dynext/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30323/src
Modified Files: main.cpp Log Message: query visibility status update for new flext callback naming
Index: main.cpp =================================================================== RCS file: /cvsroot/pure-data/externals/grill/dynext/src/main.cpp,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** main.cpp 3 Mar 2005 04:57:26 -0000 1.4 --- main.cpp 13 Mar 2005 05:01:21 -0000 1.5 *************** *** 59,63 **** protected:
! virtual void m_click() { ms_vis(true); }
static const t_symbol *k_obj,*k_msg,*k_text; --- 59,63 ---- protected:
! virtual void CbClick() { ms_vis(true); }
static const t_symbol *k_obj,*k_msg,*k_text; *************** *** 84,90 **** void ConnDis(bool conn,int argc,const t_atom *argv);
! virtual bool m_method_(int n,const t_symbol *s,int argc,const t_atom *argv); ! virtual void m_dsp(int n,t_signalvec const *insigs,t_signalvec const *outsigs); ! virtual void m_signal(int n,t_sample *const *insigs,t_sample *const *outsigs);
--- 84,90 ---- void ConnDis(bool conn,int argc,const t_atom *argv);
! virtual bool CbMethodResort(int n,const t_symbol *s,int argc,const t_atom *argv); ! virtual bool CbDsp(); ! virtual void CbSignal();
*************** *** 703,707 ****
! bool dyn::m_method_(int n,const t_symbol *s,int argc,const t_atom *argv) { if(n == 0) --- 703,707 ----
! bool dyn::CbMethodResort(int n,const t_symbol *s,int argc,const t_atom *argv) { if(n == 0) *************** *** 776,796 ****
! void dyn::m_dsp(int n,t_signalvec const *insigs,t_signalvec const *outsigs) { // add sub canvas to dsp list (no signal vector to borrow from .. set it to NULL) mess1((t_pd *)canvas,const_cast<t_symbol *>(sym_dsp),NULL); ! ! flext_dsp::m_dsp(n,insigs,outsigs); }
! void dyn::m_signal(int n,t_sample *const *insigs,t_sample *const *outsigs) { ! int i; for(i = 0; i < s_inlets; ++i) if(pxin[i]->buf) ! CopySamples(pxin[i]->buf,insigs[i+1],n); for(i = 0; i < s_outlets; ++i) if(pxout[i]->buf) ! CopySamples(outsigs[i],pxout[i]->buf,n); }
--- 776,797 ----
! bool dyn::CbDsp() { // add sub canvas to dsp list (no signal vector to borrow from .. set it to NULL) mess1((t_pd *)canvas,const_cast<t_symbol *>(sym_dsp),NULL); ! return true; }
! void dyn::CbSignal() { ! int i,n = Blocksize(); ! t_sample *const *in = InSig(),*const *out = OutSig(); for(i = 0; i < s_inlets; ++i) if(pxin[i]->buf) ! CopySamples(pxin[i]->buf,in[i+1],n); ! for(i = 0; i < s_outlets; ++i) if(pxout[i]->buf) ! CopySamples(out[i],pxout[i]->buf,n); }