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

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Sat Oct 31 11:40:49 EDT 2009


Author: matju
Date: Sat Oct 31 11:40:49 2009
New Revision: 4539

Log:
use gobj_vis (but this doesn't fix any problem, apparently)

Modified:
    trunk/base/flow_objects2.c

Modified: trunk/base/flow_objects2.c
==============================================================================
--- trunk/base/flow_objects2.c (original)
+++ trunk/base/flow_objects2.c Sat Oct 31 11:40:49 2009
@@ -367,10 +367,10 @@
 	foreach(tt,v) {
 		t_object *t = *tt;
 		if (t->te_xpix!=x || t->te_ypix!=y) {
+			gobj_vis((t_gobj *)t,can,0);
 			t->te_xpix=x;
 			t->te_ypix=y;
-			text_widgetbehavior.w_visfn((t_gobj *)t,can,0);
-			text_widgetbehavior.w_visfn((t_gobj *)t,can,1);
+			gobj_vis((t_gobj *)t,can,1);
 		}
 		int x1,y1,x2,y2;
 		text_widgetbehavior.w_getrectfn((t_gobj *)t,can,&x1,&y1,&x2,&y2);
@@ -393,10 +393,10 @@
 		t_object *t = *tt;
 		if (!t) RAISE("WTF.");
 		if (t->te_xpix!=x || t->te_ypix!=y) {
+			gobj_vis((t_gobj *)t,can,0);
 			t->te_xpix=x;
 			t->te_ypix=y;
-			//text_widgetbehavior.w_visfn((t_gobj *)t,can,0);
-			//text_widgetbehavior.w_visfn((t_gobj *)t,can,1);
+			gobj_vis((t_gobj *)t,can,1);
 		}
 		int x1,y1,x2,y2;
 		text_widgetbehavior.w_getrectfn((t_gobj *)t,can,&x1,&y1,&x2,&y2);



More information about the Gridflow-cvs mailing list