Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28057
Modified Files: Tag: devel_0_39 m_pd.h desire.c Log Message: adding g_adix->visual in t_gobj.
Index: m_pd.h =================================================================== RCS file: /cvsroot/pure-data/pd/src/m_pd.h,v retrieving revision 1.4.4.11.2.24 retrieving revision 1.4.4.11.2.25 diff -C2 -d -r1.4.4.11.2.24 -r1.4.4.11.2.25 *** m_pd.h 23 Apr 2006 06:34:44 -0000 1.4.4.11.2.24 --- m_pd.h 1 Jul 2006 04:20:02 -0000 1.4.4.11.2.25 *************** *** 199,202 **** --- 199,203 ---- int dirtyc; t_atom dirtyv[3]; + t_hash *visual; } t_appendix; t_appendix *appendix_new (struct _gobj *master);
Index: desire.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/Attic/desire.c,v retrieving revision 1.1.2.83 retrieving revision 1.1.2.84 diff -C2 -d -r1.1.2.83 -r1.1.2.84 *** desire.c 19 Jun 2006 02:57:03 -0000 1.1.2.83 --- desire.c 1 Jul 2006 04:20:02 -0000 1.1.2.84 *************** *** 64,71 **** self->obs = 0; self->dirtyc = 0; return self; }
! void appendix_free (t_gobj *self) { free(self); } --- 64,74 ---- self->obs = 0; self->dirtyc = 0; + self->visual = hash_new(1); return self; }
! void appendix_free (t_gobj *master) { ! t_appendix *self = master->g_adix; ! hash_free(self->visual); free(self); } *************** *** 10725,10729 **** t_text *x = (t_text *)pd_new(text_class); t_atom at; ! sys_vgui("comment_new_as %lx ""\n",(long)x); x->te_width = 0; x->te_type = T_TEXT; --- 10728,10732 ---- t_text *x = (t_text *)pd_new(text_class); t_atom at; ! sys_vgui("global _; set _(%x:canvas) %lx\n",(long)x,(long)gl); x->te_width = 0; x->te_type = T_TEXT;