aboutsummaryrefslogtreecommitdiff
path: root/cooled~
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-09-17 17:11:34 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-09-17 17:11:34 +0000
commit606bb9189e1abd574c299ac84e738d68cefb21f2 (patch)
tree806ee0dc4d087540063d901a8f0b010ebd23b97b /cooled~
parente9473e64c1902092d0798e97e0eadbc123c68195 (diff)
merged relevant changes from Pd-extended 0.42
svn path=/trunk/externals/unauthorized/; revision=14153
Diffstat (limited to 'cooled~')
-rw-r--r--cooled~/cooled~.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cooled~/cooled~.c b/cooled~/cooled~.c
index 9ec95b1..87cec0e 100644
--- a/cooled~/cooled~.c
+++ b/cooled~/cooled~.c
@@ -623,7 +623,7 @@ static void cooled_vis(t_gobj *z, t_glist *glist, int vis)
static void cooled_delete(t_gobj *z, t_glist *glist)
{
- canvas_deletelinesfor( glist_getcanvas(glist), (t_text *)z);
+ canvas_deletelinesfor(glist, (t_text *)z);
}
static void cooled_displace(t_gobj *z, t_glist *glist, int dx, int dy)
@@ -1210,7 +1210,7 @@ static void cooled_zoom(t_cooled *x, t_floatarg fzoom )
post( "cooled~ : allocated %d bytes", 128+x->x_height*x->x_zoom*sizeof("#FFFFFF ") );
}
if ( x->x_draw) cooled_update_part(x, x->x_glist, 0, x->x_width-1, !x->x_empty, !x->x_empty, 0);
- canvas_fixlinesfor( glist_getcanvas( x->x_glist ), (t_text*)x );
+ canvas_fixlinesfor(x->x_glist, (t_text*)x );
}
/* modify the loop positions */
@@ -1357,7 +1357,7 @@ void cooled_tilde_setup(void)
post(cooled_version);
cooled_class = class_new(gensym("cooled~"), (t_newmethod)cooled_new, (t_method)cooled_free,
sizeof(t_cooled), 0, A_GIMME, 0);
- class_sethelpsymbol( cooled_class, gensym("cooled~.pd") );
+
// set callbacks
cooled_widgetbehavior.w_getrectfn = cooled_getrect;