From 09f42b21764953749f83accbf01948bc4b318577 Mon Sep 17 00:00:00 2001 From: Thomas O Fredericks Date: Wed, 4 Nov 2009 13:28:43 +0000 Subject: Added menubutton svn path=/trunk/externals/tof/; revision=12722 --- help/OSCToParam-help.pd | 4 ++-- help/menubutton-help.pd | 63 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+), 2 deletions(-) create mode 100644 help/menubutton-help.pd (limited to 'help') diff --git a/help/OSCToParam-help.pd b/help/OSCToParam-help.pd index 104218a..7084eec 100644 --- a/help/OSCToParam-help.pd +++ b/help/OSCToParam-help.pd @@ -6,6 +6,6 @@ #X text -3 -54 description: forwards all incomming OSC messages to matching params.; #X text -3 -20 tags: routing param OSC; -#X text 137 72 All OSC messages received on port 3475 will be forwarded -to matching children params.; #X obj -3 81 tof/OSCToParam 3475; +#X text 137 72 All OSC messages received on port 3475 will be forwarded +to matching params.; diff --git a/help/menubutton-help.pd b/help/menubutton-help.pd new file mode 100644 index 0000000..6566476 --- /dev/null +++ b/help/menubutton-help.pd @@ -0,0 +1,63 @@ +#N canvas 1323 101 834 600 10; +#X obj 55 365 tof/menubutton 124 25 empty empty 1 #000000 #ffffff #ff0000 +#3a12ff a b c d e f; +#X msg 92 55 add a b c d e f; +#X msg 52 11 clear; +#X msg 142 124 saveitems \$1; +#X obj 142 96 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 +1; +#X floatatom 208 509 5 0 0 0 - - -; +#X text 95 10 Clear menu items; +#X text 196 53 Add menu items; +#X obj 59 477 r \$0s; +#X obj 208 538 send \$0r; +#X text 188 368 [tof/menubutton] creation arguments:; +#X text 415 373 1: width; +#X text 415 387 2: height; +#X text 415 400 3: send name; +#X text 415 412 4: receive name; +#X text 168 94 Set the saving of the menu items in the patch. Off by +default.; +#X text 313 324 To move the menubutton \, switch to edit mode and draw +a selection rectangle around it. A blue handle will appear. Drag this +handle to move the menubutton.; +#X floatatom 264 243 5 0 0 0 - - -; +#X obj 54 405 unpack f s; +#X floatatom 54 428 5 0 0 0 - - -; +#X symbolatom 113 426 10 0 0 0 - - -; +#X floatatom 59 544 5 0 0 0 - - -; +#X symbolatom 116 542 10 0 0 0 - - -; +#X obj 59 513 unpack f s; +#X text 304 242 Select and output a menu item; +#X msg 289 268 set b; +#X text 338 270 Select an item without outputing it; +#X msg 308 292 set 2; +#X text 459 174 values can be tk colors(red \, blue \, etc) or html +colors (#ffffff); +#X msg 260 215 colors default; +#X text 199 147 colors: background foreground highlight contour; +#X text 415 422 5: save menu items; +#X text 414 434 6: background color; +#X text 414 447 7: foreground color; +#X text 414 458 8: highlight color; +#X text 413 480 10+: menu items; +#X text 415 469 9: contour color; +#X msg 202 170 colors green red orange purple; +#X msg 222 195 colors #000000 #ffffff #ff0000 #3a12ff; +#X connect 0 0 18 0; +#X connect 1 0 0 0; +#X connect 2 0 0 0; +#X connect 3 0 0 0; +#X connect 4 0 3 0; +#X connect 5 0 9 0; +#X connect 8 0 23 0; +#X connect 17 0 0 0; +#X connect 18 0 19 0; +#X connect 18 1 20 0; +#X connect 23 0 21 0; +#X connect 23 1 22 0; +#X connect 25 0 0 0; +#X connect 27 0 0 0; +#X connect 29 0 0 0; +#X connect 37 0 0 0; +#X connect 38 0 0 0; -- cgit v1.2.1