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

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Mon Mar 15 18:45:51 EDT 2010


Author: pboivin
Date: Mon Mar 15 18:45:47 2010
New Revision: 5120

Log:
various cleanups

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

Modified: trunk/doc/flow_classes/#io.sdl-help.pd
==============================================================================
--- trunk/doc/flow_classes/#io.sdl-help.pd (original)
+++ trunk/doc/flow_classes/#io.sdl-help.pd Mon Mar 15 18:45:47 2010
@@ -1,4 +1,4 @@
-#N canvas 143 46 632 647 10;
+#N canvas 501 22 632 647 10;
 #X obj 0 0 doc_h;
 #X obj 3 87 doc_c;
 #X obj 0 617 doc_f;
@@ -6,7 +6,6 @@
 #X obj 14 157 doc_ii 0;
 #X obj 97 157 doc_m i0 grid;
 #X text 232 157 with [#out] \, displays a frame;
-#X obj 76 46 #out sdl_;
 #X obj 97 201 doc_m i0 setcursor;
 #X text 232 223 enable mouse cursor;
 #X text 232 201 \$1 = float (ignored... mostly for x11 compatibility)
@@ -40,18 +39,19 @@
 inside to outside the window. However \, button press/release handling
 is not supported.;
 #X text 232 482 \$1=y \, \$2=x \, \$3=DOESN'T WORK WITH SDL;
+#X obj 76 46 #out sdl;
 #X connect 5 1 6 0;
-#X connect 8 1 10 0;
-#X connect 8 1 9 0;
-#X connect 13 1 11 0;
-#X connect 16 1 17 0;
-#X connect 16 1 28 0;
-#X connect 18 1 27 0;
-#X connect 18 1 26 0;
-#X connect 19 1 25 0;
-#X connect 19 1 24 0;
-#X connect 20 1 21 0;
-#X connect 20 1 22 0;
-#X connect 23 1 31 0;
-#X connect 23 1 30 0;
-#X connect 23 1 29 0;
+#X connect 7 1 9 0;
+#X connect 7 1 8 0;
+#X connect 12 1 10 0;
+#X connect 15 1 16 0;
+#X connect 15 1 27 0;
+#X connect 17 1 26 0;
+#X connect 17 1 25 0;
+#X connect 18 1 24 0;
+#X connect 18 1 23 0;
+#X connect 19 1 20 0;
+#X connect 19 1 21 0;
+#X connect 22 1 30 0;
+#X connect 22 1 29 0;
+#X connect 22 1 28 0;

Modified: trunk/src/quartz.m
==============================================================================
--- trunk/src/quartz.m (original)
+++ trunk/src/quartz.m Mon Mar 15 18:45:47 2010
@@ -26,10 +26,6 @@
 	Their intersection is C or almost. They add quite different sets of features.
 	I need Objective C here because the Cocoa API is for Objective C and Java only,
 	and the Objective C one was the easiest to integrate in GridFlow.
-
-	The next best possibility may be using RubyCocoa, a port of the Cocoa API to Ruby;
-	However I haven't checked whether Quartz is wrapped, and how easy it is to
-	process images.
 */
 
 #include <stdio.h>
@@ -142,6 +138,7 @@
 		//post(" keyWindow = %08lx",(long)[NSApp keyWindow]);
 		NSColor *color = [NSColor clearColor];
 		[window setBackgroundColor: color];
+		_0_move(0,0,0,0);
 	}
 	~FormatQuartz () {
 		clock_unset(clock);

Modified: trunk/src/quicktimeapple.cxx
==============================================================================
--- trunk/src/quicktimeapple.cxx (original)
+++ trunk/src/quicktimeapple.cxx Mon Mar 15 18:45:47 2010
@@ -242,8 +242,7 @@
 		nDevices = (*deviceList)->count;
 		//post("  number of available devices: %d", nDevices); 
 		//post("  current device: %d", (*deviceList)->selectedIndex);
-		//for (int i=0; i<nDevices; i++)
-			//post("  Device %d: %s", i, (*deviceList)->entry[i].name);
+		//for (int i=0; i<nDevices; i++) post("  Device %d: %s", i, (*deviceList)->entry[i].name);
 	}
     
 	// treat the device list in reverse order



More information about the Gridflow-cvs mailing list