[Gridflow-cvs] [svn] commit: r4368 - in /trunk/doc: flow_classes/#io.grid-help.pd flow_classes/#mouse-help.pd format.xml

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Sat Oct 24 20:32:03 EDT 2009


Author: matju
Date: Sat Oct 24 20:32:03 2009
New Revision: 4368

Log:
more of less of the same thing. increasingly decreased and nearly deceased.

Added:
    trunk/doc/flow_classes/#io.grid-help.pd
Modified:
    trunk/doc/flow_classes/#mouse-help.pd
    trunk/doc/format.xml

Modified: trunk/doc/flow_classes/#mouse-help.pd
==============================================================================
--- trunk/doc/flow_classes/#mouse-help.pd (original)
+++ trunk/doc/flow_classes/#mouse-help.pd Sat Oct 24 20:32:03 2009
@@ -1,10 +1,8 @@
-#N canvas 432 0 559 705 10;
-#X msg 77 103 setcursor 32;
-#X text 19 32 How to get the mouse coordinates and hide / change the
-cursor?;
-#X msg 58 80 hidecursor;
-#X text 203 78 <-- removes the cursor;
-#X text 237 100 <-- accepts 0 - 63;
+#N canvas 674 0 572 717 10;
+#X msg 59 113 setcursor 32;
+#X msg 40 90 hidecursor;
+#X text 125 88 <-- removes the cursor;
+#X text 159 110 <-- accepts 0 - 63;
 #X obj 136 148 print xy_clicked;
 #X obj 137 194 print xy_unclicked;
 #X obj 37 321 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1
@@ -24,46 +22,66 @@
 1;
 #X obj 380 286 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1
 1;
-#X obj 340 341 @export_list;
 #X obj 400 262 loadbang;
-#X text 214 239 select buttons to be considered in click/drag/unclick
+#X text 191 453 select buttons to be considered in click/drag/unclick
 ;
 #X obj 40 145 #out window;
-#X obj 40 247 #mouse \, ...;
 #X obj 340 312 #pack 3;
 #X obj 0 0 doc_h;
 #X obj 3 385 doc_c 0;
 #X obj 3 406 doc_i 2;
 #X obj 3 495 doc_o 8;
-#X obj 15 519 doc_oo 0;
-#X obj 15 543 doc_oo 1;
-#X obj 15 567 doc_oo 2;
-#X obj 15 591 doc_oo 3;
-#X obj 15 615 doc_oo 4;
-#X obj 15 639 doc_oo 5;
-#X obj 15 663 doc_oo 6;
-#X obj 15 687 doc_oo 7;
+#X obj 14 519 doc_oo 0;
+#X obj 14 543 doc_oo 1;
+#X obj 14 567 doc_oo 2;
+#X obj 14 591 doc_oo 3;
+#X obj 14 615 doc_oo 4;
+#X obj 14 639 doc_oo 5;
+#X obj 14 663 doc_oo 6;
+#X obj 14 687 doc_oo 7;
 #X obj 14 430 doc_ii 0;
 #X obj 14 454 doc_ii 1;
-#X connect 0 0 21 0;
-#X connect 2 0 21 0;
-#X connect 11 0 12 0;
-#X connect 11 0 10 0;
-#X connect 12 0 11 1;
-#X connect 15 0 23 0;
-#X connect 16 0 23 1;
-#X connect 17 0 23 2;
-#X connect 18 0 22 1;
-#X connect 19 0 15 0;
-#X connect 19 0 16 0;
-#X connect 19 0 17 0;
-#X connect 21 0 22 0;
-#X connect 22 0 5 0;
-#X connect 22 1 14 0;
-#X connect 22 2 6 0;
-#X connect 22 3 13 0;
-#X connect 22 4 7 0;
-#X connect 22 5 8 0;
-#X connect 22 6 9 0;
-#X connect 22 7 11 0;
-#X connect 23 0 18 0;
+#X text 19 32 How to get the mouse coordinates and hide / change the
+cursor;
+#X obj 40 247 #mouse \, \, \, \, \,;
+#X obj 100 430 doc_m i0 list;
+#X obj 100 454 doc_m i1 list;
+#X obj 100 519 doc_m o0 list;
+#X obj 100 543 doc_m o1 list;
+#X obj 100 567 doc_m o2 list;
+#X obj 100 591 doc_m o3 list;
+#X text 189 517 (y x) click;
+#X text 189 541 (y x) drag;
+#X text 194 568 (y x) unclick;
+#X text 198 589 (y x) move;
+#X obj 100 615 doc_m o4 float;
+#X obj 100 639 doc_m o5 float;
+#X obj 100 663 doc_m o6 float;
+#X obj 100 687 doc_m o7 float;
+#X text 197 614 0 \, 1 button 1 status;
+#X text 197 639 0 \, 1 button 2 status;
+#X text 197 664 0 \, 1 button 3 status;
+#X text 198 687 mouse wheel difference: -1=up +1=down;
+#X obj 340 341 #to_list;
+#X connect 0 0 19 0;
+#X connect 1 0 19 0;
+#X connect 10 0 11 0;
+#X connect 10 0 9 0;
+#X connect 11 0 10 1;
+#X connect 14 0 20 0;
+#X connect 15 0 20 1;
+#X connect 16 0 20 2;
+#X connect 17 0 14 0;
+#X connect 17 0 15 0;
+#X connect 17 0 16 0;
+#X connect 19 0 36 0;
+#X connect 20 0 55 0;
+#X connect 36 0 4 0;
+#X connect 36 1 13 0;
+#X connect 36 2 5 0;
+#X connect 36 3 12 0;
+#X connect 36 4 6 0;
+#X connect 36 5 7 0;
+#X connect 36 6 8 0;
+#X connect 36 7 10 0;
+#X connect 55 0 36 1;

