From 15b30fe20b401d079c2b3c6a8e77eee827813de3 Mon Sep 17 00:00:00 2001 From: Travis CI Date: Tue, 17 Mar 2015 22:54:19 +0000 Subject: Gem 096ed6ef786b7a9d6e11a437ff8526619c89a1fd osx/x86_64 built 'master:096ed6ef786b7a9d6e11a437ff8526619c89a1fd' for osx/x86_64 --- .../14.multiple_windows/01.basic_example.pd | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 Gem/examples/14.multiple_windows/01.basic_example.pd (limited to 'Gem/examples/14.multiple_windows/01.basic_example.pd') diff --git a/Gem/examples/14.multiple_windows/01.basic_example.pd b/Gem/examples/14.multiple_windows/01.basic_example.pd new file mode 100644 index 0000000..078ca67 --- /dev/null +++ b/Gem/examples/14.multiple_windows/01.basic_example.pd @@ -0,0 +1,29 @@ +#N canvas 602 711 828 296 10; +#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 158 b; +#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 diffenrents +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 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 12 0; +#X connect 8 0 6 0; +#X connect 8 0 7 0; +#X connect 9 0 8 0; +#X connect 14 0 2 0; -- cgit v1.2.1