aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas O Fredericks <mrtof@users.sourceforge.net>2010-05-12 19:44:04 +0000
committerThomas O Fredericks <mrtof@users.sourceforge.net>2010-05-12 19:44:04 +0000
commit3767b3a53a8f0dc410f097a521a9cd7dbe3783a1 (patch)
treea5f111f226ab57974c820b8f6aec2b49e0fdb55a
parentf6f29377728c80d1e1c72fdc3f9a113712d737f6 (diff)
Update Makefile so it copies gifs needed by my help files
svn path=/trunk/externals/tof/; revision=13516
-rw-r--r--help/homea.gif (renamed from test/homea.gif)bin2315 -> 2315 bytes
-rw-r--r--help/homeb.gif (renamed from test/homeb.gif)bin2336 -> 2336 bytes
-rw-r--r--help/imagebang-help.pd48
-rw-r--r--help/panda.gif (renamed from test/panda.gif)bin25576 -> 25576 bytes
-rw-r--r--help/pandb.gif (renamed from test/pandb.gif)bin20679 -> 20679 bytes
-rw-r--r--help/pmenu-help.pd (renamed from test/pmenu-help.pd)42
-rw-r--r--src/imagebang.c (renamed from test/imagebang.c)0
-rw-r--r--src/pmenu.c (renamed from test/pmenu.c)0
-rw-r--r--src/pmenu_w.h (renamed from test/pmenu_w.h)0
-rw-r--r--test/imagebang-help.pd49
10 files changed, 69 insertions, 70 deletions
diff --git a/test/homea.gif b/help/homea.gif
index c216f13..c216f13 100644
--- a/test/homea.gif
+++ b/help/homea.gif
Binary files differ
diff --git a/test/homeb.gif b/help/homeb.gif
index be83f9d..be83f9d 100644
--- a/test/homeb.gif
+++ b/help/homeb.gif
Binary files differ
diff --git a/help/imagebang-help.pd b/help/imagebang-help.pd
new file mode 100644
index 0000000..2025814
--- /dev/null
+++ b/help/imagebang-help.pd
@@ -0,0 +1,48 @@
+#N canvas 285 54 658 621 10;
+#X obj 45 338 print;
+#X obj 45 152 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
+-1;
+#X text 27 49 [imagebang] only works with gifs;
+#X text 314 97 Arguments:;
+#X text 253 277 <- This [imagebang] was created with the following:
+;
+#X obj 286 341 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
+-1 -1;
+#X obj 285 362 s \$0pandar;
+#X obj 365 333 r \$0pandas;
+#X obj 366 361 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
+-1 -1;
+#X obj 42 411 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
+-1;
+#X obj 42 502 print;
+#X obj 192 416 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
+-1 -1;
+#X obj 192 389 r \$0homes;
+#X obj 122 394 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
+-1 -1;
+#X obj 123 416 s \$0homer;
+#X text 112 458 <- This [imagebang] was created with the following:
+;
+#X text 258 299 [tof/imagebang panda.gif pandb.gif \$0pandas \$0pandar]
+;
+#X text 118 480 [tof/imagebang homea.gif homeb.gif \$0homes \$0homer]
+;
+#X text 28 69 based on [image] by ggee and moonlib;
+#X obj 45 177 tof/imagebang panda.gif pandb.gif \$0pandas \$0pandar
+;
+#X obj 42 436 tof/imagebang homea.gif homeb.gif \$0homes \$0homer;
+#X text 26 3 Description: a bang with an image;
+#X text 27 17 Tags: ui;
+#X text 351 116 1) image for the normal state (required);
+#X text 350 133 2) image for the clicked state (required);
+#X text 350 149 3) send name (optionnal);
+#X text 351 165 4) receive name (optionnal);
+#X text 27 31 Contact: mrtoftrash@gmail.com;
+#X connect 1 0 19 0;
+#X connect 5 0 6 0;
+#X connect 7 0 8 0;
+#X connect 9 0 20 0;
+#X connect 12 0 11 0;
+#X connect 13 0 14 0;
+#X connect 19 0 0 0;
+#X connect 20 0 10 0;
diff --git a/test/panda.gif b/help/panda.gif
index 17f52e2..17f52e2 100644
--- a/test/panda.gif
+++ b/help/panda.gif
Binary files differ
diff --git a/test/pandb.gif b/help/pandb.gif
index 2a0ee9b..2a0ee9b 100644
--- a/test/pandb.gif
+++ b/help/pandb.gif
Binary files differ
diff --git a/test/pmenu-help.pd b/help/pmenu-help.pd
index 323ca23..2c28f38 100644
--- a/test/pmenu-help.pd
+++ b/help/pmenu-help.pd
@@ -1,4 +1,4 @@
-#N canvas 120 25 756 631 10;
+#N canvas 1074 57 756 631 10;
#X obj 221 187 key;
#X msg 126 222 clear;
#X obj 221 213 sel 65;
@@ -11,8 +11,6 @@
#X obj 265 417 r \$0pmenu;
#X obj 332 422 bng 15 250 50 0 \$0pmenu empty empty 17 7 0 10 -262144
-1 -1;
-#X text 353 420 <- you can pop the menu from any gui by sending a bang
-to \$0pemenu;
#X msg 291 320 -1;
#X msg 224 287 colors green purple grey;
#X obj 45 459 tof/pmenu 1 1 black white red;
@@ -26,10 +24,8 @@ colors (#ffffff);
pops. On (1) by default.;
#X text 296 476 1: display the indicator (the little bullet next to
item that was last selected). On (1) by default.;
-#X obj 38 18 cnv 15 400 30 empty empty empty 20 12 0 14 -261234 -66577
+#X obj 37 18 cnv 15 400 30 empty empty empty 20 12 0 14 -261234 -66577
0;
-#X text 40 31 tags: ui;
-#X text 38 18 description: pops a menu;
#X obj 300 458 cnv 15 400 15 empty empty empty 20 12 0 14 -257985 -66577
0;
#X text 303 456 Creation arguments:;
@@ -48,19 +44,23 @@ this case.;
#X text 346 370 Select an item by name and output it;
#X text 320 349 Select an item by name without outputing it;
#X text 85 501 Output: index name;
+#X text 354 420 <- you can pop the menu from any gui by sending a bang
+to \$0pmenu (because a receive is associated to it);
+#X text 38 18 Description: pops a menu;
+#X text 40 31 Tags: ui;
#X connect 0 0 2 0;
-#X connect 1 0 14 0;
-#X connect 2 0 14 0;
-#X connect 4 0 14 0;
-#X connect 6 0 14 0;
-#X connect 7 0 14 0;
-#X connect 9 0 14 0;
-#X connect 12 0 14 0;
-#X connect 13 0 14 0;
-#X connect 14 0 5 0;
-#X connect 27 0 14 0;
-#X connect 28 0 27 0;
-#X connect 29 0 28 0;
-#X connect 31 0 14 0;
-#X connect 35 0 14 0;
-#X connect 36 0 14 0;
+#X connect 1 0 13 0;
+#X connect 2 0 13 0;
+#X connect 4 0 13 0;
+#X connect 6 0 13 0;
+#X connect 7 0 13 0;
+#X connect 9 0 13 0;
+#X connect 11 0 13 0;
+#X connect 12 0 13 0;
+#X connect 13 0 5 0;
+#X connect 24 0 13 0;
+#X connect 25 0 24 0;
+#X connect 26 0 25 0;
+#X connect 28 0 13 0;
+#X connect 32 0 13 0;
+#X connect 33 0 13 0;
diff --git a/test/imagebang.c b/src/imagebang.c
index b140cfe..b140cfe 100644
--- a/test/imagebang.c
+++ b/src/imagebang.c
diff --git a/test/pmenu.c b/src/pmenu.c
index 458a0b6..458a0b6 100644
--- a/test/pmenu.c
+++ b/src/pmenu.c
diff --git a/test/pmenu_w.h b/src/pmenu_w.h
index b1ff496..b1ff496 100644
--- a/test/pmenu_w.h
+++ b/src/pmenu_w.h
diff --git a/test/imagebang-help.pd b/test/imagebang-help.pd
deleted file mode 100644
index 30341ef..0000000
--- a/test/imagebang-help.pd
+++ /dev/null
@@ -1,49 +0,0 @@
-#N canvas 162 41 658 621 10;
-#X obj 45 338 print;
-#X text 27 17 tags: ui;
-#X text 26 3 description: a bang with an image;
-#X obj 45 152 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
--1;
-#X text 27 49 [imagebang] only works with gifs;
-#X text 351 116 1) image for the normal state;
-#X text 350 133 2) image for the clicked state;
-#X text 350 150 3) send name;
-#X text 351 165 4) receive name;
-#X text 327 192 The first two arguments are required.;
-#X text 314 97 Arguments:;
-#X obj 45 177 tof/imagebang panda.gif pandb.gif \$0pandas \$0pandar
-;
-#X text 253 277 <- This [imagebang] was created with the following:
-;
-#X obj 204 129 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
--1 -1;
-#X obj 203 150 s \$0pandar;
-#X obj 209 338 r \$0pandas;
-#X obj 212 364 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
--1 -1;
-#X obj 42 436 tof/imagebang homea.gif homeb.gif \$0homes \$0homer;
-#X obj 42 411 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
--1;
-#X obj 42 502 print;
-#X obj 48 559 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
--1;
-#X obj 47 532 r \$0homes;
-#X obj 122 408 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
--1 -1;
-#X obj 121 429 s \$0homer;
-#X text 112 458 <- This [imagebang] was created with the following:
-;
-#X text 258 299 [tof/imagebang panda.gif pandb.gif \$0pandas \$0pandar]
-;
-#X text 118 480 [tof/imagebang homea.gif homeb.gif \$0homes \$0homer]
-;
-#X text 27 31 contact: mrtoftrash@gmail.com;
-#X text 28 69 based on [image] by ggee and moonlib;
-#X connect 3 0 11 0;
-#X connect 11 0 0 0;
-#X connect 13 0 14 0;
-#X connect 15 0 16 0;
-#X connect 17 0 19 0;
-#X connect 18 0 17 0;
-#X connect 21 0 20 0;
-#X connect 22 0 23 0;