aboutsummaryrefslogtreecommitdiff
path: root/Gem/examples/14.multiple_windows/01.basic_example.pd
blob: 7e9f8d7c54bb65a14e0ebe9fce034891106570b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#N canvas 60 711 828 296 10;
#X declare -lib Gem;
#X obj 88 241 gemwin 20 a;
#X obj 295 79 square;
#X obj 295 49 color 1 0 0 1;
#X obj 94 77 square;
#X obj 94 47 color 0 0 1 1;
#X obj 94 25 gemhead a;
#X msg 88 199 title a \, create \, 1;
#X msg 268 199 title b \, create \, 1;
#X obj 223 138 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X text 240 136 create window;
#X text 405 85 You can have multiple window and display different things
on each.;
#X obj 268 241 gemwin 20 b;
#X text 405 119 Basically \, use [gemwin fps context_name] to create
a named context then use [gemhead context_name] to render to this context
only.;
#X obj 295 27 gemhead b;
#X obj 710 6 declare -lib Gem;
#X obj 223 158 t b b;
#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;