From a346d52dfffc44999d3f10226642f7baa9c5463b Mon Sep 17 00:00:00 2001 From: Miller Puckette Date: Sun, 28 Nov 2004 21:20:43 +0000 Subject: unified "array" and "struct array" code. Vast changes to "g_array.c" and "g_template.c", and many smaller changes to various files. Not yet well tested. svn path=/trunk/; revision=2341 --- pd/src/g_canvas.c | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) (limited to 'pd/src/g_canvas.c') diff --git a/pd/src/g_canvas.c b/pd/src/g_canvas.c index a1beb8a8..c34e1502 100644 --- a/pd/src/g_canvas.c +++ b/pd/src/g_canvas.c @@ -5,19 +5,6 @@ /* this file defines the "glist" class, also known as "canvas" (the two used to be different but are now unified except for some fossilized names.) */ -/* changes by Thomas Musil IEM KUG Graz Austria 2001 */ - -/* bug-fix: canvas_menuclose(): by Krzysztof Czaja */ -/* bug-fix: table_new(): I reversed the y-bounds */ - -/* IOhannes : - * changed the canvas_restore, so that it might accept $args as well - * (like "pd $0_test") - * so you can make multiple & distinguishable templates - * 1511:forum::für::umläute:2001 - * changes marked with IOhannes - */ - #include #include #include "m_pd.h" @@ -950,7 +937,7 @@ void canvas_objfor(t_glist *gl, t_text *x, int argc, t_atom *argv); void canvas_restore(t_canvas *x, t_symbol *s, int argc, t_atom *argv) -{ /* IOhannes */ +{ t_pd *z; /* this should be unnecessary, but sometimes the canvas's name gets out of sync with the owning box's argument; this fixes that */ @@ -1355,7 +1342,7 @@ static void glist_redrawall(t_glist *gl) } /* public interface for above */ -void canvas_redrawallfortemplate(t_canvas *templatecanvas) +void canvas_redrawallfortemplate( t_template *template) { t_canvas *x; /* find all root canvases */ -- cgit v1.2.1