Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24882
Modified Files: Tag: impd_0_37 g_all_guis.c g_all_guis.h Log Message: added pd_savehead()
Index: g_all_guis.h =================================================================== RCS file: /cvsroot/pure-data/pd/src/g_all_guis.h,v retrieving revision 1.1.1.4.2.2.2.34 retrieving revision 1.1.1.4.2.2.2.35 diff -C2 -d -r1.1.1.4.2.2.2.34 -r1.1.1.4.2.2.2.35 *** g_all_guis.h 13 Aug 2004 15:51:28 -0000 1.1.1.4.2.2.2.34 --- g_all_guis.h 13 Aug 2004 16:12:53 -0000 1.1.1.4.2.2.2.35 *************** *** 146,147 **** --- 146,148 ---- EXTERN /*bool*/ int iemgui_forward (/*t_iemgui*/ void *x); /* was x_put_in2out */ EXTERN int pd_saveargs(t_binbuf *b, char *fmt, ...); + EXTERN int pd_savehead(t_binbuf *b, t_iemgui *x, char *name);
Index: g_all_guis.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/g_all_guis.c,v retrieving revision 1.1.1.4.2.4.2.39 retrieving revision 1.1.1.4.2.4.2.40 diff -C2 -d -r1.1.1.4.2.4.2.39 -r1.1.1.4.2.4.2.40 *** g_all_guis.c 13 Aug 2004 15:51:28 -0000 1.1.1.4.2.4.2.39 --- g_all_guis.c 13 Aug 2004 16:12:53 -0000 1.1.1.4.2.4.2.40 *************** *** 276,279 **** --- 276,286 ---- }
+ EXTERN int pd_savehead(t_binbuf *b, t_iemgui *x, char *name) { + binbuf_addv(b, "ssiisiiiisssiiiiiii", gensym("#X"),gensym("obj"), + (t_int)x->x_obj.te_xpix, (t_int)x->x_obj.te_ypix, + gensym(name)); + return 1; + } + EXTERN void canvas_savecontainerto(t_canvas *x, t_binbuf *b); EXTERN t_widgetbehavior text_widgetbehavior; *************** *** 291,296 **** canvas_savecontainerto((t_canvas *)c,buf); } ! binbuf_gettext(buf,&s,&n); ! post("%.*s",n,s); binbuf_gettext(buf,&s,&n); sys_vgui("update_object %x {%.*s}\n", --- 298,303 ---- canvas_savecontainerto((t_canvas *)c,buf); } ! // binbuf_gettext(buf,&s,&n); ! // post("%.*s",n,s); binbuf_gettext(buf,&s,&n); sys_vgui("update_object %x {%.*s}\n",