diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2008-04-22 04:20:38 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2008-04-22 04:20:38 +0000 |
commit | 0e9ab230f2a3f3cfd74aadb2983e9d76eebcc0e7 (patch) | |
tree | e3abe5dc4e9cfde9884b0978f15be51a1fc8594d | |
parent | 01aa0ff0fcac3f98df54bf2f55002b00f0afda2d (diff) |
quickly added third outlet from PDa source so that this object won't break PDa patches when they are edited in Pd-extended
svn path=/trunk/externals/ggee/; revision=9720
-rw-r--r-- | gui/gcanvas.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gui/gcanvas.c b/gui/gcanvas.c index 6a822d2..7037b04 100644 --- a/gui/gcanvas.c +++ b/gui/gcanvas.c @@ -1,7 +1,7 @@ /* (C) Guenter Geiger <geiger@xdv.org> */ -#include <m_pd.h> +#include "m_pd.h" #include "g_canvas.h" /* ------------------------ gcanvas ----------------------------- */ @@ -18,6 +18,7 @@ typedef struct _gcanvas t_object x_obj; t_glist * x_glist; t_outlet* out2; + t_outlet* out3; int x_width; int x_height; int x; @@ -249,9 +250,12 @@ static void *gcanvas_new(t_floatarg h,t_floatarg o) outlet_new(&x->x_obj, &s_float); x->out2 = outlet_new(&x->x_obj, &s_float); + x->out3 = outlet_new(&x->x_obj, &s_float); return (x); } + + void gcanvas_setup(void) { gcanvas_class = class_new(gensym("gcanvas"), (t_newmethod)gcanvas_new, 0, |