Update of /cvsroot/pure-data/externals/grill/dynext/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20689/src
Modified Files: main.cpp Log Message: query visibility status documentation
Index: main.cpp =================================================================== RCS file: /cvsroot/pure-data/externals/grill/dynext/src/main.cpp,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** main.cpp 8 Feb 2005 04:58:52 -0000 1.3 --- main.cpp 3 Mar 2005 04:57:26 -0000 1.4 *************** *** 54,62 **** void m_disconnect(int argc,const t_atom *argv) { ConnDis(false,argc,argv); } void m_send(int argc,const t_atom *argv); ! void m_vis(bool vis);
protected:
! virtual void m_click() { m_vis(true); }
static const t_symbol *k_obj,*k_msg,*k_text; --- 54,63 ---- void m_disconnect(int argc,const t_atom *argv) { ConnDis(false,argc,argv); } void m_send(int argc,const t_atom *argv); ! void ms_vis(bool vis) { canvas_vis(canvas,vis?1:0); } ! void mg_vis(bool &vis) const { vis = canvas && canvas->gl_editor; }
protected:
! virtual void m_click() { ms_vis(true); }
static const t_symbol *k_obj,*k_msg,*k_text; *************** *** 83,87 **** 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); --- 84,87 ---- *************** *** 171,175 **** FLEXT_CALLBACK_V(m_disconnect) FLEXT_CALLBACK_V(m_send) ! FLEXT_CALLBACK_B(m_vis)
FLEXT_ATTRVAR_B(stripext) --- 171,176 ---- FLEXT_CALLBACK_V(m_disconnect) FLEXT_CALLBACK_V(m_send) ! FLEXT_CALLVAR_B(mg_vis,ms_vis) ! // FLEXT_CALLBACK(m_refresh)
FLEXT_ATTRVAR_B(stripext) *************** *** 243,248 **** FLEXT_CADDMETHOD_(c,0,"dis",m_disconnect); FLEXT_CADDMETHOD_(c,0,"send",m_send); ! FLEXT_CADDMETHOD_(c,0,"vis",m_vis); ! FLEXT_CADDATTR_VAR1(c,"stripext",stripext);
--- 244,248 ---- FLEXT_CADDMETHOD_(c,0,"dis",m_disconnect); FLEXT_CADDMETHOD_(c,0,"send",m_send); ! FLEXT_CADDATTR_VAR(c,"vis",mg_vis,ms_vis); FLEXT_CADDATTR_VAR1(c,"stripext",stripext);
*************** *** 553,561 **** }
- void dyn::m_vis(bool vis) - { - canvas_vis(canvas,vis?1:0); - } - void dyn::m_reload() { --- 553,556 ----