Modified: trunk/doc/format.xml
==============================================================================
--- trunk/doc/format.xml (original)
+++ trunk/doc/format.xml Sat Oct 24 20:32:03 2009
@@ -1,31 +1,3 @@
-	<class name="#mouse">
-		This will process the "position" messages emitted by [#out] or [#peephole] in
-		useful ways.
-		<outlet id="0"><method name="list">
-			y,x coords of a click
-		</method></outlet>
-		<outlet id="1"><method name="list">
-			y,x coords of a drag (any button is kept pressed)
-		</method></outlet>
-		<outlet id="2"><method name="list">
-			y,x coords of an unclick
-		</method></outlet>
-		<outlet id="3"><method name="list">
-			y,x coords of a move (no button is pressed)
-		</method></outlet>
-		<outlet id="4"><method name="float" type="0,1">button 1 status</method></outlet>
-		<outlet id="5"><method name="float" type="0,1">button 2 status</method></outlet>
-		<outlet id="6"><method name="float" type="0,1">button 3 status</method></outlet>
-		<outlet id="7"><method name="float" type="-1,1">
-			wheel difference: -1 = roll up; 1 = roll down.
-		</method></outlet>
-	</class>
-	<class name="#camera">
-		Works about like [#in videodev] except you can right-click-open it to access all of the
-		camera settings visually.
-	</class>
-</section>
-
 <section name="Picture/Movie Formats">
 
 	<class name="format ppm #in/#out">
@@ -161,87 +133,6 @@
 		</method>
 	</class>
 
-	<class name="format grid #in/#out">
-		
-		This is GridFlow's special file format. This is the only I/O
-		format that can hold anything that the [#store] object can.
-		
-		
-		This is the picture format that would support TCP connections
-		if that feature actually worked. More on this later.
-		
-
-		<method name="open grid file">
-			<arg name="filename" type="symbol"/>
-			opens the specified file, taken from the current
-			directory.
-		</method>
-		<method name="open grid gzfile">
-			<arg name="filename" type="symbol"/>
-			same but for .grid.gz files
-		</method>
-		<method name="type int32">
-			output will be as 32 bit signed integers.
-		</method>
-		<method name="type uint8">
-			output will be as 8 bit unsigned integers.
-		</method>
-		<method name="headerful">
-			cancels "headerless" (and back to reading .grid)
-		</method>
-		<method name="headerless">
-			<rest name="dimensions" type="integer"/>
-			instead of reading .grid files with header, will read raw data,
-			faking a .grid header to itself. It will use the hereby specified
-			dimension list, as well as two other settings:
-			type and endian.
-		</method>
-
-		When writing "raw" data, a file may be considered a long string of
-		base 256 digits (called bytes), but different computers have different
-		conventions for dealing with them:
-
-		<method name="endian" type="symbol(big|endian|same)">
-			<list>big:
-			A number will be written starting with the biggest digit.
-			This is the natural way on the Macintosh, Sun, Amiga, and so on.
-			
-			little:
-			A number will be written starting with the smallest digit.
-			This is the natural way on the Intel 386/Pentium.
-			
-			same:
-			A number will be written in whichever way is more natural
-			on this computer. The natural way is slightly faster to handle.
-			This is the default setting.
-			
-			</list>
-		</method>
-		
-	</class>
-</section>
-
-	<class name="format quartz #out">
-		The equivalent of format x11 on MacOS 10.x, but with less features (sorry).
-		<method name="open">
-			opens a dim(240,320,3) rgb window (default).
-		</method>
-		<method name="grid">
-			<arg name="grid" type="grid(rows columns {red green blue})"/>
-			Sends image to screen. Window will be resized to fit the image exactly.
-		</method>
-	</class>
-
-	<class name="format sdl #out">
-		<method name="open">
-			Opens a dim(240,320,3) rgb window (default).
-		</method>
-		<method name="grid">
-			<arg name="grid" type="grid(rows columns {red green blue})"/>
-			Sends image to screen. Window will be resized to fit the image exactly.
-		</method>
-	</class>
-
 	<class name="format aalib #out">
 		<method name="open aalib">
 			<arg name="driver">



More information about the Gridflow-cvs mailing list