[Gridflow-cvs] [svn] commit: r6458 - /trunk/doc/flow_classes/#io.x11-help.pd

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Fri Dec 17 10:45:11 EST 2010


Author: matju
Date: Fri Dec 17 10:45:10 2010
New Revision: 6458

Log:
add query_pointer

Modified:
    trunk/doc/flow_classes/#io.x11-help.pd

Modified: trunk/doc/flow_classes/#io.x11-help.pd
==============================================================================
--- trunk/doc/flow_classes/#io.x11-help.pd (original)
+++ trunk/doc/flow_classes/#io.x11-help.pd Fri Dec 17 10:45:10 2010
@@ -34,7 +34,7 @@
 just like sending a grid dim(height \, width \, 3) would. this affects
 the size of screen captures too.;
 #X text 232 1212 This makes the cursor invisible.;
-#X obj 3 2486 doc_also;
+#X obj 3 2499 doc_also;
 #X text 141 227 Destroying the object (or sending "close") should close
 the window.;
 #X obj 35 65 #out x11;
@@ -44,35 +44,31 @@
 yourself \, but IIRC this could be fixed.;
 #X obj 14 1793 doc_oo 0;
 #X text 232 1998 \$1=y \$2=x \$3=buttons;
-#X text 232 2020 This is emitted every time the cursor moves inside
-the window connected to this format handler. This is also emitted when
-the cursor is dragging from inside to outside the window. This is also
-emitted when a mouse button is pressed.;
-#X text 232 2094 The y and x coordinates are relative to the upper
+#X text 232 2107 The y and x coordinates are relative to the upper
 right corner of the window. Specific button states may be extracted
 from the button value by applying [>> buttonnumber] and then checking
 whether the result is odd.;
-#X text 232 2155 0: Shift;
-#X text 232 2177 1: Caps Lock;
-#X text 232 2199 2: Control;
-#X text 232 2221 3: Alternate;
-#X text 232 2243 4: NumLock;
-#X text 232 2265 5: (unknown);
-#X text 232 2287 6: Meta or Window Key;
-#X text 232 2309 7: Scroll Lock;
-#X text 232 2331 8: Left Mouse Button;
-#X text 232 2353 9: Middle Mouse Button or Mouse Wheel Click;
-#X text 232 2375 10: Right Mouse Button;
-#X text 232 2397 11: Wheel Up;
-#X text 232 2419 12: Wheel Down;
-#X text 232 2441 NOTE: This message form may become longer in the future
+#X text 232 2168 0: Shift;
+#X text 232 2190 1: Caps Lock;
+#X text 232 2212 2: Control;
+#X text 232 2234 3: Alternate;
+#X text 232 2256 4: NumLock;
+#X text 232 2278 5: (unknown);
+#X text 232 2300 6: Meta or Window Key;
+#X text 232 2322 7: Scroll Lock;
+#X text 232 2344 8: Left Mouse Button;
+#X text 232 2366 9: Middle Mouse Button or Mouse Wheel Click;
+#X text 232 2388 10: Right Mouse Button;
+#X text 232 2410 11: Wheel Up;
+#X text 232 2432 12: Wheel Down;
+#X text 232 2454 NOTE: This message form may become longer in the future
 \, but the already defined parts will stay the same.;
 #X text 232 1793 \$1=y \$2=x \$3=buttons \$4=keyname;
 #X text 232 1928 \$1=y \$2=x \$3=buttons \$4=keyname;
 #X text 232 1950 Same as keypress but when a key gets released instead.
 NOTE: This message form may become longer in the future \, but the
 already defined parts will stay the same.;
