[Gridflow-cvs] [svn] commit: r4487 - /trunk/base/flow_objects2.c

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Thu Oct 29 14:35:56 EDT 2009


Author: matju
Date: Thu Oct 29 14:35:56 2009
New Revision: 4487

Log:
[gf/lol] box_dotted works

Modified:
    trunk/base/flow_objects2.c

Modified: trunk/base/flow_objects2.c
==============================================================================
--- trunk/base/flow_objects2.c (original)
+++ trunk/base/flow_objects2.c Thu Oct 29 14:35:56 2009
@@ -332,6 +332,7 @@
 	post("doesn't work with DesireData");
 #endif
 }
+extern t_widgetbehavior text_widgetbehavior;
 \def 0 box_dotted (int r, int g, int b) {
 #ifndef DESIREDATA
 	t_outlet *ouch = ((t_object *)bself->mom)->te_outlet;
@@ -342,6 +343,7 @@
 		t_object *t = (t_object *)wire->to;
 		int x1=t->te_xpix,y1=t->te_ypix,x2=x1+15,y2=y1+15;
 		//pd_class((t_pd *)wire->to)->c_wb->w_getrectfn((t_gobj *)wire->to,can,&x1,&y1,&x2,&y2);
+		text_widgetbehavior.w_getrectfn((t_gobj *)wire->to,can,&x1,&y1,&x2,&y2);
 		sys_vgui(".x%lx.c delete %lxRECT\n",long(can),long(wire->to));
 		sys_vgui(".x%lx.c create rectangle %d %d %d %d -outline #00aa66 -dash {3 5 3 5} -tags %lxRECT\n",
 			long(can),x1,y1,x2,y2,long(wire->to));



More information about the Gridflow-cvs mailing list