[Gridflow-cvs] [svn] commit: r4873 - in /trunk: doc/flow_classes/#io.quartz-help.pd src/quartz.m

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Wed Dec 9 16:18:18 EST 2009


Author: pboivin
Date: Wed Dec  9 16:18:17 2009
New Revision: 4873

Log:
ajustements...

Modified:
    trunk/doc/flow_classes/#io.quartz-help.pd
    trunk/src/quartz.m

Modified: trunk/doc/flow_classes/#io.quartz-help.pd
==============================================================================
--- trunk/doc/flow_classes/#io.quartz-help.pd (original)
+++ trunk/doc/flow_classes/#io.quartz-help.pd Wed Dec  9 16:18:17 2009
@@ -15,10 +15,10 @@
 #X text 232 140 with [#out] \, displays a frame;
 #X text 232 228 set window title;
 #X text 232 206 \$1=title;
-#X text 232 162 \$1=x_position \, \$2=y_position;
 #X text 232 184 move window;
+#X text 232 162 \$1=y_position \, \$2=x_position;
 #X connect 7 1 12 0;
 #X connect 8 1 14 0;
 #X connect 8 1 13 0;
+#X connect 11 1 16 0;
 #X connect 11 1 15 0;
-#X connect 11 1 16 0;

Modified: trunk/src/quartz.m
==============================================================================
--- trunk/src/quartz.m (original)
+++ trunk/src/quartz.m Wed Dec  9 16:18:17 2009
@@ -219,7 +219,7 @@
 }
 
 \def 0 move (int y, int x) {
-    int new_y = [[[NSScreen screens] objectAtIndex:0] frame].size.height - y;
+    int new_y = [[[NSScreen screens] objectAtIndex:0] frame].size.height - 22 - y;
     NSPoint pos = { x, new_y };
     [window setFrameTopLeftPoint: pos];
 }



More information about the Gridflow-cvs mailing list