#N canvas 80 333 557 558 10;
#X declare -lib Gem;
#X obj 35 170 gemwin 20 a;
#X obj 296 268 square;
#X obj 296 238 color 1 0 0 1;
#X obj 35 272 square;
#X obj 35 242 color 0 0 1 1;
#X obj 35 220 gemhead a;
#X msg 35 139 title a \, create \, 1;
#X msg 296 139 title b \, create \, 1;
#X obj 35 93 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000;
#X text 52 91 create window;
#X text 32 9 You can have multiple window and display different things on each.;
#X obj 296 170 gemwin 20 b;
#X text 32 43 Basically \, use [gemwin fps context_name] to create a named context then use [gemhead context_name] to render to this context only.;
#X obj 296 216 gemhead b;
#X obj 432 11 declare -lib Gem;
#X obj 35 113 t b b, f 44;
#X floatatom 33 392 5 0 0 0 - - - 0;
#X floatatom 33 441 5 0 0 0 - - - 0;
#X obj 33 498 list append;
#X listbox 33 521 20 0 0 0 - - - 0;
#X floatatom 68 393 5 0 0 0 - - - 0;
#X floatatom 295 393 5 0 0 0 - - - 0;
#X floatatom 330 394 5 0 0 0 - - - 0;
#X obj 33 369 gemmouse a 1 1, f 24;
#A saved init;
#X obj 295 370 gemmouse b, f 24;
#A saved init;
#X obj 33 418 gemkeyboard a;
#X obj 33 475 gemkeyname a;
#X floatatom 294 442 5 0 0 0 - - - 0;
#X obj 293 492 list append;
#X listbox 293 515 20 0 0 0 - - - 0;
#X obj 294 419 gemkeyboard b;
#X obj 293 469 gemkeyname b;
#X text 35 320 Also \, use [gemmouse context_name] \, [gemkeyboard context_name] and [gemkeyname context_name]:, f 62;
#X connect 2 0 1 0;
#X connect 4 0 3 0;
#X connect 5 0 4 0;
#X connect 6 0 0 0;
#X connect 7 0 11 0;
#X connect 8 0 15 0;
#X connect 13 0 2 0;
#X connect 15 0 6 0;
#X connect 15 1 7 0;
#X connect 18 0 19 0;
#X connect 23 0 16 0;
#X connect 23 1 20 0;
#X connect 24 0 21 0;
#X connect 24 1 22 0;
#X connect 25 0 17 0;
#X connect 26 0 18 0;
#X connect 26 1 18 1;
#X connect 28 0 29 0;
#X connect 30 0 27 0;
#X connect 31 0 28 0;
#X connect 31 1 28 1;
