diff options
author | Miller Puckette <millerpuckette@users.sourceforge.net> | 2004-11-28 21:20:43 +0000 |
---|---|---|
committer | Miller Puckette <millerpuckette@users.sourceforge.net> | 2004-11-28 21:20:43 +0000 |
commit | a346d52dfffc44999d3f10226642f7baa9c5463b (patch) | |
tree | 6fea81e2fcdc9812a3ee984e378900ee4f8e9fe9 /pd/src/g_canvas.c | |
parent | aa82c4290982659a3364eca02573e070418b63e8 (diff) |
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
Diffstat (limited to 'pd/src/g_canvas.c')
-rw-r--r-- | pd/src/g_canvas.c | 17 |
1 files changed, 2 insertions, 15 deletions
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 <stdlib.h> #include <stdio.h> #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 */ |