[Gridflow-cvs] [svn] commit: r5033 - /trunk/src/classes2.cxx

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Sat Feb 20 21:46:53 EST 2010


Author: matju
Date: Sat Feb 20 21:46:52 2010
New Revision: 5033

Log:
[#see] and [display] work in GOP ?

Modified:
    trunk/src/classes2.cxx

Modified: trunk/src/classes2.cxx
==============================================================================
--- trunk/src/classes2.cxx (original)
+++ trunk/src/classes2.cxx Sat Feb 20 21:46:52 2010
@@ -383,8 +383,8 @@
 		self->changed(); // is this ok?
 	}
 	static void getrectfn(BLAH, int *x1, int *y1, int *x2, int *y2) {INIT
-		*x1 = bself->te_xpix; *x2 = bself->te_xpix+self->sx;
-		*y1 = bself->te_ypix; *y2 = bself->te_ypix+self->sy;
+		*x1 = text_xpix(bself,glist); *x2 = *x1+self->sx;
+		*y1 = text_ypix(bself,glist); *y2 = *y1+self->sy;
 	}
 	static void displacefn(BLAH, int dx, int dy) {INIT L
 		bself->te_xpix+=dx; bself->te_ypix+=dy; const char *r = self->rsym->s_name;
@@ -459,9 +459,7 @@
 		pd_typedmess(gp,gensym("dest"),1,a);
  		changed();
 	}
-	~Display () {
-		pd_free(gp);
-	}
+	~Display () {pd_free(gp);}
 	\decl void anything (...);
 	\decl 0 set_size(int sy, int sx);
 	\decl 0 grid(...);



More information about the Gridflow-cvs mailing list