#N canvas 501 22 632 642 10; #X obj 0 0 doc_h; #X obj 3 207 doc_c; #X obj 0 737 doc_f; #X obj 3 247 doc_i 1; #X obj 14 277 doc_ii 0; #X obj 97 277 doc_m i0 grid; #X text 232 277 with [#out] \, displays a frame; #X obj 97 321 doc_m i0 setcursor; #X text 232 343 enable mouse cursor; #X text 232 321 \$1 = float (ignored... mostly for x11 compatibility) ; #X text 232 299 disable mouse cursor; #X text 139 45 multi-platform \, single window video output; #X obj 97 299 doc_m i0 hidecursor; #X obj 3 375 doc_o 1; #X obj 14 405 doc_oo 0; #X obj 97 405 doc_m o0 grid; #X text 232 405 grid(rows columns rgb); #X obj 97 501 doc_m o0 keypress; #X obj 97 558 doc_m o0 keyrelease; #X obj 3 717 doc_also; #X obj 97 602 doc_m o0 position; #X text 232 580 See [#io.x11] for more info.; #X text 232 558 Same as keypress but when a key gets released instead. ; #X text 232 536 See [#io.x11] for more info.; #X text 232 501 This is emitted when a keyboard key is pressed while SDL window is active.; #X text 232 427 Resizes the window to the size of the grid \; Encodes that grid in the display's pixel format \; Also displays it if autodraw is greater than 0 \; The values must be in range 0-255 \, or else they will be "wrapped".; #X text 232 685 See [#io.x11] for more info.; #X text 232 624 This is emitted every time the cursor moves inside the SDL window. This is also emitted when the cursor is dragging from inside to outside the window. However \, button press/release handling is not supported.; #X text 232 602 \$1=y \, \$2=x \, \$3=DOESN'T WORK WITH SDL; #X obj 76 46 #out sdl; #X obj 103 717 doc_link #io.quartz; #X obj 193 717 doc_link #io.x11; #X obj 3 79 doc_section Special; #X text 24 108 GridFlow SDL windows have a fullscreen mode that may be toggled by pressing f \, Escape or F11. The feature is part of SDL (and so can change video modes the way SDL does it) but the shortcuts are GridFlow's (though those keys were chosen to fit with the habits developed in FireFox \, Flashplayer \, MPlayer \, GNOME \, etc.); #X connect 5 1 6 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 25 0; #X connect 17 1 24 0; #X connect 17 1 23 0; #X connect 18 1 22 0; #X connect 18 1 21 0; #X connect 19 1 30 0; #X connect 19 1 31 0; #X connect 20 1 28 0; #X connect 20 1 27 0; #X connect 20 1 26 0;