-#X obj 0 2506 doc_f;
+#X obj 0 2519 doc_f;
 #X text 208 795 other syntax for 'remote'.;
 #X text 141 480 there is one last argument that may be added to every
 "open" message of [#in x11]. if you don't put it \, a new toplevel
@@ -102,17 +98,17 @@
 is greater than 0 \; The values must be in range 0-255 \, or else they
 will be "wrapped".;
 #X text 232 1240 move the window to the position \$1=y \$2=x;
-#X text 232 1326 does: out_size \$1 \$2 \, move \$3 \$4;
-#X text 232 1571 puts the symbol \$1 in the titlebar instead of the
+#X text 232 1361 does: out_size \$1 \$2 \, move \$3 \$4;
+#X text 232 1606 puts the symbol \$1 in the titlebar instead of the
 default GridFlow (240 \, 320 \, 3)" or similar). if title is an empty
 string \, the title goes back to the default mode of writing "GridFlow"
 and the window size.;
-#X text 232 1645 moves mouse cursor to location y=\$1 x=\$2. use sparingly.
+#X text 232 1667 moves mouse cursor to location y=\$1 x=\$2. use sparingly.
 ;
-#X text 232 1683 for future use.;
-#X text 232 1514 0: don't use explicit shared memory for sending to
+#X text 232 1689 for future use.;
+#X text 232 1549 0: don't use explicit shared memory for sending to
 the video card.;
-#X text 232 1549 1: use shared memory if available.;
+#X text 232 1584 1: use shared memory if available.;
 #X obj 97 1029 doc_m i0 border;
 #X text 232 1029 0: hide window border. this does not work in Apple
 X11. It may or may not work on Linux X11 (or other X11 servers) depending
@@ -124,83 +120,92 @@
 allows Alt+Button1 and Alt+Tab to affect that window \, which is not
 the case with override_redirect. Also \, border is different \, as
 this setting can be changed while the window exists.;
-#X obj 103 2486 #mouse;
-#X text 232 1383 Note that if your cursor table has them numbered from
+#X obj 103 2499 #mouse;
+#X text 232 1418 Note that if your cursor table has them numbered from
 0 to 154 using only even numbers \, then those cursor numbers are all
 doubled compared to the ones GridFlow uses.;
-#X text 232 1348 \$1=cursor_id. \$1=cursor_id. Selects one of the 77
+#X text 232 1383 \$1=cursor_id. \$1=cursor_id. Selects one of the 77
 predefined cursors of X11 \, from 0 to 76;
-#X text 232 1431 Note that out-of-range values are now rejected.;
-#X text 232 1453 On Linux \, the file /usr/include/X11/cursorfont.h
+#X text 232 1466 Note that out-of-range values are now rejected.;
+#X text 232 1488 On Linux \, the file /usr/include/X11/cursorfont.h
 contain a list of cursor names \, with doubled numbers \, but this
 file isn't always already installed. On Ubuntu \, this is in the package
 named "libx11-dev".;
-#X obj 151 2486 doc_link #io.quartz;
-#X obj 241 2486 doc_link #io.sdl;
+#X obj 151 2499 doc_link #io.quartz;
+#X obj 241 2499 doc_link #io.sdl;
 #X text 140 330 only one window may be used per x11 connection (to
 simplify matters \; this doesn't reduce flexibility).;
 #X obj 97 1998 doc_m o0 position;
 #X obj 97 886 doc_m i0 bang;
 #X obj 97 1278 doc_m i0 out_size;
-#X obj 97 1348 doc_m i0 setcursor;
+#X obj 97 1383 doc_m i0 setcursor;
 #X obj 97 1212 doc_m i0 hidecursor;
 #X obj 97 1793 doc_m o0 keypress;
 #X obj 97 1928 doc_m o0 keyrelease;
 #X obj 97 1240 doc_m i0 move;
-#X obj 97 1514 doc_m i0 shared_memory;
-#X obj 97 1683 doc_m i0 xvideo;
-#X obj 97 1571 doc_m i0 title;
-#X obj 97 1645 doc_m i0 warp;
-#X obj 97 1326 doc_m i0 set_geometry;
+#X obj 97 1549 doc_m i0 shared_memory;
+#X obj 97 1689 doc_m i0 xvideo;
+#X obj 97 1606 doc_m i0 title;
+#X obj 97 1667 doc_m i0 warp;
+#X obj 97 1361 doc_m i0 set_geometry;
 #X obj 3 1747 doc_o 1;
 #X obj 97 911 doc_m i0 grid;
 #X text 232 933 with [#out] \, displays a frame.;
 #X text 232 911 grid(rows columns rgb);
-#X obj 313 2486 doc_link #see;
-#X obj 367 2486 gf/mouse_spy;
-#X connect 19 1 63 0;
+#X obj 313 2499 doc_link #see;
+#X obj 367 2499 gf/mouse_spy;
+#X obj 97 1326 doc_m i0 query_pointer;
+#X text 232 1326 explicitly ask for a "position" message. It will be
+sent before this method returns.;
+#X text 232 2020 This is emitted every time the cursor moves inside
+the window connected to this format handler. This is also emitted when
+the cursor is dragging from inside to outside the window. This is also
+emitted when a mouse button is pressed. Finally \, this is emitted
+when receiving a query_pointer message.;
+#X connect 19 1 62 0;
+#X connect 19 1 67 0;
 #X connect 19 1 68 0;
-#X connect 19 1 69 0;
+#X connect 19 1 87 0;
 #X connect 19 1 88 0;
-#X connect 19 1 89 0;
-#X connect 59 1 60 0;
-#X connect 59 1 61 0;
-#X connect 59 1 62 0;
-#X connect 71 1 24 0;
-#X connect 71 1 25 0;
-#X connect 71 1 26 0;
-#X connect 71 1 27 0;
-#X connect 71 1 28 0;
-#X connect 71 1 29 0;
-#X connect 71 1 30 0;
-#X connect 71 1 31 0;
-#X connect 71 1 32 0;
-#X connect 71 1 33 0;
-#X connect 71 1 34 0;
-#X connect 71 1 35 0;
-#X connect 71 1 36 0;
-#X connect 71 1 37 0;
-#X connect 71 1 38 0;
-#X connect 71 1 39 0;
-#X connect 71 1 40 0;
-#X connect 72 1 16 0;
-#X connect 73 1 17 0;
-#X connect 74 1 65 0;
-#X connect 74 1 64 0;
-#X connect 74 1 66 0;
-#X connect 74 1 67 0;
-#X connect 75 1 18 0;
+#X connect 58 1 59 0;
+#X connect 58 1 60 0;
+#X connect 58 1 61 0;
+#X connect 70 1 24 0;
+#X connect 70 1 91 0;
+#X connect 70 1 25 0;
+#X connect 70 1 26 0;
+#X connect 70 1 27 0;
+#X connect 70 1 28 0;
+#X connect 70 1 29 0;
+#X connect 70 1 30 0;
+#X connect 70 1 31 0;
+#X connect 70 1 32 0;
+#X connect 70 1 33 0;
+#X connect 70 1 34 0;
+#X connect 70 1 35 0;
+#X connect 70 1 36 0;
+#X connect 70 1 37 0;
+#X connect 70 1 38 0;
+#X connect 70 1 39 0;
+#X connect 71 1 16 0;
+#X connect 72 1 17 0;
+#X connect 73 1 64 0;
+#X connect 73 1 63 0;
+#X connect 73 1 65 0;
+#X connect 73 1 66 0;
+#X connect 74 1 18 0;
+#X connect 75 1 40 0;
+#X connect 75 1 49 0;
 #X connect 76 1 41 0;
-#X connect 76 1 50 0;
-#X connect 77 1 42 0;
-#X connect 77 1 43 0;
-#X connect 78 1 52 0;
-#X connect 79 1 57 0;
-#X connect 79 1 58 0;
-#X connect 80 1 56 0;
+#X connect 76 1 42 0;
+#X connect 77 1 51 0;
+#X connect 78 1 56 0;
+#X connect 78 1 57 0;
+#X connect 79 1 55 0;
+#X connect 80 1 53 0;
 #X connect 81 1 54 0;
-#X connect 82 1 55 0;
-#X connect 83 1 53 0;
-#X connect 85 1 86 0;
-#X connect 85 1 51 0;
-#X connect 85 1 87 0;
+#X connect 82 1 52 0;
+#X connect 84 1 85 0;
+#X connect 84 1 50 0;
+#X connect 84 1 86 0;
+#X connect 89 1 90 0;



More information about the Gridflow-cvs mailing list