From ff18f0335026ada7cfa2710c5fa9c8eec386bd52 Mon Sep 17 00:00:00 2001 From: Jonathan Wilkes Date: Tue, 4 Oct 2011 02:59:53 +0000 Subject: Added META subpatch svn path=/trunk/externals/tof/; revision=15493 --- tof/menubutton-help.pd | 49 ++++++++++++++++++++++++++++++------------------- 1 file changed, 30 insertions(+), 19 deletions(-) (limited to 'tof/menubutton-help.pd') diff --git a/tof/menubutton-help.pd b/tof/menubutton-help.pd index 05d464b..4760398 100644 --- a/tof/menubutton-help.pd +++ b/tof/menubutton-help.pd @@ -1,4 +1,4 @@ -#N canvas 1181 230 1012 664 10; +#N canvas 1 53 979 642 10; #X obj 26 538 tof/menubutton 132 22 \$0s \$0r 1 green red orange purple 0 \, a \, b \, c \, d \, e \, f \, with spaces; #X msg 43 66 add a b c d e f; @@ -11,10 +11,10 @@ #X text 147 64 Add menu items; #X obj 242 540 r \$0s; #X obj 392 589 send \$0r; -#X text 542 335 1: width; -#X text 542 349 2: height; -#X text 542 362 3: send name; -#X text 542 374 4: receive name; +#X text 542 315 1: width; +#X text 542 329 2: height; +#X text 542 342 3: send name; +#X text 542 354 4: receive name; #X text 139 130 Set the saving of the menu items in the patch. Off by default.; #X floatatom 188 303 5 0 0 0 - - -; @@ -39,23 +39,23 @@ colors (#ffffff); #X msg 186 421 align -1; #X msg 188 401 align 0; #X msg 187 380 align 1; -#X obj 542 244 cnv 15 400 60 empty empty empty 20 12 0 14 -4034 -66577 +#X obj 542 224 cnv 15 400 60 empty empty empty 20 12 0 14 -4034 -66577 0; -#X text 547 252 To move the [menubutton] \, switch to edit mode and +#X text 547 232 To move the [menubutton] \, switch to edit mode and draw a selection rectangle around it. The [menubutton] will temporarly be disabled allowing you to drag it.; -#X obj 540 315 cnv 15 400 15 empty empty empty 20 12 0 14 -257985 -66577 +#X obj 540 295 cnv 15 400 15 empty empty empty 20 12 0 14 -257985 -66577 0; -#X text 543 313 Creation arguments:; -#X text 542 385 5: save menu items flag; +#X text 543 293 Creation arguments:; +#X text 542 365 5: save menu items flag; #X msg 183 510 add \$1; #X obj 183 487 cyclone/tosymbol; -#X text 543 422 8: highlight color (#000000 html or tk colors); -#X text 543 411 7: foreground color (#000000 hmtl or tk colors); -#X text 541 398 6: background color (#000000 html or tk colors); -#X text 542 435 9: contour color (#000000 html or tk colors); -#X text 541 448 10: horizontal alignement; -#X text 537 463 \, : anything after a comma will be parsed as the menu +#X text 543 402 8: highlight color (#000000 html or tk colors); +#X text 543 391 7: foreground color (#000000 hmtl or tk colors); +#X text 541 378 6: background color (#000000 html or tk colors); +#X text 542 415 9: contour color (#000000 html or tk colors); +#X text 541 428 10: horizontal alignement; +#X text 537 443 \, : anything after a comma will be parsed as the menu items. Each menu item must be separated by a comma.; #X text 229 348 Select an item by index without outputing it; #X text 242 380 align right; @@ -68,14 +68,25 @@ items. Each menu item must be separated by a comma.; #X text 31 21 tags: ui; #X msg 183 464 with spaces; #X text 180 444 Adding items with spaces; -#X obj 540 541 cnv 15 400 30 empty empty empty 20 12 0 14 -232576 -66577 +#X obj 540 521 cnv 15 400 30 empty empty empty 20 12 0 14 -232576 -66577 0; -#X text 544 519 The [menubutton] at left was created with the following: +#X text 544 499 The [menubutton] at left was created with the following: ; -#X text 546 539 [tof/menubutton 132 22 \$0s \$0r 1 green red orange +#X text 546 519 [tof/menubutton 132 22 \$0s \$0r 1 green red orange purple 0 \, a \, b \, c \, d \, e \, f \, with spaces]; #X text 105 572 output: index name; #X text 235 325 Select an item by name without outputing it; +#N canvas 166 140 494 344 META 0; +#X text 12 125 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 45 LICENSE GPL v2; +#X text 12 105 AUTHOR Thomas Ouellet Fredericks; +#X text 12 5 KEYWORDS control GUI user_input; +#X text 12 25 DESCRIPTION a button with a popup menu; +#X text 12 65 INLET_0 float clear add size saveitems colors set align +; +#X text 12 85 OUTLET_0 list; +#X restore 921 581 pd META; #X connect 0 0 16 0; #X connect 1 0 0 0; #X connect 2 0 0 0; -- cgit v1.2.1